|
||||||||||
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.BlockJukeBox
public class BlockJukeBox
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 |
TileEntity |
createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class. |
void |
dropBlockAsItemWithChance(World par1World,
int par2,
int par3,
int par4,
int par5,
float par6,
int par7)
Drops the block items with a specified chance of dropping the specified items |
void |
ejectRecord(World par1World,
int par2,
int par3,
int par4)
Ejects the current record inside of the jukebox. |
int |
getBlockTextureFromSide(int par1)
Returns the block texture based on the side being looked at. |
void |
insertRecord(World par1World,
int par2,
int par3,
int par4,
ItemStack par5ItemStack)
Insert the specified music disc in the jukebox at the given coordinates |
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.) |
Methods inherited from class net.minecraft.block.BlockContainer |
---|
createNewTileEntity, onBlockAdded, onBlockEventReceived |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getBlockTextureFromSide(int par1)
getBlockTextureFromSide
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 insertRecord(World par1World, int par2, int par3, int par4, ItemStack par5ItemStack)
public void ejectRecord(World par1World, int par2, int par3, int par4)
public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6)
breakBlock
in class BlockContainer
public void dropBlockAsItemWithChance(World par1World, int par2, int par3, int par4, int par5, float par6, int par7)
dropBlockAsItemWithChance
in class Block
public TileEntity createNewTileEntity(World par1World)
createNewTileEntity
in class BlockContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |