Started by
mrgwbland
on
Topic category: Help with MCreator software
I attach this to a block and whenever a certain slot is changed this gets triggered, but it crashes it. How do I fix this? (This is for demonstrative purposes, I narrowed this part down from my main procedure as the part that causes the crash.
Edited by mrgwbland on Sun, 11/15/2020 - 21:26
It will be easier to find out what the problem is if you include the whole procedure, however the problem could be that there is no slot 2 in the GUI that you are using. If that's not the problem then it will be something that is not shown in your imgur post i.e the rest of the procedure block.
No you misinterpreted what I meant, just this piece alone will crash it, without any other code. But also the gui has 4 slots so there is a slot 2.
actually I think I have figured out that because 2 is an input slot I can't use it as output as well. Am I correct here? and is there a way around this?
If you access slot 2, this means you need at least 3 slots.
https://mcreator.net/wiki/minecraft-crashes-when-i-open-my-gui
Did you read what I put?
Did you read what we put?
Yeah