Armor -> Leather armor (custom color), without changing protection/unbreaking

  • 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!

italo

New Member
Aug 8, 2023
8
0
1
16
I need to make it so when wearing armor, it gets replaced with leather armor (with a specified color), and I need to make it so the protection and durability don't change, just the visual appearance for all players.
 
You can use a combination of the "on armor equip" event and "dye {_item} (255, 255, 255)". Replace {_item} with the armor (Ex: Setting the targeted armor piece to {_item} then replacing the item with the new one after dyeing it), and then that should be all you need as it should just dye the armor one it's in a variable and keep all the enchants/NBT data you want.