Jump to content

Hertzole

Members
  • Posts

    21
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Hertzole's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. My bad. I will fix that. But now I think I can keep going myself. Again, thanks for all the help!
  2. 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
  3. Will fix what you pointed out. But how do I get preInit to call then?
  4. Forgot about that. Sorry. I've pushed the changes.
  5. 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.
  6. Here. https://github.com/Hertzole/Colored-blocks
  7. I wasn't. But as of what I can see, nothing changes and the message persists.
  8. What about "[Client thread/ERROR] [FML]: Model definition for location hertzole:wood_colored#inventory not found"?
  9. Latest log: The current code. As of right now I am only trying to register the white block. Lastly, the stucture.
  10. The reason I have so many is because of the tutorial I followed.
  11. 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.
  12. 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.
  13. 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.
  14. 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?
  15. 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.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.