(19w39a) EntityRendererRegistry hook is ineffective
Pyrofab opened this issue ยท 1 comments
EntityRenderDispatcher used to register every renderer in its constructor, allowing Fabric API to simply hook the end of it to register modded renderers.
In 19w39a, the EntityRenderDispatcher started actively checking that every entity type had an associated renderer. More specifically, if an entity type lacks a renderer, the constructor throws instead of returning.
The result is that EntityRendererRegistry#initialize
is never called, and the game will always crash if a mod adds an entity.