If you are in eclipse you can suspend the thread (I am guessing client thread) when it freezes. And open the current stack trace in debug mode. So you can see exactly where it is stuck.
Rollback Post to RevisionRollBack
Not doing mc modding that much anymore because I am making a full blown game that does not have limitations that mc has. (rip Magiology for now)
I may come back if MC fixes it's rendering pipeline.
Ok, so I found that the tile entity is missing a mapping!
Apparently I'm not registering something correctly? am I correct?
Anyways, I attached the main mod class just in case you or someone else wanted to take a quick look and put me back on my feet
Here is the log
[11:07:21] [Server thread/ERROR] [FML]: A TileEntity type com.greyblockgames.lockmod.entities.TileEntityLmChest has throw an exception trying to write state. It will not persist. Report this to the mod author
java.lang.RuntimeException: class com.greyblockgames.lockmod.entities.TileEntityLmChest is missing a mapping! This is a bug!
Hello everyone!
Recently I have created a custom chest, however, the game freezes upon interaction with the chest!
Any and all help would be greatly appreciated!
Gui Handler
Chest Gui
Container
Tile Entity
Block
Log
==Edit==
Main Mod Class
Thanks!
Lukas G. Olson
If you are in eclipse you can suspend the thread (I am guessing client thread) when it freezes. And open the current stack trace in debug mode. So you can see exactly where it is stuck.
Not doing mc modding that much anymore because I am making a full blown game that does not have limitations that mc has. (rip Magiology for now)
I may come back if MC fixes it's rendering pipeline.
Ok, so I found that the tile entity is missing a mapping!
Apparently I'm not registering something correctly? am I correct?
Anyways, I attached the main mod class just in case you or someone else wanted to take a quick look and put me back on my feet
Here is the log
[11:07:21] [Server thread/ERROR] [FML]: A TileEntity type com.greyblockgames.lockmod.entities.TileEntityLmChest has throw an exception trying to write state. It will not persist. Report this to the mod author
java.lang.RuntimeException: class com.greyblockgames.lockmod.entities.TileEntityLmChest is missing a mapping! This is a bug!
Thanks,
Lukas G. Olson
simply insert this:
sorry for my bad english I'm Italian
doesn't change anything
in your preinit you have to replace
with
sorry for my bad english I'm Italian
Or you can simply use a method like this.
Not doing mc modding that much anymore because I am making a full blown game that does not have limitations that mc has. (rip Magiology for now)
I may come back if MC fixes it's rendering pipeline.
Ok, I scrapped my current code, and fully rewrote it with a modular design,
only error I'm getting now is this:
[21:32:34] [Client thread/ERROR] [FML]: Model definition for location lockmod:BlockBasicChest#variant=stone not found
and the item texture is a large untextured cube (the block renders fine, however)
How would I name the model definition?