|
||||||||||
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.BlockWeb
public class BlockWeb
Field Summary |
---|
Constructor Summary | |
---|---|
BlockWeb(int par1,
int par2)
|
Method Summary | |
---|---|
AxisAlignedBB |
getCollisionBoundingBoxFromPool(World par1World,
int par2,
int par3,
int par4)
Returns a bounding box from the pool of bounding boxes (this means this box can change after the pool has been cleared to be reused) |
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. |
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. |
void |
onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block). |
boolean |
renderAsNormalBlock()
If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockWeb(int par1, int par2)
Method Detail |
---|
public void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity)
onEntityCollidedWithBlock
in class Block
public boolean isOpaqueCube()
isOpaqueCube
in class Block
public AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int par4)
getCollisionBoundingBoxFromPool
in class Block
public int getRenderType()
getRenderType
in class Block
public boolean renderAsNormalBlock()
renderAsNormalBlock
in class Block
public int idDropped(int par1, Random par2Random, int par3)
idDropped
in class Block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |