Issues with a chest.

Started by VioletPyre on

Topic category: Help with modding (Java Edition)

Last seen on 14:33, 19. Sep 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Issues with a chest.

I have some issues with my custom chest. When right-clicked on, this crashes my game. Here's some informations about it : (i watched the Chest tutorial but it seems really outdated).

- It is using a 3d model
- it has 55 slots, 64 max stack
- The GUI is the main problem (55 slots integrated with a text "Golden Chest")
- I put , on the chest block, a procedure so when right clicked on, will open the Chest GUI.
- On the GUI editor i put the Main block has the golden chest.
- On the GUI editor, some slots are "limited" to a certain item.

If i'm unclear, contact me back and tell me what you do not understand, thanks.
 

Last seen on 14:33, 19. Sep 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The biggest is Slot #55.
Sat, 02/01/2020 - 17:16

The biggest is Slot #55.

IDs start with 0 so this…
Sat, 02/01/2020 - 17:26

IDs start with 0 so this means you need to set your slot count to 56.

Read this: https://mcreator.net/wiki/minecraft-crashes-when-i-open-my-gui

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.

Last seen on 14:33, 19. Sep 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well i think i did it right…
Sat, 02/01/2020 - 17:35

Well i think i did it right tho, the chest block says 54 slots, and in the gui there 54 + the slot #0 so there is 55 in the gui , wasn’t that right ?

Last seen on 14:33, 19. Sep 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind,! I mixed up the…
Sat, 02/01/2020 - 18:20

Nevermind,! I mixed up the thing, and misunderstood, it is now solved, and i’m really glad of it.