[1.21] Crash when rendering trader block tooltip
JaisDK opened this issue ยท 5 comments
Bug description
The trader block creates a VillagerTileentity with a null level which in turn creates a EasyVillagerEntity again with a null level. Level is not nullable on LivingEntity and it makes other mods crash.
Minecraft version
1.21
Mod version
1.21-1.1.15
Mod loader and version
NeoForge: 21.0.98-beta
Steps to reproduce
Install AE2, Adorned (or another curios port) and Easy Villagers
put a trader block into the ae2 system and search
Expected behavior
No response
Log files
Screenshots
No response
I am not able to reproduce this without curios. I'm pretty sure its an issue with them, as their mixins cause the crash.
I know, that's what I said it makes other mods crash in this case Adorned because you create a LivingEntity without a level and Adorned has an event handler for when entities are created that checks if the level is client side. The error is in your mod as level is not nullable on LivingEntity.
I just checked it again and it does not seem to happen with https://modrinth.com/mod/curios-continuation
I just checked again and it also doesn't seem to be happening with https://www.curseforge.com/minecraft/mc-mods/adorned aswell in the latest NeoForge version.