#How would I make a screenHandler that accepts one item (1.20.1)

5 messages · Page 1 of 1 (latest)

heady zephyr
#

alright so basically I want to make a menu for customizing the spell loadouts of my wand items, you put the wand in a slot and it shows all attached spells in item form. when you take the item out, it removes the corresponding spell from the wand's NBT data

summer spruce
#

probably like any other screenhandler?

heady zephyr
#

I've never made one that's why I ask

summer spruce
#

you make a class which extends ScreenHandler and register it to the registry

#

and you also need a Screen