Energy Cubes now use old localization standards

This commit is contained in:
Aidan C. Brady 2015-03-29 11:01:54 -04:00
parent 61735a27aa
commit 1c7f7a09ac
3 changed files with 7 additions and 3 deletions

View file

@ -82,7 +82,7 @@ public class ItemBlockEnergyCube extends ItemBlock implements IEnergizedItem, IE
@Override @Override
public String getItemStackDisplayName(ItemStack itemstack) public String getItemStackDisplayName(ItemStack itemstack)
{ {
return getEnergyCubeTier(itemstack).getBaseTier().getLocalizedName() + " " + metaBlock.getLocalizedName(); return MekanismUtils.localize("tile.EnergyCube" + getEnergyCubeTier(itemstack).getBaseTier().getName() + ".name");
} }
@Override @Override

View file

@ -82,7 +82,7 @@ public class TileEntityEnergyCube extends TileEntityElectricBlock implements IPe
@Override @Override
public String getInventoryName() public String getInventoryName()
{ {
return tier.getBaseTier().getLocalizedName() + " " + getBlockType().getLocalizedName(); return MekanismUtils.localize("tile.EnergyCube" + tier.getBaseTier().getName() + ".name");
} }
@Override @Override

View file

@ -177,7 +177,11 @@ item.MultipartTransmitter.DiversionTransporter.name=Diversion Transporter
item.GlowPanel.name=Glow Panel item.GlowPanel.name=Glow Panel
//Energy Cubes //Energy Cubes
tile.EnergyCube.name=Energy Cube tile.EnergyCubeBasic.name=Basic Energy Cube
tile.EnergyCubeAdvanced.name=Advanced Energy Cube
tile.EnergyCubeElite.name=Elite Energy Cube
tile.EnergyCubeUltimate.name=Ultimate Energy Cube
tile.EnergyCubeCreative.name=Creative Energy Cube
//Factory Installers //Factory Installers
item.basicFactoryInstaller.name=Basic Factory Installer item.basicFactoryInstaller.name=Basic Factory Installer