A way to open an inventory (like a chest)

Started by GalaxyNuke on

Topic category: Advanced modding

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

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

 

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.

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