mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 20:52:22 +00:00
Improve insulated tube and color localization
This commit is contained in:
1 parent
9989eef753
commit
b7b663640d
25 files changed
+133
-106
No files matched your search
@@ -380,7 +380,7 @@ public class PlankType {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
public String getDisplayName() {
|
||||
return I18N.localise("extratrees.block.planks.ebxl." + this.toString().toLowerCase());
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ public class GlassType implements IDesignMaterial {
|
||||
GlassType.types.put(c.ordinal(), new GlassType(c.ordinal(), c.name, c.colour));
|
||||
}
|
||||
for (final EnumFlowerColor c2 : EnumFlowerColor.values()) {
|
||||
GlassType.types.put(128 + c2.ordinal(), new GlassType(128 + c2.ordinal(), c2.getFlowerColorAllele().getColourName(), c2.getFlowerColorAllele().getColor(false)));
|
||||
GlassType.types.put(128 + c2.ordinal(), new GlassType(128 + c2.ordinal(), c2.getFlowerColorAllele().getColorName(), c2.getFlowerColorAllele().getColor(false)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ public enum ExtraTreeItems implements IItemMiscProvider {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName(final ItemStack stack) {
|
||||
public String getDisplayName(final ItemStack stack) {
|
||||
return I18N.localise("extratrees.item." + name + ".name");
|
||||
}
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ public enum Food implements IItemMiscProvider {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName(final ItemStack stack) {
|
||||
public String getDisplayName(final ItemStack stack) {
|
||||
return I18N.localise("extratrees.item.food." + this.name().toLowerCase());
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public class ItemETFood extends ItemFood implements IItemModelRegister {
|
||||
@Override
|
||||
public String getItemStackDisplayName(ItemStack itemStack) {
|
||||
IItemMiscProvider item = this.getItem(itemStack.getItemDamage());
|
||||
return item.getName(itemStack);
|
||||
return item.getDisplayName(itemStack);
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
|
||||
Reference in new issue
Block a user