-
[1.8.9] Metadata blocks are not able to find model for item rendering
My bad. I will fix that. But now I think I can keep going myself. Again, thanks for all the help!
-
[1.8.9] Metadata blocks are not able to find model for item rendering
So after I moved the registerBlockRenderer call to the main class it crashed. Turns out it was the test block. I will look into that. But the main metadata blocks worked! Finally! Thank you so much for you patience and help! It is greatly appreciated! <3
-
[1.8.9] Metadata blocks are not able to find model for item rendering
Will fix what you pointed out. But how do I get preInit to call then?
-
[1.8.9] Metadata blocks are not able to find model for item rendering
Forgot about that. Sorry. I've pushed the changes.
-
[1.8.9] Metadata blocks are not able to find model for item rendering
The reason behind all those screwups was because I was getting tired, screwed around with the code and just left it there. But I've now moved the BlockRenderRegister.registerBlockRenderer into preInit in the client proxy. The only change is that no modded blocks have inventory models.
-
[1.8.9] Metadata blocks are not able to find model for item rendering
Here. https://github.com/Hertzole/Colored-blocks
-
[1.8.9] Metadata blocks are not able to find model for item rendering
I wasn't. But as of what I can see, nothing changes and the message persists.
-
[1.8.9] Metadata blocks are not able to find model for item rendering
What about "[Client thread/ERROR] [FML]: Model definition for location hertzole:wood_colored#inventory not found"?
-
[1.8.9] Metadata blocks are not able to find model for item rendering
Latest log: The current code. As of right now I am only trying to register the white block. Lastly, the stucture.
-
[1.8.9] Metadata blocks are not able to find model for item rendering
The reason I have so many is because of the tutorial I followed.
-
[1.8.9] Metadata blocks are not able to find model for item rendering
Ok, I think I understand that part now. But back to square one, how do I make it work in the inventory? Every block is still a black and purple block in the inventory.
-
[1.8.9] Metadata blocks are not able to find model for item rendering
I'm quite confused by this stage. What I can understand, I need to remove "{ "model":"hertzole:wood_white" } from ""type=white": { "model":"hertzole:wood_white" }". I also changed the end of the ModelLoader function to "new ModelResourceLocation("hertzole:wood_colored#type=white")" and now I've got the world model but not the inventory model.
-
[1.8.9] Metadata blocks are not able to find model for item rendering
I think I am starting to understand now. But let's see if I get this straight. I should go into "wood_colored.json" and add ""white": { "model":"hertzole:wood_white" }," under variants. Then in the render register add this to the ModelLoader function "new ModelResourceLocation("hertzole:wood_colored#white")". Then make sure I have two json files called "wood_white". One located in models/block and one in models/item. If that is the case, I must have done something wrong. The white block turned into a purple and black block in both the inventory and in the world.
-
[1.8.9] Metadata blocks are not able to find model for item rendering
The reason I have so many was because some error messages said it couldn't find these blockstates so I created them to try and fix it and then I never got around to delete them. But anyways, I tried this "new ModelResourceLocation(modid + ":wood_colored#white")" and "new ModelResourceLocation(modid + ":wood#white")" but none worked. What am I missing?
-
[1.8.9] Metadata blocks are not able to find model for item rendering
Woops, my bad. Here is the actual json structure. With the variant, do you mean like this? "new ModelResourceLocation(modid + ":" + file, modid + ":" + "wood_colored"));" or am I just being stupid? I am also not sure what you mean with the second thing.
IPS spam blocked by CleanTalk.