#single item multiple skins
1 messages · Page 1 of 1 (latest)
I thought it's only possible through scripts
You can’t modify item icons using scripting.
Skin Id maybe?
no
That’s for entities and it’s read-only
I saw one addon using it
"bow12_show": "q.get_equipped_item_name(0) == 'bow12' && q.skin_id == 6"
That’s molang…
But using it for item skin
That’s still not ScriptAPI
for (const player of world.getPlayers()) { let item = player.getComponent("inventory").container.getItem(player.selectedSlot) if (item){ let lore = item.getLore() if(item.getLore()[0].split("\n")[0].includes("Skin 1")){ player.runCommand(`event entity @s skin_1`); } if(item.getLore()[0].split("\n")[0].includes("Skin 2")){ player.runCommand(`event entity @s skin_2`); } if(item.getLore()[0].split("\n")[0].includes("Skin 3")){ player.runCommand(`event entity @s skin_3`); } if(item.getLore()[0].split("\n")[0].includes("Skin 4")){ player.runCommand(`event entity @s skin_4`); } if(item.getLore()[0].split("\n")[0].includes("Skin 5")){ player.runCommand(`event entity @s skin_5`); } if(item.getLore()[0].split("\n")[0].includes("Skin 6")){ player.runCommand(`event entity @s skin_6`); } if(item.getLore()[0].split("\n")[0].includes("Skin 7")){ player.runCommand(`event entity @s skin_7`); } if(item.getLore()[0].split("\n")[0].includes("Skin 8")){ player.runCommand(`event entity @s skin_8`); } if(item.getLore()[0].split("\n")[0].includes("Skin 0")){ player.runCommand(`event entity @s skin_0`); } }
That’s still entities
But used in scripts ;
You’re just running an entity event
You still have to modify the entity