package se.jereq.testmod.item;

import net.minecraft.item.Item;
import se.jereq.testmod.reference.Reference;

public class ItemBase extends Item {

	protected String name;

	public ItemBase(String name) {
		super();
		this.name = name;
		setUnlocalizedName(Reference.MOD_ID + "_" + name);
	}

	public String getName() {
		return name;
	}
}

@@ -215,28 +215,196 @@
 ;%0A%09%09
-this.name = n
+setUnlocalizedName(name);%0A%09%7D%0A%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09@Override%0A%09public ItemBase setUnlocalizedName(String unlocalizedName) %7B%0A%09%09this.name = unlocalizedN
 ame;%0A%09%09
+super.
 setU
@@ -447,45 +447,25 @@
 %22 + 
-name);%0A%09%7D%0A%0A%09public String getName() %7B
+unlocalizedName);
 %0A%09%09r
@@ -466,23 +466,23 @@
 );%0A%09%09return 
-name
+this
 ;%0A%09%7D%0A%7D%0A

Handle setting of unlocalized name in ItemBase