GUI Accessory-like system

Started by Mariano Argüello on Thu, 06/11/2020 - 00:59

Topic category: Help with modding (Java Edition)

Last seen on 19:38, 20. Jun 2021
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
GUI Accessory-like system
Thu, 06/11/2020 - 00:59

Hello community! I am making a simple accessory system for my mod and what I want to achieve is that by pressing a certain key, the interface to place the accessories opens. So far I have managed to do this, pressing the "M" key opens the interface without problems and allows me to place the items (in this case, accessories), but when it is closed the items are removed from the interface and fall to the ground. Is there a way to make an interface that can contain items but is not linked to an inventory block? I am currently developing my mod in version 1.12.2, and I don't know if it is possible to do something like this, but thank you very much for the help.

Last seen on 11:53, 5. May 2021
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
With 2020.3, you can create…
Fri, 06/26/2020 - 02:55

With 2020.3, you can create an item (say, a waist pouch or a bag) and link it with your GUI, so it can store the accessories