BiomesOPlenty/src/minecraft/tdwp_ftw/biomesop/blocks/BlockMangroveStairs.java
Amnet 1cfa192433 Started API for blocks.
Logs, Planks, Slabs, Stairs, Leaves and Flowers are working.
2013-04-15 12:11:10 +02:00

28 lines
825 B
Java

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