Fixed Crafting MB Names.
This commit is contained in:
@@ -17,6 +17,21 @@ public class BlockCraftingStorage extends BlockCraftingUnit
|
||||
setTileEntiy( TileCraftingStorageTile.class );
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUnlocalizedName(ItemStack is)
|
||||
{
|
||||
if ( is.getItemDamage() == 1 )
|
||||
return "tile.appliedenergistics2.BlockCraftingStorage4k";
|
||||
|
||||
if ( is.getItemDamage() == 2 )
|
||||
return "tile.appliedenergistics2.BlockCraftingStorage16k";
|
||||
|
||||
if ( is.getItemDamage() == 3 )
|
||||
return "tile.appliedenergistics2.BlockCraftingStorage64k";
|
||||
|
||||
return getItemUnlocalizedName( is );
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIcon getIcon(int direction, int metadata)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user