Emerald Armor

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

DKPeak

New Member
Feb 1, 2017
5
0
1
26
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.

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
 
if you're using skript dev31 up you can use just "dyed green"
skript +dev26 you can use
Code:
(dye|colo[u]r|paint) %itemtypes% %color%
 
Status
Not open for further replies.