Player personal GUI (Enderchest like)

Started by Tsukides on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Player personal GUI (Enderchest like)

Hello.

I'm trying to make a GUI that can store items (Like an enderchest) and i can't manage to make it save the items. Once they're put in, they disappear when re opening it.

Here's what has been done : 

Storage (the GUI slots)

The bit that saves what's put inside these slots

The bit that loads what's saved

Any help would be greatly appreciated !

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
First of all shouldnt the…
Mon, 09/16/2024 - 15:27

First of all shouldnt the variables be player persistent if theyre linked to each player personally otherwise everyone would have the same inventory. I also dont know why your getting a number from text, where the text is getting text from a number, seems unnecessary. Also on what trigger is the closing and saving of the gui slots on.