Skript Version 2.6
Minecraft Server Version 1.17.1
Issue: I need to be able to hide all possible flags from an item (Enchants, Attributes, Unbreakable, etc...) Which is in a gui
My Code:
on inventory click:
if event-inventory = (metadata tag "recipegui" of player):
cancel event
if index of event-slot is 2:
set metadata tag "recipegui2" of player to chest inventory with 5 rows named "&b&lSkUnity"
set slot 22 of metadata tag "recipegui2" of player to stone pickaxe of efficiency 1 named "&fSkUnity Pickaxe"
What Can I add to the set slot to make the flags hidden? I tried many solutions on different threads none worked.
Minecraft Server Version 1.17.1
Issue: I need to be able to hide all possible flags from an item (Enchants, Attributes, Unbreakable, etc...) Which is in a gui
My Code:
on inventory click:
if event-inventory = (metadata tag "recipegui" of player):
cancel event
if index of event-slot is 2:
set metadata tag "recipegui2" of player to chest inventory with 5 rows named "&b&lSkUnity"
set slot 22 of metadata tag "recipegui2" of player to stone pickaxe of efficiency 1 named "&fSkUnity Pickaxe"
What Can I add to the set slot to make the flags hidden? I tried many solutions on different threads none worked.