My equipment player GUI keeps deleting items

Started by Captain_Shitpost on

Topic category: User side tutorials

Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My equipment player GUI keeps deleting items
Fri, 08/28/2020 - 09:57 (edited)

So, i am trying to make a equipment GUI with slots that give positive effects when some special item is placed in it (Like Lightweight Leather Boots make you walk a little bit faster) but my GUI is deleting my item when i close my it, which is destroying my mod's whole purpose, how can i fix this?

Edited by Captain_Shitpost on Fri, 08/28/2020 - 09:57
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mcreator version is 2020.4  …
Fri, 08/28/2020 - 09:56

Mcreator version is 2020.4

 

I binded GUI to the procedure, without anything esle but procedure.

Oh, i didn't realy thinked about using an item, and after a lot of testing i think making it work without an item is impossible or very hard. So thanks for the tip, and for mcreator. Have a good day!

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Guis containing items must…
Wed, 09/02/2020 - 11:27

Guis containing items must be serialized and then deserialized with tags to store the items