[EMF] Entity Model Features [Fabric & Forge]

[EMF] Entity Model Features [Fabric & Forge]

28M Downloads

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

FabianMPunkt opened this issue ยท 2 comments

commented

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:
FabianMPunkt/Nautilus3D@28bf497
FabianMPunkt/Nautilus3D#12

Expected behavior
It should be visible.

Screenshots

Trident invisible: (without shader)
image

Trident visible: (with fix described above)
image

Additional Info:

  • fabric-loader-0.15.6
  • Minecraft Version: [1.20.4]
  • EMF version: [1.3.2]
  • ETF version: [5.2.1]

image
image

commented

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

commented

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.