You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but my issue is now closing the lid once the player has finished using it. I was thinking about using InventoryCloseEvent, but is there no better alternative? The Inventory has no actual relation to the block and I believe I'd have to keep track of every inventory -> chest myself...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I currently have the following code to open chest lids:
but my issue is now closing the lid once the player has finished using it. I was thinking about using InventoryCloseEvent, but is there no better alternative? The Inventory has no actual relation to the block and I believe I'd have to keep track of every inventory -> chest myself...
Beta Was this translation helpful? Give feedback.
All reactions