package info.u_team.u_team_core.item;

import info.u_team.u_team_core.api.registry.IURegistryType;
import net.minecraft.item.*;

public class UItem extends Item implements IURegistryType {
	
	protected final String name;
	
	public UItem(String name, Properties properties) {
		this(name, null, properties);
	}
	
	public UItem(String name, ItemGroup group, Properties properties) {
		super(group == null ? properties : properties.group(group));
		this.name = name;
	}
	
	@Override
	public String getEntryName() {
		return name;
	}
}

@@ -43,212 +43,81 @@
 ort 
-info.u_team.u_team_core.api.registry.IURegistryType;%0Aimport net.minecraft.item.*;%0A%0Apublic class UItem extends Item implements IURegistryType %7B%0A%09%0A%09protected final String name;%0A%09%0A%09public UItem(String name, 
+net.minecraft.item.*;%0A%0Apublic class UItem extends Item %7B%0A%09%0A%09public UItem(
 Prop
@@ -144,22 +144,16 @@
 %0A%09%09this(
-name, 
 null, pr
@@ -186,21 +186,8 @@
 tem(
-String name, 
 Item
@@ -292,91 +292,10 @@
 );%0A%09
-%09this.name = name;%0A%09%7D%0A%09%0A%09@Override%0A%09public String getEntryName() %7B%0A%09%09return name;%0A%09%7D
+%7D%0A%09
 %0A%7D%0A

Update UItem