[EMF] Entity Model Features [Fabric & Forge]

[EMF] Entity Model Features [Fabric & Forge]

45M Downloads

[Bug] Crash or Compatibility

ilkin565 opened this issue ยท 0 comments

commented

Describe the bug
When rendering a minecart with a chest, the game crashes with a NullPointerException in the Entity Model Features mod. The error occurs when EMF tries to retrieve the entity's animation state, which turns out to be null.

To Reproduce
Steps to reproduce the behavior:
-Launch a world with EMF, Iris, and Emotecraft
-Approach a minecart with a chest
-Wait for Iris to start rendering shadows
-Experience a game crash

Expected behavior
The game should render the minecart normally without crashes, even if the animation state is unavailable.

Screenshots
I can't provide screenshots that would clearly show the issue, but there is a video available at this link: https://youtu.be/uNEQ17WknFk

Crashlog
crash-2025-09-09_17.02.55-client.txt

(please complete the following information):
-Minecraft Version: 1.21.1
-NeoForge 21.1.206
-EMF version: 3.0.1
-The issue reproducible with EMF alone

Additional context
The error occurs during shadow rendering by Iris shaders. The problem is related to the interaction between EMF and Emotecraft - the mod tries to check if the animation should be paused, but the entity state turns out to be null.

Updated:
I also encountered a strange issue with a mod in Minecraft 1.21.5: if the mod is enabled, there is just a black screen in the menu.
Here is a link to a video of the issue: https://youtu.be/6YXAULbS1wo

-Minecraft Version: 1.21.5
-NeoForge 21.5.95
-EMF version: 3.0.1
-The issue reproducible with EMF alone