The inventory function inside the item does not work.

Started by generalinfi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The inventory function inside the item does not work.

My translation may not be accurate because I'm using a translator.

I have a problem with an item. I wanted right-clicking to open a menu with slots I could place items in. It doesn't work. I created a container in the item's inventory and linked it, but it didn't work. When that didn't work, I created a trigger to open the menu and created a procedure to open the menu with right-clicking. The menu opened, and I could place items in it, but they wouldn't save.

I'm using mcreator 2021.1, mod version 1.12.2.

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you show an image of…
Wed, 11/26/2025 - 16:55

Could you show an image of the item where the inventory is?

Things to check:
Did you set the inventory size? That would be the maximum number of inventory slots
Are the slots in the GUI output and not input?
  

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When you use the open GUI…
Sat, 11/29/2025 - 00:40

When you use the open GUI block in the trigger like that, it will open by the player and not the item, and since the player cant save those items it will just delete them, so you should disable the trigger, and just leave it being linked, what should happen is once the item is linked it will automatically open the GUI and save any items inside of it.

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also left it empty and…
Sat, 11/29/2025 - 17:17

I also left it empty and just linked the menu in the inventory of the item, but nothing works. I right-clicked and nothing happened.

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The MCreator version you are…
Sun, 11/30/2025 - 00:25

The MCreator version you are using is pretty old, updating it might just fix the issue, just make sure to make a backup of your workspace incase anything goes wrong.

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't update it because I…
Sun, 11/30/2025 - 09:10

I can't update it because I've seen a lot of different posts about version 1.12.2, but everyone says they won't update it anymore or that you can update from 1.12.2 to a higher version. Although I consider such advice inappropriate since people are asking to solve the problem with their generator, in my case 1.12.2. Maybe you meant reinstalling mcreator or something?