Started by
generalinfi
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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?
https://imgur.com/a/123-jTHyPgy
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.
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.
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.
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?