mojira.dev

Algeseven

Assigned

No issues.

Reported

MC-190770 Certain entities are not displayed inside of spawner Duplicate MC-87910 Stacked banners shift clicked into enchantment tables cause the moved banner to lose its patterns/NBT data Duplicate

Comments

Well, this bug appears for all mobs that have their readAdditionalSaveData(CompoundTag) method overriden + a call to readPersistentAngerSaveData which casts the Level to a ServerLevel. As renderers are client sided executing this method's code causes a ClassCastException (ClientLevel cannot be cast to ServerLevel).

A simple server side check should fix the bug.

Sorry, this is my first bug report ^^
Thanks for reading.