[Bug] Layers added via `EntityRenderersEvent.AddLayers` follow the head turn of the player
Minecraft Version: 1.21 NeoForge Version: 21.0.76-beta
Steps to Reproduce:
- Create a Render Layer that does not copy from the head
- Add it via the event
- Run the game
- See how it follows the head even when it is not set to
Description of issue: All render layers added via the event follow the turn of the player's head, when this may not always be desired. It's likely due to pose stack manipulation but I haven't found the exact cause. Using the pose stack in either RenderLivingEvent works fine.
I'm not sure how that is related to that event since it doesn't touch the layers directly at all, it just provides the correct timing for adding them to the renderers. Without looking too deep into the entity layer code, it seems to me that this is just a limitation of the entity layer system.
Closing this as there is no response from the issue author in an year next week.