Minecraft-bedrock-json-schemas icon indicating copy to clipboard operation
Minecraft-bedrock-json-schemas copied to clipboard

minecraft:icon component autocomplete error

Open Ctufte08 opened this issue 1 year ago • 1 comments

When using the autocomplete format for the minecraft:icon component on items it gives you the wrong format for the component. Autocomplete format:

"minecraft:icon": {
				"textures": {
					"default": "stick"
				}
			}

That format does not work and just gives the item no texture. This format that I found does work:

"minecraft:icon": {
    "texture": "stick"
}

Minecraft Bedrock Version: 1.20.73 Extension Version: 7.0.42 File format version: 1.20.50

Ctufte08 avatar Apr 21 '24 00:04 Ctufte08

Blockception only supports the latest format. The "incorrect one" actually works from 1.20.70+. You are recommended to update your files accordingly or ignore the schema error.

Xterionix avatar Apr 24 '24 14:04 Xterionix

Thoughts? @DaanV2

Xterionix avatar May 11 '24 09:05 Xterionix

Tested this in 1.20.81 and this worked for me:

"minecraft:icon": {
    "textures": {
        "default": "stick"
    }
}

Anything else didn't work for me, or Minecraft threw errors. Im closing this for now as works as intentend

DaanV2 avatar May 11 '24 09:05 DaanV2

Found that the following also still works:

"minecraft:icon": "stick",

DaanV2 avatar May 11 '24 09:05 DaanV2