Skip to content

Commit

Permalink
Added snippet for animation controller
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Nov 17, 2020
1 parent d444e47 commit d3acaad
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions behaviour/animation_controllers/animation_controller.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
{
"$schema": "http:https://json-schema.org/draft-07/schema",
"$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": [
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
Expand Down

0 comments on commit d3acaad

Please sign in to comment.