package info.u_team.u_team_test.init;

import info.u_team.u_team_core.tileentitytype.UTileEntityType;
import info.u_team.u_team_test.TestMod;
import info.u_team.u_team_test.tileentity.*;
import net.minecraft.tileentity.TileEntityType;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.*;

public class TestTileEntityTypes {
	
	public static final DeferredRegister<TileEntityType<?>> TILE_ENTITY_TYPES = DeferredRegister.create(ForgeRegistries.TILE_ENTITIES, TestMod.MODID);
	
	public static final RegistryObject<TileEntityType<BasicTileEntityTileEntity>> BASIC = TILE_ENTITY_TYPES.register("tileentity", () -> UTileEntityType.UBuilder.create("tileentity", BasicTileEntityTileEntity::new, TestBlocks.BASIC_TILEENTITY.get()).build());
	
	public static final RegistryObject<TileEntityType<BasicEnergyCreatorTileEntity>> BASIC_ENERGY_CREATOR = TILE_ENTITY_TYPES.register("energy_creator", () -> UTileEntityType.UBuilder.create("energy_creator", BasicEnergyCreatorTileEntity::new, TestBlocks.BASIC_ENERGY_CREATOR.get()).build());
	
	public static final RegistryObject<TileEntityType<BasicFluidInventoryTileEntity>> BASIC_FLUID_INVENTORY = TILE_ENTITY_TYPES.register("fluid_inventory", () -> UTileEntityType.UBuilder.create("fluid_inventory", BasicFluidInventoryTileEntity::new, TestBlocks.BASIC_FLUID_INVENTORY.get()).build());
	
	public static void register(IEventBus bus) {
		TILE_ENTITY_TYPES.register(bus);
	}
	
}

@@ -36,71 +36,8 @@
 t;%0A%0A
-import info.u_team.u_team_core.tileentitytype.UTileEntityType;%0A
 impo
@@ -615,33 +615,32 @@
 eentity%22, () -%3E 
-U
 TileEntityType.U
@@ -630,33 +630,32 @@
  TileEntityType.
-U
 Builder.create(%22
@@ -653,30 +653,16 @@
 .create(
-%22tileentity%22, 
 BasicTil
@@ -718,32 +718,36 @@
 TY.get()).build(
+null
 ));%0A%09%0A%09public st
@@ -884,33 +884,32 @@
 creator%22, () -%3E 
-U
 TileEntityType.U
@@ -899,33 +899,32 @@
  TileEntityType.
-U
 Builder.create(%22
@@ -922,34 +922,16 @@
 .create(
-%22energy_creator%22, 
 BasicEne
@@ -994,32 +994,36 @@
 OR.get()).build(
+null
 ));%0A%09%0A%09public st
@@ -1171,17 +1171,16 @@
 , () -%3E 
-U
 TileEnti
@@ -1186,17 +1186,16 @@
 ityType.
-U
 Builder.
@@ -1201,35 +1201,16 @@
 .create(
-%22fluid_inventory%22, 
 BasicFlu
@@ -1283,16 +1283,20 @@
 ).build(
+null
 ));%0A%09%0A%09p

Update test mod