summaryrefslogtreecommitdiff
path: root/java/darkknight/jewelrycraft/item/ItemClayMolds.java
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-02-03 21:09:09 +0000
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-02-03 21:09:09 +0000
commit3f4c717de5ebc9b942d65ae45ac87c43bdf8a31b (patch)
tree15c68c8b61dbd0b7f44937a5c790c4b844e50f58 /java/darkknight/jewelrycraft/item/ItemClayMolds.java
parent73ca377dc01f859dabd7b07738cb7aeb762272b1 (diff)
Made a few modifications to some classes, added earrings and bracelets. Improved coloring algorithm and balanced the Thieving Glove
Diffstat (limited to 'java/darkknight/jewelrycraft/item/ItemClayMolds.java')
-rw-r--r--java/darkknight/jewelrycraft/item/ItemClayMolds.java4
1 files changed, 2 insertions, 2 deletions
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];