From 8773fdbb6c4b3f8fc2a4d8cad5f0f2075e248008 Mon Sep 17 00:00:00 2001 From: Xterionix <72647213+Xterionix@users.noreply.github.com> Date: Sat, 23 Mar 2024 22:19:09 +0500 Subject: [PATCH] - Fix icon for 1.20.70 --- .../items/format/components/icon.json | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/source/behavior/items/format/components/icon.json b/source/behavior/items/format/components/icon.json index f21af5fa..0cf4cc7c 100644 --- a/source/behavior/items/format/components/icon.json +++ b/source/behavior/items/format/components/icon.json @@ -6,13 +6,21 @@ "additionalProperties": true, "required": ["default"], "properties": { - "default": { - "type": "string", - "title": "Default Texture", - "description": "The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder." + "textures": { + "title": "Textures", + "description": "Contains key-value pairs of textures used by the item", + "type": "object", + "additionalProperties": true, + "properties": { + "default": { + "type": "string", + "title": "Default Texture", + "description": "The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder." + } + } } }, "examples": [ - {"default": "stick"} + {"textures": {"default": "stick"}} ] -} +} \ No newline at end of file