package info.u_team.u_team_test.init;

import info.u_team.u_team_core.util.registry.*;
import info.u_team.u_team_test.TestMod;
import info.u_team.u_team_test.block.*;
import net.minecraft.item.BlockItem;
import net.minecraftforge.eventbus.api.IEventBus;

public class TestBlocks {
	
	public static final BlockDeferredRegister BLOCKS = BlockDeferredRegister.create(TestMod.MODID);
	
	public static final BlockRegistryObject<BasicBlock, BlockItem> BASIC = BLOCKS.register("basicblock", () -> new BasicBlock("basicblock"));
	
	public static final BlockRegistryObject<BasicTileEntityBlock, BlockItem> BASIC_TILEENTITY = BLOCKS.register("tileentity", () -> new BasicTileEntityBlock("tileentity"));
	
	public static final BlockRegistryObject<BasicEnergyCreatorBlock, BlockItem> BASIC_ENERGY_CREATOR = BLOCKS.register("energy_creator", () -> new BasicEnergyCreatorBlock("energy_creator"));
	
	public static final BlockRegistryObject<BasicFluidInventoryBlock, BlockItem> BASIC_FLUID_INVENTORY = BLOCKS.register("fluid_inventory", () -> new BasicFluidInventoryBlock("fluid_inventory"));
	
	public static void register(IEventBus bus) {
		BLOCKS.register(bus);
	}
	
}

@@ -481,42 +481,23 @@
 k%22, 
-() -%3E new BasicBlock(%22basicblock%22)
+BasicBlock::new
 );%0A%09
@@ -619,26 +619,16 @@
 entity%22,
- () -%3E new
  BasicTi
@@ -644,22 +644,13 @@
 lock
-(%22tileentity%22)
+::new
 );%0A%09
@@ -783,26 +783,16 @@
 reator%22,
- () -%3E new
  BasicEn
@@ -811,26 +811,13 @@
 lock
-(%22energy_creator%22)
+::new
 );%0A%09
@@ -957,18 +957,8 @@
 ry%22,
- () -%3E new
  Bas
@@ -982,27 +982,13 @@
 lock
-(%22fluid_inventory%22)
+::new
 );%0A%09

Update test block with new method references