From d3acaad5cb54e95ddd3748ac0fa82f8c7de510bc Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Tue, 17 Nov 2020 08:53:18 +0100 Subject: [PATCH] Added snippet for animation controller --- .../animation_controller.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/behaviour/animation_controllers/animation_controller.json b/behaviour/animation_controllers/animation_controller.json index 42b39953..8460c256 100644 --- a/behaviour/animation_controllers/animation_controller.json +++ b/behaviour/animation_controllers/animation_controller.json @@ -1,6 +1,22 @@ { "$schema": "http://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" } } },