|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.block.Block
net.minecraft.block.BlockSilverfish
public class BlockSilverfish
Field Summary | |
---|---|
static String[] |
silverfishStoneTypes
Block names that can be a silverfish stone. |
Constructor Summary | |
---|---|
BlockSilverfish(int par1)
|
Method Summary | |
---|---|
int |
getBlockTextureFromSideAndMetadata(int par1,
int par2)
From the specified side and block metadata retrieves the blocks texture. |
int |
getDamageValue(World par1World,
int par2,
int par3,
int par4)
Get the block's damage value (for use with pick block). |
static int |
getMetadataForBlockType(int par0)
Returns the metadata to use when a Silverfish hides in the block. |
static boolean |
getPosingIdByMetadata(int par0)
Gets the blockID of the block this block is pretending to be according to this block's metadata. |
void |
getSubBlocks(int par1,
CreativeTabs par2CreativeTabs,
List par3List)
|
void |
onBlockDestroyedByPlayer(World par1World,
int par2,
int par3,
int par4,
int par5)
Called right before the block is destroyed by a player. |
int |
quantityDropped(Random par1Random)
Returns the quantity of items to drop on block destruction. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String[] silverfishStoneTypes
Constructor Detail |
---|
public BlockSilverfish(int par1)
Method Detail |
---|
public int getBlockTextureFromSideAndMetadata(int par1, int par2)
getBlockTextureFromSideAndMetadata
in class Block
public void onBlockDestroyedByPlayer(World par1World, int par2, int par3, int par4, int par5)
onBlockDestroyedByPlayer
in class Block
public int quantityDropped(Random par1Random)
quantityDropped
in class Block
public static boolean getPosingIdByMetadata(int par0)
public static int getMetadataForBlockType(int par0)
public int getDamageValue(World par1World, int par2, int par3, int par4)
getDamageValue
in class Block
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 |