From b6a091a913ba3d06f1a5e0349d23824f6839fe1e Mon Sep 17 00:00:00 2001 From: Xterionix <72647213+Xterionix@users.noreply.github.com> Date: Sat, 16 Mar 2024 01:02:41 +0500 Subject: [PATCH] - Update icon to match 1.20.60+ (#222) --- source/behavior/items/format/components/icon.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source/behavior/items/format/components/icon.json b/source/behavior/items/format/components/icon.json index f6c1a383..f21af5fa 100644 --- a/source/behavior/items/format/components/icon.json +++ b/source/behavior/items/format/components/icon.json @@ -3,17 +3,16 @@ "title": "Icon", "description": "The icon item componenent determines the icon to represent the item in the UI and elsewhere.", "type": "object", - "additionalProperties": false, - "required": ["texture"], + "additionalProperties": true, + "required": ["default"], "properties": { - "legacy_id": { "type": "string", "title": "Texture", "description": "Legacy texture id for older item icons." }, - "texture": { + "default": { "type": "string", - "title": "Texture", + "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": [ - {"texture": "stick"} + {"default": "stick"} ] }