Change type of an item but maintains it's name, enchants etc.

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

    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.

WithqutMe

Member
Oct 28, 2020
4
0
1
The title says all, but here's an example:
Code:
loop all items in player's inventory:
  if loop-item is a wooden pickaxe:
    set loop-item to stone pickaxe of loop-item's enchant named "&8&l« &d&lPICKAXE &8&l»" with lore loop-item's lore

If it's not possible to change only the material of an item, is there a way to get his enchants and add them to the new item?
 
Status
Not open for further replies.