Jump to content

[SOLVED] is there a way to get chest contents after opening?


sudano

Recommended Posts

So, i'm trying to make a "puzzle" mod and i have a "locked" chest, that you can only open using /chest <password>, i already did the player open the chest, but i want to get the contents (items) and check if there is a specific item, if does then do x, if doesn't then do y

 

edit: it's not a custom gui, it's a chest in the puzzle map // sorry bad english, using translator

 

edit2: i just solved.. ty

Edited by sudano
solved
Link to comment
Share on other sites

  • sudano changed the title to [SOLVED] is there a way to get chest contents after opening?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.