A way to open an inventory (like a chest)

Started by GalaxyNuke on

Topic category: Advanced modding

Last seen on 22:08, 2. Apr 2018
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A way to open an inventory (like a chest)

I was planning on making a Minecraft backpack and I was wondering if there's a way to set the event result for right-clicking to open an inventory window like it does when clicking a chest.

Thanks

Last seen on 20:59, 1. Feb 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i think you make a custom…
Sat, 03/17/2018 - 09:57

i think you make a custom gui with input slots only and then create an item with the event wen right click open custom gui

 

Last seen on 22:08, 2. Apr 2018
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah I worked on that, I…
Sat, 03/17/2018 - 15:51

Yeah I worked on that, I managed to get it to work but when I close the backpack and open it the items in it disappear.

Last seen on 20:19, 16. Apr 2020
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The problem is that Mcreator…
Thu, 03/22/2018 - 21:49

The problem is that Mcreator has no option to create files that store data or at least I have not found it. Would solve my present problem with a teleport event I have in mind. Probably need to creat a custom code that opens a file and stores the Items. Last time I did something like that was in C++ storing customer information over a decade ago.

The Variables get erased when the game ends