|
||||||||||
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
net.minecraft.block.BlockNote
public class BlockNote
Field Summary |
---|
Constructor Summary | |
---|---|
BlockNote(int par1)
|
Method Summary | |
---|---|
TileEntity |
createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class. |
int |
getBlockTextureFromSide(int par1)
Returns the block texture based on the side being looked at. |
boolean |
onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
void |
onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
onBlockEventReceived(World par1World,
int par2,
int par3,
int par4,
int par5,
int par6)
Called when the block receives a BlockEvent - see World.addBlockEvent. |
void |
onNeighborBlockChange(World par1World,
int par2,
int par3,
int par4,
int par5)
Lets the block know when one of its neighbor changes. |
Methods inherited from class net.minecraft.block.BlockContainer |
---|
breakBlock, createNewTileEntity, onBlockAdded |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockNote(int par1)
Method Detail |
---|
public int getBlockTextureFromSide(int par1)
getBlockTextureFromSide
in class Block
public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5)
onNeighborBlockChange
in class Block
public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9)
onBlockActivated
in class Block
public void onBlockClicked(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer)
onBlockClicked
in class Block
public TileEntity createNewTileEntity(World par1World)
createNewTileEntity
in class BlockContainer
public void onBlockEventReceived(World par1World, int par2, int par3, int par4, int par5, int par6)
onBlockEventReceived
in class BlockContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |