BiomesOPlenty/src/minecraft/tdwp_ftw/biomesop/blocks/BlockFirStairs.java
2013-03-30 18:14:03 +01:00

31 lines
892 B
Java

package tdwp_ftw.biomesop.blocks;
import tdwp_ftw.biomesop.mod_BiomesOPlenty;
import net.minecraft.block.Block;
import net.minecraft.block.BlockStairs;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.world.IBlockAccess;
public class BlockFirStairs extends BlockStairs
{
/** The block that is used as model for the stair. */
private final Block modelBlock;
public BlockFirStairs(int par1, Block par2Block)
{
super(par1, par2Block, 0);
this.modelBlock = par2Block;
this.setBurnProperties(this.blockID, 5, 20);
this.setLightOpacity(0);
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
}
@Override
public void registerIcons(IconRegister par1IconRegister)
{
this.blockIcon = par1IconRegister.registerIcon("BiomesOPlenty:firplank");
}
}