Game crashes when i open GUI

Started by SlubblesThuggy on

Topic category: Troubleshooting, bugs, and solutions

Active 3 years ago
Joined Apr 2019
Points:
677

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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.

Active 3 years ago
Joined Mar 2020
Points:
1259

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1149
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.

Active 3 years ago
Joined Apr 2019
Points:
677

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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

Active 3 years ago
Joined Mar 2020
Points:
1259

User statistics:

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

Good :)

Active 1 year ago
Joined Jul 2021
Points:
642

User statistics:

  • Modifications: 0
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 48
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

Active 5 days ago
Joined May 2019
Points:
1208

User statistics:

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

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

Active 1 month ago
Joined Feb 2025
Points:
6

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
I am having similar issues…
Thu, 02/20/2025 - 08:09

I am having similar issues but nothing seems to work 

it just crashes whenever I open the gui.