#how to remove all stats from a item in a menu
1 messages · Page 1 of 1 (latest)
i have
send your code and the error preferably
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<est" 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 ```
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)...
no but i feel like you could use the tip
and as for hiding flags you can do sword named "whatever" with all item flags
that will hide everything
okay
also nbt changed if you are on versions 1.20.5+
so HideFlags:X doesnt exist anymore
no 1.19.4
yeah id just use that one