From 3f4c717de5ebc9b942d65ae45ac87c43bdf8a31b Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Tue, 3 Feb 2015 21:09:09 +0000 Subject: Made a few modifications to some classes, added earrings and bracelets. Improved coloring algorithm and balanced the Thieving Glove --- java/darkknight/jewelrycraft/item/ItemClayMolds.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'java/darkknight/jewelrycraft/item/ItemClayMolds.java') diff --git a/java/darkknight/jewelrycraft/item/ItemClayMolds.java b/java/darkknight/jewelrycraft/item/ItemClayMolds.java index 8c2eafa..29a2526 100644 --- a/java/darkknight/jewelrycraft/item/ItemClayMolds.java +++ b/java/darkknight/jewelrycraft/item/ItemClayMolds.java @@ -15,7 +15,7 @@ public class ItemClayMolds extends Item { /** List of molds color names */ public static final String[] moldsItemNames = new String[] - { "clayIngot", "clayRing", "clayNecklace" }; + { "clayIngot", "clayRing", "clayNecklace", "clayBracelet", "clayEarrings"}; @SideOnly(Side.CLIENT) private IIcon[] moldsIcons; @@ -42,7 +42,7 @@ public class ItemClayMolds extends Item * ItemStack so different stacks can have different names based on their * damage or NBT. */ - public String getUnlocalizedNameInefficiently(ItemStack par1ItemStack) + public String getUnlocalizedName(ItemStack par1ItemStack) { int i = MathHelper.clamp_int(par1ItemStack.getItemDamage(), 0, moldsItemNames.length - 1); return super.getUnlocalizedName() + "." + moldsItemNames[i]; -- cgit v1.2.3