My equipment player GUI keeps deleting items

Started by parachere cat pirate on Thu, 08/27/2020 - 21:05

Topic category: User side tutorials

Last seen on 10:19, 29. Sep 2020
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 parachere cat pirate on Fri, 08/28/2020 - 09:57
Last seen on 19:03, 24. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
MCreator version? Minecraft…
Fri, 08/28/2020 - 06:27

MCreator version? Minecraft version?

Did you bind GUI to item?

Last seen on 10:19, 29. Sep 2020
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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!

Last seen on 10:24, 21. Oct 2020
Joined May 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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