diff options
author | iouter <62897714+iouter@users.noreply.github.com> | 2022-10-18 01:09:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 19:09:51 +0200 |
commit | d316cb046b3031f4fc97085acf2a28d5044042f1 (patch) | |
tree | 170e0642b00e54ae677f7448f1efb7c59477a036 /src | |
parent | 00d80de1e20af03f36e881fe6d9ba2ba2c8a9bb0 (diff) | |
download | GT5-Unofficial-d316cb046b3031f4fc97085acf2a28d5044042f1.tar.gz GT5-Unofficial-d316cb046b3031f4fc97085acf2a28d5044042f1.tar.bz2 GT5-Unofficial-d316cb046b3031f4fc97085acf2a28d5044042f1.zip |
fix double plate and long rod cant localized (#405)
* fix double plate and long rod cant localized
* sa
Diffstat (limited to 'src')
3 files changed, 3 insertions, 15 deletions
diff --git a/src/main/java/gtPlusPlus/core/item/base/BaseItemComponent.java b/src/main/java/gtPlusPlus/core/item/base/BaseItemComponent.java index 361d1bb066..46c40a3bdc 100644 --- a/src/main/java/gtPlusPlus/core/item/base/BaseItemComponent.java +++ b/src/main/java/gtPlusPlus/core/item/base/BaseItemComponent.java @@ -1022,11 +1022,11 @@ public class BaseItemComponent extends Item { INGOT("Ingot", " Ingot", "ingot", OrePrefixes.ingot), HOTINGOT("HotIngot", "Hot@Ingot", "ingotHot", OrePrefixes.ingotHot), PLATE("Plate", " Plate", "plate", OrePrefixes.plate), - PLATEDOUBLE("PlateDouble", " Double Plate", "plateDouble", OrePrefixes.plateDouble), + PLATEDOUBLE("PlateDouble", "Double@Plate", "plateDouble", OrePrefixes.plateDouble), ROD("Rod", " Rod", "stick", OrePrefixes.stick), - RODLONG("RodLong", " Long Rod", "stickLong", OrePrefixes.stickLong), + RODLONG("RodLong", "Long@Rod", "stickLong", OrePrefixes.stickLong), GEAR("Gear", " Gear", "gearGt", OrePrefixes.gearGt), - SMALLGEAR("SmallGear", " Gear", "gearGtSmall", OrePrefixes.gearGtSmall), // TODO + SMALLGEAR("SmallGear", "Small@Gear", "gearGtSmall", OrePrefixes.gearGtSmall), // TODO SCREW("Screw", " Screw", "screw", OrePrefixes.screw), BOLT("Bolt", " Bolt", "bolt", OrePrefixes.bolt), ROTOR("Rotor", " Rotor", "rotor", OrePrefixes.rotor), diff --git a/src/main/java/gtPlusPlus/core/item/base/plates/BaseItemPlateDouble.java b/src/main/java/gtPlusPlus/core/item/base/plates/BaseItemPlateDouble.java index 3d3ebaa76d..4f5bc12829 100644 --- a/src/main/java/gtPlusPlus/core/item/base/plates/BaseItemPlateDouble.java +++ b/src/main/java/gtPlusPlus/core/item/base/plates/BaseItemPlateDouble.java @@ -2,7 +2,6 @@ package gtPlusPlus.core.item.base.plates; import gtPlusPlus.core.item.base.BaseItemComponent; import gtPlusPlus.core.material.Material; -import net.minecraft.item.ItemStack; public class BaseItemPlateDouble extends BaseItemComponent { @@ -10,9 +9,4 @@ public class BaseItemPlateDouble extends BaseItemComponent { super(material, BaseItemComponent.ComponentTypes.PLATEDOUBLE); this.setMaxStackSize(32); } - - @Override - public String getItemStackDisplayName(final ItemStack p_77653_1_) { - return ("Double " + this.materialName + " Plate"); - } } diff --git a/src/main/java/gtPlusPlus/core/item/base/rods/BaseItemRodLong.java b/src/main/java/gtPlusPlus/core/item/base/rods/BaseItemRodLong.java index 097d6ddd39..bf7dd3bccc 100644 --- a/src/main/java/gtPlusPlus/core/item/base/rods/BaseItemRodLong.java +++ b/src/main/java/gtPlusPlus/core/item/base/rods/BaseItemRodLong.java @@ -2,16 +2,10 @@ package gtPlusPlus.core.item.base.rods; import gtPlusPlus.core.item.base.BaseItemComponent; import gtPlusPlus.core.material.Material; -import net.minecraft.item.ItemStack; public class BaseItemRodLong extends BaseItemComponent { public BaseItemRodLong(final Material material) { super(material, BaseItemComponent.ComponentTypes.RODLONG); } - - @Override - public String getItemStackDisplayName(final ItemStack p_77653_1_) { - return ("Long " + this.materialName + " Rod"); - } } |