From 6379035e52c8eac363e6b6a042b6341d47ce2cc7 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Tue, 19 Oct 2021 13:48:32 +0200 Subject: [PATCH] Added animations examples --- source/resource/entity/1.10.0/entity.json | 3 ++- source/resource/entity/1.8.0/entity.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/source/resource/entity/1.10.0/entity.json b/source/resource/entity/1.10.0/entity.json index afff97e9..8766a7e4 100644 --- a/source/resource/entity/1.10.0/entity.json +++ b/source/resource/entity/1.10.0/entity.json @@ -31,11 +31,12 @@ "description": "These names are used by the animation controller JSON. Players can reference animations from the vanilla Minecraft Resource Pack or create their own. Custom animations should be in the animation folder at the root of the Resource Pack.", "type": "object", "minProperties": 1, + "examples": [{ "basic": "controller.generic.basic" }], "additionalProperties": { "type": "string", "description": "These names are used by the animation controller JSON. Players can reference animations from the vanilla Minecraft Resource Pack or create their own. Custom animations should be in the animation folder at the root of the Resource Pack.", "title": "Animation Reference", - "examples": [{ "basic": "controller.generic.basic" }] + "examples": ["controller.", "animation."] } }, "enable_attachables": { "type": "boolean", "description": "Whether or not attachables are enaboled", "title": "Enable Attachables" }, diff --git a/source/resource/entity/1.8.0/entity.json b/source/resource/entity/1.8.0/entity.json index 94a36ff9..69e49bbc 100644 --- a/source/resource/entity/1.8.0/entity.json +++ b/source/resource/entity/1.8.0/entity.json @@ -31,11 +31,12 @@ "description": "These names are used by the animation controller JSON. Players can reference animations from the vanilla Minecraft Resource Pack or create their own. Custom animations should be in the animation folder at the root of the Resource Pack.", "type": "object", "minProperties": 1, + "examples": [{ "basic": "controller.generic.basic" }], "additionalProperties": { "type": "string", "description": "These names are used by the animation controller JSON. Players can reference animations from the vanilla Minecraft Resource Pack or create their own. Custom animations should be in the animation folder at the root of the Resource Pack.", "title": "Animation Reference", - "examples": [{ "basic": "controller.generic.basic" }] + "examples": ["controller.", "animation."] } }, "animation_controllers": {