package info.u_team.u_team_test.init;

import info.u_team.u_team_core.item.armor.*;
import info.u_team.u_team_core.item.tool.*;
import info.u_team.u_team_test.TestMod;
import info.u_team.u_team_test.item.*;
import net.minecraft.item.Item;
import net.minecraft.item.Item.Properties;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.*;

public class TestItems {
	
	public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, TestMod.MODID);
	
	public static final RegistryObject<Item> BASIC = ITEMS.register("basicitem", () -> new BasicItem("basicitem"));
	
	public static final RegistryObject<Item> BETTER_ENDERPEARL = ITEMS.register("better_enderpearl", () -> new BetterEnderPearlItem("better_enderpearl"));
	
	public static final RegistryObject<Item> BASIC_FOOD = ITEMS.register("basicfood", () -> new BasicFoodItem("basicfood"));
	
	public static final ToolSet BASIC_TOOL = ToolSetCreator.create(ITEMS, "basictool", TestItemGroups.GROUP, new Properties(), TestToolMaterial.BASIC);
	public static final ArmorSet BASIC_ARMOR = ArmorSetCreator.create(ITEMS, "basicarmor", TestItemGroups.GROUP, new Properties(), TestArmorMaterial.BASIC);
	
	public static void register(IEventBus bus) {
		ITEMS.register(bus);
	}
}

@@ -584,32 +584,37 @@
  RegistryObject%3C
+Basic
 Item%3E BASIC = IT
@@ -643,40 +643,22 @@
 m%22, 
-() -%3E new BasicItem(%22basicitem%22)
+BasicItem::new
 );%0A%09
@@ -690,24 +690,40 @@
 istryObject%3C
+BetterEnderPearl
 Item%3E BETTER
@@ -771,26 +771,16 @@
 rpearl%22,
- () -%3E new
  BetterE
@@ -796,29 +796,13 @@
 Item
-(%22better_enderpearl%22)
+::new
 );%0A%09
@@ -838,16 +838,25 @@
 yObject%3C
+BasicFood
 Item%3E BA
@@ -897,18 +897,8 @@
 od%22,
- () -%3E new
  Bas
@@ -911,21 +911,13 @@
 Item
-(%22basicfood%22)
+::new
 );%0A%09

Update test items now with easier method references