29 lines
758 B
Java
29 lines
758 B
Java
|
package biomesoplenty.blocks;
|
||
|
|
||
|
import biomesoplenty.BiomesOPlenty;
|
||
|
|
||
|
import net.minecraft.block.Block;
|
||
|
import net.minecraft.block.BlockStairs;
|
||
|
import net.minecraft.client.renderer.texture.IconRegister;
|
||
|
|
||
|
@Deprecated
|
||
|
public class BlockMudBrickStairs extends BlockStairs
|
||
|
{
|
||
|
/** The block that is used as model for the stair. */
|
||
|
private final Block modelBlock;
|
||
|
|
||
|
public BlockMudBrickStairs(int par1, Block par2Block)
|
||
|
{
|
||
|
super(par1, par2Block, 0);
|
||
|
this.modelBlock = par2Block;
|
||
|
this.setLightOpacity(0);
|
||
|
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void registerIcons(IconRegister par1IconRegister)
|
||
|
{
|
||
|
this.blockIcon = par1IconRegister.registerIcon("BiomesOPlenty:mudbrick");
|
||
|
}
|
||
|
}
|