change gui whenever an item is taken from a slot

Published by eden saad on
Status
Resolved
Issue description

is there a way to change the GUI (show a different one) whenever an item is taken from a slot in-game or remove a slot/create a new one whenever an item is taken from a slot in-game, if not it would be really useful for shops and more.

for example: in hypixel bedwars there's a GUI that's opened when clicking on a villager that changes when an item is taken from a slot in the GUI.

I would like to see that feature in the future, thanks in advance

Issue comments

You can open a new GUI from a GUI. Changing GUI appearance such as images and animations is planned for later versions.

yeah ok but if I want to make for example a crafting table inside the GUI that is opened from the GUI I can't do that because
blocks can only do one update tick procedure so yeah...

 whenever an item is taken from a slot in-game or remove a slot/create a new one whenever an item is taken from a slot in-game

You have proper events for this, no need for tick hacks.