mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-07-23 11:01:46 +00:00
48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "3246981949",
|
|
"x-format-version": "1.20.50",
|
|
"x-minecraft-version": "1.21.90-beta.3",
|
|
"title": "minecraft:use_animation",
|
|
"description": "Use_animation specifies which animation is played when the player uses the item.",
|
|
"oneOf": [
|
|
{
|
|
"title": "enum SharedTypes::Legacy::UseAnimation",
|
|
"type": "string",
|
|
"enum": [
|
|
"none",
|
|
"eat",
|
|
"drink",
|
|
"block",
|
|
"bow",
|
|
"camera",
|
|
"crossbow",
|
|
"spear",
|
|
"spyglass",
|
|
"brush"
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"value": {
|
|
"title": "enum SharedTypes::Legacy::UseAnimation",
|
|
"description": "Specifies which animation to play when the the item is used.",
|
|
"type": "string",
|
|
"enum": [
|
|
"none",
|
|
"eat",
|
|
"drink",
|
|
"block",
|
|
"bow",
|
|
"camera",
|
|
"crossbow",
|
|
"spear",
|
|
"spyglass",
|
|
"brush"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |