Added snippet for animation controller
This commit is contained in:
@@ -1,6 +1,22 @@
|
|||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-07/schema",
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||||||
"$id": "blockception.minecraft.behaviour.animation_controller",
|
"$id": "blockception.minecraft.behaviour.animation_controller",
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"format_version": "1.10.0",
|
||||||
|
"animation_controllers": {
|
||||||
|
"controller.animation.example": {
|
||||||
|
"initial_state": "default",
|
||||||
|
"states": {
|
||||||
|
"default": {
|
||||||
|
"transitions": [{ "state_1": "query.is_baby" }]
|
||||||
|
},
|
||||||
|
"state_1": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||||
|
|||||||
Reference in New Issue
Block a user