Hello,
By right clicking an armor stand the player can open a GUI:
I would want the player to be able to add items to the GUI. I know I could do it if it was a chest:
But what should I do to achieve the same effect with a GUI like above instead of an actual chest?
[doublepost=1594629395,1594464308][/doublepost]Any ideas?
By right clicking an armor stand the player can open a GUI:
Code:
on right click on entity:
if name of clicked entity is "container":
if {container_open::%event-entity%} is 0:
send action bar "&7Opened container" to player
open chest with 6 rows named "&fContainer" to player
I would want the player to be able to add items to the GUI. I know I could do it if it was a chest:
Code:
on right click on chest:
if player's tool is torch:
add 1 torch to event-block's inventory
But what should I do to achieve the same effect with a GUI like above instead of an actual chest?
[doublepost=1594629395,1594464308][/doublepost]Any ideas?