#Hide inventory items when in GUI

1 messages · Page 1 of 1 (latest)

pliant solstice
#

Hi! I was wondering if it is possible to hide all your inventory items aswell as everything in your hotbar when you enter a menu. This would be very useful for menus using texturepacks when you only want to show the texture and no other items the player has on them. Does anyone know how you could clear the player inventory on entering a menu and then giving back all the items when you exit? Thanks for any help!

pliant solstice
#

fingerguns pls help

normal summit
#

sameee thats what i wana figure out xd

royal mantle
#

possible, but I wouldn't recommend

#

if you have a plugin that has a command to hide the player's inventory, you can use its command in the menu's open_commands and make it show the inventory again in the close_commands

#

though since close_commands are executed only when you click on an item with the [close] action, then it means that if a player presses Esc or E to close the menu, they won't get their inventory back

austere wadi
#

or use a resourcepack 💀

#

an imagine with an empty inventory that u ll apply on every menu

#

its very easy and many people do it that way

#

(myself included)