Entity Texture not loading in-game #2020
-
I built my mod, and I tested it out on my Minecraft launcher and it didn't load the texture of my entity. What could the problem be and how could I possibly find it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The game is showing the "missingno" (purple and black) texture you get when it can't load a model or texture. The difference between development and "production" is that development effectively runs the game with your src/main/resources in the classpath while production uses a jar file which you can find in the build/libs folder of your project. |
Beta Was this translation helpful? Give feedback.
The game is showing the "missingno" (purple and black) texture you get when it can't load a model or texture.
I would guess if you look closely in your log/latest.log there is a warning about it?
The difference between development and "production" is that development effectively runs the game with your src/main/resources in the classpath while production uses a jar file which you can find in the build/libs folder of your project.
So check your jar file actually contains the files you expect it to have.
Run the command
jar -tf your-mod.jar
or use a tool that can handle zip files to look inside it.