BiomesOPlenty/src/minecraft/tdwp_ftw/biomesop/blocks/BlockMagicStairs.java

24 lines
678 B
Java
Raw Normal View History

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;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.world.IBlockAccess;
public class BlockMagicStairs extends BlockStairs
{
/** The block that is used as model for the stair. */
private final Block modelBlock;
public BlockMagicStairs(int par1, Block par2Block, int par3)
{
super(par1, par2Block, par3);
blockIndexInTexture = par3;
this.modelBlock = par2Block;
this.setLightOpacity(0);
this.setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty);
}
}