|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.Block
net.minecraft.src.BlockHalfSlab
net.minecraft.src.BlockWoodSlab
public class BlockWoodSlab
Field Summary | |
---|---|
static String[] |
woodType
The type of tree this slab came from. |
Constructor Summary | |
---|---|
BlockWoodSlab(int par1,
boolean par2)
|
Method Summary | |
---|---|
int |
getBlockTextureFromSide(int par1)
Returns the block texture based on the side being looked at. |
int |
getBlockTextureFromSideAndMetadata(int par1,
int par2)
From the specified side and block metadata retrieves the blocks texture. |
String |
getFullSlabName(int par1)
Returns the slab block name with step type. |
void |
getSubBlocks(int par1,
CreativeTabs par2CreativeTabs,
List par3List)
|
int |
idDropped(int par1,
Random par2Random,
int par3)
Returns the ID of the items to drop on destruction. |
Methods inherited from class net.minecraft.src.BlockHalfSlab |
---|
addCollidingBlockToList, damageDropped, isOpaqueCube, quantityDropped, renderAsNormalBlock, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, shouldSideBeRendered, updateBlockMetadata |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String[] woodType
Constructor Detail |
---|
public BlockWoodSlab(int par1, boolean par2)
Method Detail |
---|
public int getBlockTextureFromSideAndMetadata(int par1, int par2)
getBlockTextureFromSideAndMetadata
in class Block
public int getBlockTextureFromSide(int par1)
getBlockTextureFromSide
in class BlockHalfSlab
public int idDropped(int par1, Random par2Random, int par3)
idDropped
in class Block
public String getFullSlabName(int par1)
getFullSlabName
in class BlockHalfSlab
public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List)
getSubBlocks
in class Block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |