diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-06-02 11:45:15 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-06-02 11:45:15 +1000 |
commit | a3735e8ef75eb98de7493d706d5b8d163fed9d25 (patch) | |
tree | 9b7562815ef1f85b44372fd29f45679ec99777f5 /src/Java/gtPlusPlus/core/item/base | |
parent | a42dc8bfc43bf088447db6e4c92d3e1a8bd11a30 (diff) | |
download | GT5-Unofficial-a3735e8ef75eb98de7493d706d5b8d163fed9d25.tar.gz GT5-Unofficial-a3735e8ef75eb98de7493d706d5b8d163fed9d25.tar.bz2 GT5-Unofficial-a3735e8ef75eb98de7493d706d5b8d163fed9d25.zip |
+ Added ULV component Recipes.
+ Added a small wrought iron gear if it doesn't exist.
+ Added a Lithium plate if it doesn't exist.
Diffstat (limited to 'src/Java/gtPlusPlus/core/item/base')
-rw-r--r-- | src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java b/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java index 4729b2182a..54be041972 100644 --- a/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java +++ b/src/Java/gtPlusPlus/core/item/base/BaseItemComponent.java @@ -64,6 +64,9 @@ public class BaseItemComponent extends Item{ if (this.componentType == ComponentTypes.GEAR){ return "gregtech" + ":" + "materialicons/METALLIC/" + "gearGt"; } + else if (this.componentType == ComponentTypes.SMALLGEAR){ + return "gregtech" + ":" + "materialicons/METALLIC/" + "gearGtSmall"; + } else if (this.componentType == ComponentTypes.ROD){ return "gregtech" + ":" + "materialicons/METALLIC/" + "stick"; } @@ -79,6 +82,10 @@ public class BaseItemComponent extends Item{ @Override public String getItemStackDisplayName(final ItemStack p_77653_1_) { + if (this.componentType == ComponentTypes.SMALLGEAR){ + return "Small " + this.materialName+" Gear"; + } + if (this.componentMaterial != null) { return (this.componentMaterial.getLocalizedName()+this.componentType.DISPLAY_NAME); } @@ -181,6 +188,7 @@ public class BaseItemComponent extends Item{ ROD("Rod", " Rod", "stick"), RODLONG("RodLong", " Long Rod", "stickLong"), GEAR("Gear", " Gear", "gear"), + SMALLGEAR("SmallGear", " Gear", "gearGtSmall"), //TODO SCREW("Screw", " Screw", "screw"), BOLT("Bolt", " Bolt", "bolt"), ROTOR("Rotor", " Rotor", "rotor"), |