EntityRenders requires an EntityRenderProvider.
This is what I have:
@Mod.EventBusSubscriber(modid = MODID, bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT)
public static class ClientModEvents {
@SubscribeEvent
public static void clientSetup(FMLClientSetupEvent event) {
EntityRenderers.register(HOSE.get(), new HoseEntityRenderFactory());
}
private static class HoseEntityRenderFactory implements EntityRendererProvider<HoseEntity> {
@Override
public EntityRenderer<HoseEntity> create(Context context) {
return new HoseEntityRenderer<>(context);
}
}
}
Replace HoseEntity with your own entity. If you're doing multiple try doing generics (though untested).