#how to remove all stats from a item in a menu

1 messages · Page 1 of 1 (latest)

frigid portal
#

you need skBee addon

median bear
#

i have

frigid portal
#

send your code and the error preferably

median bear
#
    trigger:
        set metadata tag "recipe" of player to chest inventory with 6 rows named "Stone sword recipe"
        set slot 0,1,2,3,4,5,6,7,8,9,13,14,15,16,17,18,22,24,26,27,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52 and 53 of metadata tag "recipe" of player to gray stained glass pane named "&7" with lore "&7"
        set slot 23 of metadata tag "recipe" of player to crafting table named "&aCrafting Table" with lore "&7Craft this recipe by using a" and "&7crafting table."
        set slot 25 of metadata tag "recipe" of player to stone sword named "&e&ltest" with lore "this is a test" with nbt "{Hideflags:63}"
        set slot 49 of metadata tag "recipe" of player to barrier named "&cClose"
        open (metadata tag "recipe" of player) to player 
        
on inventory click:
    if event-inventory = (metadata tag "recipe" of player):
        cancel event 
        if index of event-slot is 49:
            close player's inventory  ```
frigid portal
#

1st of all you dont have to type out all slots if you wanna fill them

#

you can just do set slot (all integers between 0 and 53)...

median bear
#

is that the question?

#

but thx for the tip

frigid portal
#

no but i feel like you could use the tip

median bear
#

mabye

#

then i can remove them better if needed

frigid portal
#

and as for hiding flags you can do sword named "whatever" with all item flags

#

that will hide everything

median bear
#

oo thx mate

#

i tryed before

#

with all flags hidden

frigid portal
#

thats old syntax

#

it changed quite recently

median bear
#

okay

frigid portal
#

also nbt changed if you are on versions 1.20.5+

#

so HideFlags:X doesnt exist anymore

median bear
frigid portal
#

i think its HideFlags in that version

#

not Hideflags

median bear
#

the thing you send works

#

so idk

frigid portal
#

yeah id just use that one