package info.u_team.u_team_test.init;

import info.u_team.u_team_core.util.registry.ClientRegistry;
import info.u_team.u_team_test.TestMod;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.entity.SpriteRenderer;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

@EventBusSubscriber(modid = TestMod.MODID, bus = Bus.MOD, value = Dist.CLIENT)
public class TestModels {
	
	@SubscribeEvent
	public static void register(FMLClientSetupEvent event) {
		ClientRegistry.registerEntityRenderer(TestEntityTypes.BETTER_ENDERPEARL, manager -> new SpriteRenderer<>(manager, Minecraft.getInstance().getItemRenderer()));
	}
}

@@ -97,48 +97,8 @@
 ry;%0A
-import info.u_team.u_team_test.TestMod;%0A
 impo
@@ -222,356 +222,99 @@
 rge.
-api.distmarker.Dist;%0Aimport net.minecraftforge.eventbus.api.SubscribeEvent;%0Aimport net.minecraftforge.fml.common.Mod.EventBusSubscriber;%0Aimport net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;%0Aimport net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;%0A%0A@EventBusSubscriber(modid = TestMod.MODID, bus = Bus.MOD, value = Dist.CLIENT)
+eventbus.api.IEventBus;%0Aimport net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;%0A
 %0Apub
@@ -343,31 +343,15 @@
 %0A%09%0A%09
-@SubscribeEvent%0A%09public
+private
  sta
@@ -359,24 +359,21 @@
 ic void 
-register
+setup
 (FMLClie
@@ -558,10 +558,102 @@
 )));%0A%09%7D%0A
+%09%0A%09public static void registerMod(IEventBus bus) %7B%0A%09%09bus.addListener(TestModels::setup);%0A%09%7D%0A
 %7D%0A

Use the new system now