Hey.
I want to make a custom emerald armor set that is craftable. The problem is that i dont know how to make it craft a green dyed armor instead of just normal leather armor.
I tried doing something like this but it says it cant change the event item.
I want to make a custom emerald armor set that is craftable. The problem is that i dont know how to make it craft a green dyed armor instead of just normal leather armor.
Code:
on load:
register new shapeless recipe for green color leather helmet named "&2&lEmerald Hjelm" using Emerald, Emerald, Emerald, Emerald, Air, Emerald, air, air, air
I tried doing something like this but it says it cant change the event item.
Code:
on craft of leather helmet:
if name of event-item is "&2&lEmerald Hjelm":
dye event-item (0, 255, 0)
stop