|
||||||||||
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.BlockContainer
public abstract class BlockContainer
Field Summary |
---|
Method Summary | |
---|---|
void |
breakBlock(World par1World,
int par2,
int par3,
int par4,
int par5,
int par6)
ejects contained items into the world, and notifies neighbours of an update, as appropriate |
abstract TileEntity |
createNewTileEntity(World var1)
Returns a new instance of a block's tile entity class. |
TileEntity |
createNewTileEntity(World world,
int metadata)
|
void |
onBlockAdded(World par1World,
int par2,
int par3,
int par4)
Called whenever the block is added into the world. |
void |
onBlockEventReceived(World par1World,
int par2,
int par3,
int par4,
int par5,
int par6)
Called when the block receives a BlockEvent - see World.addBlockEvent. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void onBlockAdded(World par1World, int par2, int par3, int par4)
onBlockAdded
in class Block
public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6)
breakBlock
in class Block
public abstract TileEntity createNewTileEntity(World var1)
public TileEntity createNewTileEntity(World world, int metadata)
public void onBlockEventReceived(World par1World, int par2, int par3, int par4, int par5, int par6)
onBlockEventReceived
in class Block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |