First of all I would like to thank you for taking your time to read this. The problem that I am having is that my custom nuke entity (I know, very original name :)) renders invisible! I know that it's being spawned because it creates an explosion! Below I have linked the git branch containing the relevant files as well as individual files involved with the entity! If you have any questions, don't hesitate to ask!
Sorry for the confusion, I copied that error from my other post, forgetting that I changed the code...
Everything is registered. (I also fixed the block link)
So the proper error is:
[16:05:01] [Client thread/ERROR] [FML]: Model definition for location lockmod:BlockIronChest#variant=iron not found
[16:05:01] [Client thread/ERROR] [FML]: Model definition for location lockmod:BlockIronChest#variant=steel not found
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!
0
I remember this
0
interesting! Thanks for the info
0
Hello all!
First of all I would like to thank you for taking your time to read this. The problem that I am having is that my custom nuke entity (I know, very original name :)) renders invisible! I know that it's being spawned because it creates an explosion! Below I have linked the git branch containing the relevant files as well as individual files involved with the entity! If you have any questions, don't hesitate to ask!
Source Root
EntityNukePrimed.java
RenderNukePrimedFactory.java
RenderNukePrimed.java
ClientProxy.java
Thanks in advanced for your help,
I am probably missing something blatantly obvious to more experienced modders!
UltimateLukas
0
Sorry for the confusion, I copied that error from my other post, forgetting that I changed the code...
Everything is registered. (I also fixed the block link)
So the proper error is:
0
tried that, didn't work
0
Thanks,
I have already referenced that and many other websites to try to find help
I will post my files to see if you can spot something I cant
Block Class
Json File
0
IT WORKS!!! THANKS SOOOOO MUCH!!!!!!!
I'M SOOO HAPPY
0
Hello!
So I have created a custom lock method inside of my tile entity for my chest!
It works fine except for the fact that after re-loading the map, the saved nbt string does not want to be equal to another identical string....
and so, returns false (as well as print a debug message with both the string saved on the chest and key)
Tile Entity
Thanks,
Lukas G. Olson
0
please help!
0
Hey all!
So the item part in my custom dynamic itemblock cannot find its model definition, the block part is fully static (I bypassed the json rendering)
The error is the following:
[21:32:34] [Client thread/ERROR] [FML]: Model definition for location lockmod:BlockBasicChest#variant=stone not found
0
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?
0
doesn't change anything
0
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
0
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
0
Accepted!