|
||||||||||
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.BlockFlower
net.minecraft.block.BlockMushroom
public class BlockMushroom
Field Summary |
---|
Method Summary | |
---|---|
boolean |
canBlockStay(World par1World,
int par2,
int par3,
int par4)
Can this block stay at this position. |
boolean |
canPlaceBlockAt(World par1World,
int par2,
int par3,
int par4)
Checks to see if its valid to put this block at the specified coordinates. |
boolean |
fertilizeMushroom(World par1World,
int par2,
int par3,
int par4,
Random par5Random)
Fertilize the mushroom. |
void |
updateTick(World par1World,
int par2,
int par3,
int par4,
Random par5Random)
Ticks the block if it's been scheduled |
Methods inherited from class net.minecraft.block.BlockFlower |
---|
getCollisionBoundingBoxFromPool, getPlantID, getPlantMetadata, getPlantType, getRenderType, isOpaqueCube, onNeighborBlockChange, renderAsNormalBlock |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
updateTick
in class BlockFlower
public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4)
canPlaceBlockAt
in class BlockFlower
public boolean canBlockStay(World par1World, int par2, int par3, int par4)
canBlockStay
in class BlockFlower
public boolean fertilizeMushroom(World par1World, int par2, int par3, int par4, Random par5Random)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |