package info.u_team.u_team_core.item.tool;

import info.u_team.u_team_core.api.registry.IUArrayRegistryType;
import net.minecraft.item.Item;

public class ToolSet implements IUArrayRegistryType<Item> {
	
	private final UAxeItem axe;
	private final UHoeItem hoe;
	private final UPickaxeItem pickaxe;
	private final UShovelItem shovel;
	private final USwordItem sword;
	
	public ToolSet(UAxeItem axe, UHoeItem hoe, UPickaxeItem pickaxe, UShovelItem shovel, USwordItem sword) {
		this.axe = axe;
		this.hoe = hoe;
		this.pickaxe = pickaxe;
		this.shovel = shovel;
		this.sword = sword;
	}
	
	@Override
	public Item[] getArray() {
		return new Item[] { axe, hoe, pickaxe, shovel, sword };
	}
	
	public UAxeItem getAxe() {
		return axe;
	}
	
	public UHoeItem getHoe() {
		return hoe;
	}
	
	public UPickaxeItem getPickaxe() {
		return pickaxe;
	}
	
	public UShovelItem getShovel() {
		return shovel;
	}
	
	public USwordItem getSword() {
		return sword;
	}
	
}

@@ -48,156 +48,68 @@
 ort 
-info.u_team.u_team_core.api.registry.IUArrayRegistryType;%0Aimport net.minecraft.item.Item;%0A%0Apublic class ToolSet implements IUArrayRegistryType%3CItem%3E
+net.minecraftforge.fml.RegistryObject;%0A%0Apublic class ToolSet
  %7B%0A%09
@@ -124,24 +124,39 @@
 e final 
+RegistryObject%3C
 UAxeItem
  axe;%0A%09p
@@ -143,24 +143,25 @@
 ect%3CUAxeItem
+%3E
  axe;%0A%09priva
@@ -169,24 +169,39 @@
 e final 
+RegistryObject%3C
 UHoeItem
  hoe;%0A%09p
@@ -188,24 +188,25 @@
 ect%3CUHoeItem
+%3E
  hoe;%0A%09priva
@@ -214,16 +214,31 @@
 e final 
+RegistryObject%3C
 UPickaxe
@@ -233,32 +233,33 @@
 ect%3CUPickaxeItem
+%3E
  pickaxe;%0A%09priva
@@ -267,16 +267,31 @@
 e final 
+RegistryObject%3C
 UShovelI
@@ -289,24 +289,25 @@
 %3CUShovelItem
+%3E
  shovel;%0A%09pr
@@ -318,16 +318,31 @@
 e final 
+RegistryObject%3C
 USwordIt
@@ -339,24 +339,25 @@
 t%3CUSwordItem
+%3E
  sword;%0A%09%0A%09p
@@ -370,24 +370,39 @@
 ToolSet(
+RegistryObject%3C
 UAxeItem
  axe, UH
@@ -397,22 +397,38 @@
 Item
+%3E
  axe, 
+RegistryObject%3C
 UHoeItem
  hoe
@@ -423,22 +423,38 @@
 UHoeItem
+%3E
  hoe, 
+RegistryObject%3C
 UPickaxe
@@ -457,16 +457,17 @@
 kaxeItem
+%3E
  pickaxe
@@ -468,16 +468,31 @@
 ickaxe, 
+RegistryObject%3C
 UShovelI
@@ -494,16 +494,17 @@
 ovelItem
+%3E
  shovel,
@@ -504,16 +504,31 @@
 shovel, 
+RegistryObject%3C
 USwordIt
@@ -529,16 +529,17 @@
 wordItem
+%3E
  sword) 
@@ -658,125 +658,38 @@
 %0A%09%0A%09
-@Override%0A%09public Item%5B%5D getArray() %7B%0A%09%09return new Item%5B%5D %7B axe, hoe, pickaxe, shovel, sword %7D;%0A%09%7D%0A%09%0A%09public 
+public RegistryObject%3C
 UAxeItem
  get
@@ -680,24 +680,25 @@
 ect%3CUAxeItem
+%3E
  getAxe() %7B%0A
@@ -724,24 +724,39 @@
 %09public 
+RegistryObject%3C
 UHoeItem
  getHoe(
@@ -743,24 +743,25 @@
 ect%3CUHoeItem
+%3E
  getHoe() %7B%0A
@@ -787,16 +787,31 @@
 %09public 
+RegistryObject%3C
 UPickaxe
@@ -810,24 +810,25 @@
 UPickaxeItem
+%3E
  getPickaxe(
@@ -862,16 +862,31 @@
 %09public 
+RegistryObject%3C
 UShovelI
@@ -884,24 +884,25 @@
 %3CUShovelItem
+%3E
  getShovel()
@@ -934,16 +934,31 @@
 %09public 
+RegistryObject%3C
 USwordIt
@@ -959,16 +959,17 @@
 wordItem
+%3E
  getSwor

Update tool set