|
||||||||||
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.BlockFurnace
public class BlockFurnace
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. |
int |
getBlockTexture(IBlockAccess par1IBlockAccess,
int par2,
int par3,
int par4,
int par5)
|
int |
getBlockTextureFromSide(int par1)
Returns the block texture based on the side being looked at. |
int |
idDropped(int par1,
Random par2Random,
int par3)
Returns the ID of the items to drop on destruction. |
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 |
onBlockAdded(World par1World,
int par2,
int par3,
int par4)
Called whenever the block is added into the world. |
void |
onBlockPlacedBy(World par1World,
int par2,
int par3,
int par4,
EntityLiving par5EntityLiving)
Called when the block is placed in the world. |
void |
randomDisplayTick(World par1World,
int par2,
int par3,
int par4,
Random par5Random)
|
static void |
updateFurnaceBlockState(boolean par0,
World par1World,
int par2,
int par3,
int par4)
Update which block ID the furnace is using depending on whether or not it is burning |
Methods inherited from class net.minecraft.block.BlockContainer |
---|
createNewTileEntity, onBlockEventReceived |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int idDropped(int par1, Random par2Random, int par3)
idDropped
in class Block
public void onBlockAdded(World par1World, int par2, int par3, int par4)
onBlockAdded
in class BlockContainer
public int getBlockTexture(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
getBlockTexture
in class Block
public void randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random)
randomDisplayTick
in class Block
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 static void updateFurnaceBlockState(boolean par0, World par1World, int par2, int par3, int par4)
public TileEntity createNewTileEntity(World par1World)
createNewTileEntity
in class BlockContainer
public void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving)
onBlockPlacedBy
in class Block
public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6)
breakBlock
in class BlockContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |