Posted March 11, 20205 yr I've been moving my mod from 1.12.2 to 1.15.2, and I've recently come across an issue with rendering models in game, the model would not show up and would show a pink and blank box instead. I've been following a tutorial online for implementing 3d models, but I can't figure out where I went wrong. As far as I know, a 3d model's blockstate and .json should be the blocks registry name. Help would be appreciated! horse_block.json horse_block.json RegistryEvents.java
March 11, 20205 yr Post logs please, and preferrably set your project up on github, makes it easier to view.
March 11, 20205 yr Author There are no logs since it isnt throwing an error, instead the game renders the model like this:
March 11, 20205 yr Author My bad, I thought you were referring to crash logs. Here's latest.log, I tried fiddling with it seeing the error came from the texture not being valid, but im not quite sure why it's showing up as invalid as the texture exists and is in the path. Is the formatting wrong? latest.log
March 11, 20205 yr Quote [11Mar2020 17:04:50.245] [Server-Worker-2/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'moneera_mod:block/horse_block' referenced from: moneera_mod:horse_block#facing=north: com.google.gson.JsonParseException: moneera_mod:block/biral khao is not valid resource location what is moneera_mod:block/biral khao? The error below that in the log is it being unable to find your item model. This is why it's good to have a github of your whole project, it's hard not seeing the whole picture (i.e. project layout, package structure, etc)
March 11, 20205 yr Author I see I've uploaded the project on github here. moneera_mod:block/biral khao is the custom texture I'm using for the block. It worked fine in 1.12.2, but after switching to 1.15.2 it seems like something's gone wrong...
March 11, 20205 yr Author 2 minutes ago, diesieben07 said: Resource locations must not contain spaces. Thanks, I wasn't aware of that. Refactoring solved the issue.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.