Traben-0 / Entity_Model_Features

Other
101 stars 17 forks source link

[Bug - models] Custom models turn invisible when texture file is in custom directory #167

Open FabianMPunkt opened 8 months ago

FabianMPunkt commented 8 months ago

Describe the bug When a .jem model has a texture reference, that is not in the directory where the default texture would be, the entire model turns invisible (sometimes only when also using Iris shaders - happens with BSL, Sildurs, and Builders QOL - probably many more)

Resource Pack: https://modrinth.com/resourcepack/nautilus3d Take a look at the Trident in the current version of my Pack Nautilus3D. I noticed that problem when updating to 1.20.4. I managed to fix it by removing the texture reference from the .jem model, and moving the texture file to minecraft/textures/entity/trident.png This is the Nautilus3D commit fixing the issue: https://github.com/FabianMPunkt/Nautilus3D/commit/28bf4973b4806b5f3e2a7d76b6d93f8607774941 https://github.com/FabianMPunkt/Nautilus3D/issues/12

Expected behavior It should be visible.

Screenshots

Trident invisible: (without shader) image

Trident visible: (with fix described above) image

Additional Info:

image image

Traben-0 commented 8 months ago

just so i underrstand does it work sometimes but breaks with iris? or never worked?

FabianMPunkt commented 8 months ago

Sadly i have no definitive answer about wheter or not it is only a thing that happens with shaders.. I have seen it sometimes working without shader, and failing with shader. Last time i tried it, the issue was present, even without shaders.