Game crashes when i open GUI

Started by SlubblesThuggy on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 12:42, 18. Jun 2021
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Game crashes when i open GUI

I have created a sort of crafting table with only two input slots. But when i right click in game to open the GUI, the game crashes. I have looked on others problems but their solutions dont work for me. I have some screenshots:

"enabled inventory" options for the block:

https://drive.google.com/open?id=1-z2HsRDAUJkoEKbUsZMswTsr67rmdG0q

Block GUI:

https://drive.google.com/open?id=1G9DCMCdc6IgDfjR6u6RelRXzaNSzaar7

GUI craft procedure (Gets called when the craft button is clicked):

https://drive.google.com/open?id=1W-8dVnXn-qFjHu3v6arX__IXVEZEsIub

It is only a part of the code for all the recipes, but it is just the same code everywhere.

 

I hope the links work, if not then say it and i will try to fix.

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why does your GUI skip slot…
Tue, 05/12/2020 - 19:03

Why does your GUI skip slot 02?

Also “Size of inventory” should be set to 4 because you have 3 slots + 1.

And the part where it starts with the word “comma” has a 2 in there, and there is no 2 slot in your GUI.

Last seen on 12:42, 18. Jun 2021
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah i saw that, instead of…
Wed, 05/13/2020 - 12:38

Yeah i saw that, instead of id 3 it should be id 2 och the output slot. Works now

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Good :)
Wed, 05/13/2020 - 12:43

Good :)

Last seen on 19:33, 16. Apr 2023
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and if you dont have any…
Tue, 09/07/2021 - 05:38

and if you dont have any slots? what then? cuz it crashes every time for me, whether i have slots or not

Last seen on 00:05, 19. Apr 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is a common issue,…
Tue, 09/07/2021 - 12:53

This is a common issue, please search the website a bit