--> First, I have to warn you, I am new to coding on java, so if you give me a solution, imagine that you are talking to a guy who has been only making texture packs and nothing else ๐
I just started this mod, following Nico Kaupenjohann's tutorial, and I want to add a new entity block that will have a UI, but every time I right-click on it, it opens up the interface, then 1s later, the game crashes and it reports me this error:
Caused by: java.lang.RuntimeException: Slot 4 not in valid range - [0,4)
I know that this error is due to the fact that my UI has 8 slots and the game somehow considers that there could be only 4, but after a good hour of searching, I couldn't find where the game considers it...
If you have any idea, here is the mod on github: https://github.com/AstronoCraft/RocketScienceMod/tree/master
Thank you in advance for any help!