From b2f0f7eb8c1227a1a872d6ef8a89103da78a88f0 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Mon, 11 Oct 2021 20:13:19 +0200 Subject: [PATCH] Updated --- .../format/components/custom_hit_test.json | 23 ++++++++----------- source/resource/entity/1.10.0/entity.json | 3 ++- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/source/behavior/entities/format/components/custom_hit_test.json b/source/behavior/entities/format/components/custom_hit_test.json index cc36facf..ab269ecc 100644 --- a/source/behavior/entities/format/components/custom_hit_test.json +++ b/source/behavior/entities/format/components/custom_hit_test.json @@ -30,18 +30,9 @@ "title": "Pivot", "description": "The offset from the entity's anchor where the hitbox will spawn", "items": [ - { - "type": "number", - "title": "X" - }, - { - "type": "number", - "title": "Y" - }, - { - "type": "number", - "title": "Z" - } + { "type": "number", "title": "X" }, + { "type": "number", "title": "Y" }, + { "type": "number", "title": "Z" } ] } } @@ -50,7 +41,13 @@ }, "examples": [ { - "hitboxes": [] + "hitboxes": [ + { + "width": 1, + "height": 1, + "pivot": [0, 1, 0] + } + ] } ] } diff --git a/source/resource/entity/1.10.0/entity.json b/source/resource/entity/1.10.0/entity.json index f29c4fbb..afff97e9 100644 --- a/source/resource/entity/1.10.0/entity.json +++ b/source/resource/entity/1.10.0/entity.json @@ -216,7 +216,8 @@ "type": "string", "description": "The colors of the dots on the egg", "title": "Overlay Color", - "format": "color-hex" + "format": "color-hex", + "examples": ["#FFFFFF"] }, "texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" }, "texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 }