Is there a way to make gui slots work as though they are a part of the players inventory?

Started by M4X4 on Thu, 05/13/2021 - 18:14

Topic category: Help with modding (Java Edition)

Last seen on 05:51, 6. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Is there a way to make gui slots work as though they are a part of the players inventory?
Thu, 05/13/2021 - 18:14

Hello,

I am working on an "Extra Inventory" mod for a friend. When you press RSHIFT, the gui would show up and you can put your item in the slots.

When you put an item into a slot, it gets cleared instead of staying in that slot. Is there any way to make it stay in that specific slot?