First-person Model (Forge/Fabric)

First-person Model (Forge/Fabric)

4M Downloads

Player model head rendering lost when holding a retrieved golem

jutsumetsu opened this issue ยท 1 comments

commented

Well, this bug occurs when Minecraft is installed with both FPM and Modular Golems.

In first person, neither player nor golem heads are rendered. But in third person, only the golem's head is rendered. As shown below:
2024-06-14_11 43 27
2024-06-14_11 43 39

Regarding this situation, I have discussed with the developer of Modular Golems. He said that the golem models are all directly called from vanilla entity models. The humanoid golem call the player model, the metal golem call the iron golem model, etc. And when player retrieves the golem, the golem in the inventory will be rendered as an entity.

We guess that the bug occurs like this: When player holds a golem, the golem's entity model is rendered as part of the player's model. And when FPM is enabled, all heads that are considered part of the player model are deleted, and FPM only re-renders the head once in third person. As a result, the golem's head is incorrectly rendered as the player's head, while the real player's head is not rendered.

I suggested to the developer of Modular Golems to add a config file to turn off the entity rendering of the golem in the inventory, and he said he would consider adding it in the next version. However, this is only treating the symptoms and not the root cause. So I came here to report this issue.

commented

Uhhh of the item renderer renders an entity while the player is rendering, that will trip up the firstperson mod and set head hiding flags incorrectly. Will have to see if I can do anything about this.