001 package net.minecraft.src;
002
003 public class BlockOreStorage extends Block
004 {
005 public BlockOreStorage(int par1, int par2)
006 {
007 super(par1, Material.iron);
008 this.blockIndexInTexture = par2;
009 this.setCreativeTab(CreativeTabs.tabBlock);
010 }
011
012 /**
013 * Returns the block texture based on the side being looked at. Args: side
014 */
015 public int getBlockTextureFromSide(int par1)
016 {
017 return this.blockIndexInTexture;
018 }
019 }