From 530d84ed415e3cc35715e697635e9f8fb06bbd5d Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Sat, 24 Dec 2016 17:39:23 +1000 Subject: + 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. --- src/Java/gtPlusPlus/core/item/base/CoreItem.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/Java/gtPlusPlus/core/item/base') 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 @@ -46,14 +46,22 @@ public class CoreItem extends Item itemName = displayName; } + //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 -- cgit