mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-08-08 16:41:57 +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.100-beta.6",
|
|
"title": "minecraft:use_animation",
|
|
"description": "Use_animation specifies which animation is played when the player uses the item.",
|
|
"oneOf": [
|
|
{
|
|
"title": "Animation",
|
|
"type": "string",
|
|
"enum": [
|
|
"none",
|
|
"eat",
|
|
"drink",
|
|
"block",
|
|
"bow",
|
|
"camera",
|
|
"crossbow",
|
|
"spear",
|
|
"spyglass",
|
|
"brush"
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"value": {
|
|
"title": "Animation",
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |