2013-03-28 19:03:53 +00:00
|
|
|
package tdwp_ftw.biomesop.blocks;
|
|
|
|
|
|
|
|
import tdwp_ftw.biomesop.mod_BiomesOPlenty;
|
|
|
|
|
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.block.BlockStairs;
|
2013-03-30 10:54:53 +00:00
|
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
2013-03-28 19:03:53 +00:00
|
|
|
import net.minecraft.creativetab.CreativeTabs;
|
|
|
|
import net.minecraft.world.IBlockAccess;
|
|
|
|
|
2013-03-30 10:54:53 +00:00
|
|
|
|
2013-03-28 19:03:53 +00:00
|
|
|
public class BlockAcaciaStairs extends BlockStairs
|
|
|
|
{
|
|
|
|
private final Block modelBlock;
|
|
|
|
|
2013-03-30 10:54:53 +00:00
|
|
|
public BlockAcaciaStairs(int par1, Block par2Block)
|
2013-03-28 19:03:53 +00:00
|
|
|
{
|
2013-03-30 10:54:53 +00:00
|
|
|
super(par1, par2Block, 0);
|
2013-03-28 19:03:53 +00:00
|
|
|
this.modelBlock = par2Block;
|
|
|
|
this.setBurnProperties(this.blockID, 5, 20);
|
|
|
|
this.setLightOpacity(0);
|
|
|
|
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
|
|
|
|
}
|
2013-03-30 10:54:53 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerIcons(IconRegister par1IconRegister)
|
|
|
|
{
|
|
|
|
this.blockIcon = par1IconRegister.registerIcon("BiomesOPlenty:acaciaplank");
|
|
|
|
}
|
2013-03-28 19:03:53 +00:00
|
|
|
}
|