ClientSpriteRegistryCallback prints meaningless errors
raphydaphy opened this issue ยท 2 comments
I registered my sprites like this
ClientSpriteRegistryCallback.EVENT.register((atlaxTexture, registry) -> {
registry.register(Identifier(ArcaneMagic.DOMAIN, "particle/glow_particle"));
});
Which worked, and I was able to use them for particles, but whenever I startup the game I get these errors
[10:37:43] [Server-Worker-5/ERROR]: Using missing texture, unable to load arcanemagic:textures/particle/particle/glow_particle.png : java.io.FileNotFoundException: arcanemagic:textures/particle/particle/glow_particle.png
[10:37:43] [Server-Worker-5/ERROR]: Using missing texture, unable to load arcanemagic:textures/painting/particle/glow_particle.png : java.io.FileNotFoundException: arcanemagic:textures/painting/particle/glow_particle.png
[10:37:43] [Server-Worker-5/ERROR]: Using missing texture, unable to load arcanemagic:textures/mob_effect/particle/glow_particle.png : java.io.FileNotFoundException: arcanemagic:textures/mob_effect/particle/glow_particle.png
If I try changing the Identifier from particle/glow_particle
to just glow_particle
since the errors would suggest that the prefix was unneeded, I get one less error (still get one about mob_effect and painting though), but my particles no longer render properly...
Because there are four atlases. You need to check if you're registering on the correct atlas.