Globox1997 / MedievalWeapons

https://modrinth.com/mod/medievalweapons
https://www.curseforge.com/minecraft/mc-mods/medievalweapons
MIT License
9 stars 12 forks source link

renderItemMixins and XX_Item_Renderers incompatibility #69

Closed MDouglas345 closed 2 years ago

MDouglas345 commented 2 years ago

These renderers work under the assumption that there is always a living entity connected to items. Causes issues when items are being rendered standalone or in a block entity. Causes a crash on clientside. Specifically when entity.isBlocking() gets called in the renderers.

A fix to look into is having defaults for these renderers when there is no living entity so that they can still be rendered correctly.