Started by
N3R3SH
on
Topic category: Troubleshooting, bugs, and solutions
I was just working on perfecting my system for a mob to pick up specific items and throw out any excess if more than the stack limit of that item in that slot is reached. I was making progress, but suddenly I can't launch the game, because it can't find the .CLASS file for that mob. I looked in the folder and yeah, the file simply isn't there. Regenerating code or the base mod source files doesn't help. What can I do to create this file? And why did it just get deleted?
Well, I managed to let the game launch by grabbing the .CLASS files from a backup of the mod. Both for the mob and for the mob's GUI. But now when I try to open that GUI, it crashes the game. Now I'm really stuck. Can't figure out a way to prevent the crashing.
The error message for the crashes now starts with:
(Algobo being the name of the mob)
and yes, the procedure does exist, I even made a backup of the procedure and deleted and re-added it to be sure. Made sure to save the living entity mod element, made sure to save the procedure, made sure to save the GUI... still nothing.
Huh... Well, I disabled the right click procedure, launched the game, enabled it again, launched the game again and now it works. So I am very confused and very pleasantly surprised that I somehow managed to fix it. Guess I have no issue anymore, but I'm still really curious as to how it even happened. What could have possibly deleted those .CLASS files?
Maybe Gradle caching broke and it thought the file was still there, despite not being there