1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Emerald Armor

Discussion in 'Skript' started by DKPeak, Apr 18, 2020.

Thread Status:
Not open for further replies.
  1. DKPeak

    DKPeak New Member

    Joined:
    Feb 1, 2017
    Messages:
    5
    Likes Received:
    0
    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 (Text):
    1. on load:
    2.     register new shapeless recipe for green color leather helmet named "&2&lEmerald Hjelm" using Emerald, Emerald, Emerald, Emerald, Air, Emerald, air, air, air
    3.  
    I tried doing something like this but it says it cant change the event item.
    Code (Text):
    1. on craft of leather helmet:
    2.     if name of event-item is "&2&lEmerald Hjelm":
    3.         dye event-item (0, 255, 0)
    4.         stop
     
  2. BowYard

    BowYard Member

    Joined:
    Nov 2, 2017
    Messages:
    45
    Likes Received:
    0
    if you're using skript dev31 up you can use just "dyed green"
    skript +dev26 you can use
    Code (Text):
    1. (dye|colo[u]r|paint) %itemtypes% %color%
     
Thread Status:
Not open for further replies.

Share This Page

Loading...