Equipping a resourcepack break the particles
sor1n opened this issue ยท 11 comments
It seems to be every resourcepack. I've tested even with just Jappa's Resource Pack and that still seems to happen (although different particles, but still broken)
Ok, I've done further testing and, if you load a resource pack that doesn't change anything related to Metallurgy, everything is still ok. But if you load a resourcepack that does change a Metallurgy block, it breaks the particles.
Furthermore, if you unload it does fix it, so I'm not sure why previously it didn't. Maybe had something to do with me refreshing the pack. I can provide you my ResourcePack for further testing, if you wish.
@Davoleo, the custom textures in resource packs might somehow screw with the texture grid that Minecraft builds for all textures (including ones in metallurgy) on boot and messes up the offset values or whatever - so particles end up taking the wrong textures from memory, instead of them straight up missing completely.
When you reload assets in Minecraft, those texture grids are rebuilt, which is why it might get fixed.
Edit: Although, I was almost certain that these texture grids only were built for block and item textures, not particles or entities, so after all, I am not so sure myself.
When you reload assets in Minecraft, those texture grids are rebuilt, which is why it might get fixed.
Just to let you know, closing and reopening the game does not fix it. Loading the game with the pack loaded still keeps the particles broken
Just to let you know, closing and reopening the game does not fix it. Loading the game with the pack loaded still keeps the particles broken
But pressing F3 + T (reload) fixes it though, with the resourcepack still active?
But pressing F3 + T (reload) fixes it though, with the resourcepack still active?
Nope, it does not
@Davoleo, the custom textures in resource packs might somehow screw with the texture grid that Minecraft builds for all textures (including ones in metallurgy) on boot and messes up the offset values or whatever - so particles end up taking the wrong textures from memory, instead of them straight up missing completely.
iirc I'm building a custom Atlas Sprite which is the thing you're talking about there, and then assigning it as a particle texture programmatically, I'll have to investigate more to know the reason behind this texture issue.
I know that this issue is kind of similar to when I tried doing animated textures by changing the texture atlas once every 10ticks or so, you would get random particle textures from other installed mods like mekanism or minecraft textures themselves, again I have no idea why this might be happening ๐ค
Also thanks sor1n for thoroughly testing this bug
could you send me the resource pack on discord or here so I can playtest wether I've fixed the issue?
my user tag is Davoleo#3333,
otherwise if you prefer, my server is http://discord.davoleo.net