aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/item/base
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-12-24 17:39:23 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-12-24 17:39:23 +1000
commit530d84ed415e3cc35715e697635e9f8fb06bbd5d (patch)
treef872cbcc0c5b4a712ffcc03df8708accb50463df /src/Java/gtPlusPlus/core/item/base
parent0cfe59a8a48fa4c8dfa12043489825ffa9fadd8c (diff)
downloadGT5-Unofficial-530d84ed415e3cc35715e697635e9f8fb06bbd5d.tar.gz
GT5-Unofficial-530d84ed415e3cc35715e697635e9f8fb06bbd5d.tar.bz2
GT5-Unofficial-530d84ed415e3cc35715e697635e9f8fb06bbd5d.zip
+ Added a cape handler.
+ Gave the Helium Blob a name. + Gave core items the ability to have a name on yet another constructor. - Disabled the cape handler. % Minor improvements to the portable tanks.
Diffstat (limited to 'src/Java/gtPlusPlus/core/item/base')
-rw-r--r--src/Java/gtPlusPlus/core/item/base/CoreItem.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/core/item/base/CoreItem.java b/src/Java/gtPlusPlus/core/item/base/CoreItem.java
index 5638dac475..6c3fb531dd 100644
--- a/src/Java/gtPlusPlus/core/item/base/CoreItem.java
+++ b/src/Java/gtPlusPlus/core/item/base/CoreItem.java
@@ -47,13 +47,21 @@ public class CoreItem extends Item
}
//0.1
+ /*
+ * Name, Tab - 64 Stack, 0 Dmg
+ */
+ public CoreItem(String unlocalizedName, CreativeTabs creativeTab, ItemStack OverrideItem)
+ {
+ this(unlocalizedName, creativeTab, 64, 0, "This item will be replaced by another when helf by a player, it is old and should not be used in recipes.", EnumRarity.uncommon, EnumChatFormatting.UNDERLINE, false, OverrideItem); //Calls 5
+ }
+ //0.1
/*
* Name, Tab - 64 Stack, 0 Dmg
*/
- public CoreItem(String unlocalizedName, CreativeTabs creativeTab, ItemStack OverrideItem)
+ public CoreItem(String unlocalizedName, String displayName, CreativeTabs creativeTab, ItemStack OverrideItem)
{
this(unlocalizedName, creativeTab, 64, 0, "This item will be replaced by another when helf by a player, it is old and should not be used in recipes.", EnumRarity.uncommon, EnumChatFormatting.UNDERLINE, false, OverrideItem); //Calls 5
-
+ itemName = displayName;
}
//1