[EMF] Entity Model Features [Fabric & Forge]

[EMF] Entity Model Features [Fabric & Forge]

45M Downloads

[Bug - models] layers do not properly follow math

SebSemos opened this issue ยท 2 comments

commented

Follow up of #370 Might be related to #363

pack example with a zombie villager : layers broken.zip

Having a model that has layers of texture I deleted cubes of both arms. Then I create some new cubes for arms in the body parts. Those cubes have their uv in the location of original arms.
In the math I set those fake arms to follow the original arms, then I set the original arms in a custom location.
The code is the following:

Image

the set of fake arm is displayed properly for the base texture. But the textures of layers (type/profession and such) is displayed on the original arms location.
In the example pack, the base texture has blue arms, profession is yellow and type is red. here is the result:

Image

Was expected:
The layers texture to be displayed on the set of fake arms, or not at all since the arms cube is deleted.

I'd like to push again my idea from #363 to get a model for those layers similar to armor.

Image

So far it seems this issue is present on any model with layers. In this pack zombie villagers, I can confirm it happen with neoforge guardvillagers and villagers recruit that also got this "layer" mechanic.

tested this particular pack on 1.21.1, seen issue on 1.20.1 with mods, EMF/ETF -> 3.0.0/7.0.0 from discord devbuilds

commented

does this only affect the dev builds?

commented

No it was already doing that on lastest releases.

I wanted to test with a way older version. I forgot. I'll try when I got time :D