{"title":"Animation Specification","description":"A single string that specifies which animation there are","type":"string"},
{
"type":"object",
"title":"Animation Specification",
"description":"A object specification on when to animate",
"maxProperties":1,
"minProperties":1,
"additionalProperties":{"$ref":"#/definitions/B"}
}
]
},
"A_particle_effect_spec":{
"additionalProperties":false,
"type":"object",
"required":["effect"],
"properties":{
"bind_to_actor":{
"type":"boolean",
"title":"Bind To Actor",
"description":"Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor)."
},
"effect":{"type":"string","title":"Effect","description":"The name of a particle effect that should be played"},
"locator":{"type":"string","title":"Locator","description":"The name of a locator on the actor where the effect should be located"},
"pre_effect_script":{"type":"string","title":"Pre Effect Script","description":"A molang script that will be run when the particle emitter is initialized"}
"description":"The state to start with, if not specified state at position 0 in the array is used",
"type":"string",
"examples":["default"]
}
}
}
}
}
},
"C_animationspec":{
"anyOf":[
{"title":"Animation Specification","description":"A single string that specifies which animation there are","type":"string"},
{
"type":"object",
"title":"Animation Specification",
"description":"A object specification on how to transition",
"maxProperties":1,
"minProperties":1,
"additionalProperties":{"$ref":"#/definitions/B"}
}
]
},
"C_particle_effect_spec":{
"additionalProperties":false,
"type":"object",
"required":["effect"],
"properties":{
"bind_to_actor":{
"type":"boolean",
"title":"Bind To Actor",
"description":"Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor)."
},
"effect":{"type":"string","title":"Effect","description":"The name of a particle effect that should be played"},
"locator":{"type":"string","title":"Locator","description":"The name of a locator on the actor where the effect should be located"},
"pre_effect_script":{"type":"string","title":"Pre Effect Script","description":"A molang script that will be run when the particle emitter is initialized"}
"description":"A single animation controller 1.10.0",
"required":["states"],
"minProperties":1,
"properties":{
"states":{
"title":"States",
"description":"The states of this animation controller",
"propertyNames":{"pattern":"[a-z\\.]+"},
"minProperties":1,
"additionalProperties":{
"additionalProperties":false,
"title":"Animation State",
"description":"Animation state",
"type":"object",
"properties":{
"animations":{
"title":"Animations",
"description":"The animations definition for 1.10.0",
"type":"array",
"items":{
"$ref":"#/definitions/C_animationspec",
"description":"The key definition of an animation to play, defined in the entity",
"title":"Animations"
}
},
"on_entry":{
"type":"array",
"description":"Events, commands or transitions to preform on entry of this state",
"title":"On Entry",
"items":{"$ref":"#/definitions/C_commands"}
},
"on_exit":{
"type":"array",
"description":"Events, commands or transitions to preform on exit of this state",
"title":"On Exit",
"items":{"$ref":"#/definitions/C_commands"}
},
"transitions":{
"title":"Transition",
"description":"The transition definition for 1.10.0",
"minProperties":1,
"type":"array",
"items":{
"title":"Transitions",
"description":"A object specification on how to transition",
"type":"object",
"maxProperties":1,
"minProperties":1,
"additionalProperties":{"$ref":"#/definitions/B"}
}
}
}
}
},
"initial_state":{"type":"string","description":"The state to start with, if not specified state at position 0 in the array is used","title":"Initial State"}
}
}
}
}
},
"D":{
"title":"Format version",
"description":"A version that tells minecraft what type of data format can be expected when reading this file.",