2013-04-16 08:19:59 +00:00
|
|
|
package biomesoplenty.blocks;
|
2013-04-16 06:43:45 +00:00
|
|
|
|
2013-04-19 09:35:26 +00:00
|
|
|
import biomesoplenty.BiomesOPlenty;
|
2013-03-28 19:03:53 +00:00
|
|
|
|
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.block.BlockStairs;
|
2013-03-30 17:14:03 +00:00
|
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
2013-03-28 19:03:53 +00:00
|
|
|
|
2013-04-15 10:11:10 +00:00
|
|
|
@Deprecated
|
2013-03-28 19:03:53 +00:00
|
|
|
public class BlockHolyStairs extends BlockStairs
|
|
|
|
{
|
|
|
|
/** The block that is used as model for the stair. */
|
|
|
|
private final Block modelBlock;
|
|
|
|
|
2013-03-30 17:14:03 +00:00
|
|
|
public BlockHolyStairs(int par1, Block par2Block)
|
2013-03-28 19:03:53 +00:00
|
|
|
{
|
2013-03-30 17:14:03 +00:00
|
|
|
super(par1, par2Block, 0);
|
2013-03-28 19:03:53 +00:00
|
|
|
this.modelBlock = par2Block;
|
|
|
|
this.setLightOpacity(0);
|
|
|
|
this.setBurnProperties(this.blockID, 5, 20);
|
2013-04-19 09:35:26 +00:00
|
|
|
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
2013-03-28 19:03:53 +00:00
|
|
|
}
|
2013-03-30 17:14:03 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerIcons(IconRegister par1IconRegister)
|
|
|
|
{
|
|
|
|
this.blockIcon = par1IconRegister.registerIcon("BiomesOPlenty:holyplank");
|
|
|
|
}
|
2013-03-28 19:03:53 +00:00
|
|
|
}
|