|
||||||||||
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.BlockBrewingStand
public class BlockBrewingStand
Field Summary |
---|
Constructor Summary | |
---|---|
BlockBrewingStand(int par1)
|
Method Summary | |
---|---|
void |
addCollidingBlockToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
if the specified block is in the given AABB, add its collision bounding box to the given list |
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 |
getRenderType()
The type of render function that is called for this block |
int |
idDropped(int par1,
Random par2Random,
int par3)
Returns the ID of the items to drop on destruction. |
int |
idPicked(World par1World,
int par2,
int par3,
int par4)
|
boolean |
isOpaqueCube()
Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block. |
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 |
randomDisplayTick(World par1World,
int par2,
int par3,
int par4,
Random par5Random)
|
boolean |
renderAsNormalBlock()
If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc) |
void |
setBlockBoundsForItemRender()
Sets the block's bounds for rendering it as an item |
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 |
Constructor Detail |
---|
public BlockBrewingStand(int par1)
Method Detail |
---|
public boolean isOpaqueCube()
isOpaqueCube
in class Block
public int getRenderType()
getRenderType
in class Block
public TileEntity createNewTileEntity(World par1World)
createNewTileEntity
in class BlockContainer
public boolean renderAsNormalBlock()
renderAsNormalBlock
in class Block
public void addCollidingBlockToList(World par1World, int par2, int par3, int par4, AxisAlignedBB par5AxisAlignedBB, List par6List, Entity par7Entity)
addCollidingBlockToList
in class Block
public void setBlockBoundsForItemRender()
setBlockBoundsForItemRender
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 randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random)
randomDisplayTick
in class Block
public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6)
breakBlock
in class BlockContainer
public int idDropped(int par1, Random par2Random, int par3)
idDropped
in class Block
public int idPicked(World par1World, int par2, int par3, int par4)
idPicked
in class Block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |