|
||||||||||
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.BlockSapling
public class BlockSapling
Field Summary | |
---|---|
static String[] |
WOOD_TYPES
|
Method Summary | |
---|---|
int |
damageDropped(int par1)
Determines the damage on the item the block drops. |
int |
getBlockTextureFromSideAndMetadata(int par1,
int par2)
From the specified side and block metadata retrieves the blocks texture. |
void |
getSubBlocks(int par1,
CreativeTabs par2CreativeTabs,
List par3List)
|
void |
growTree(World par1World,
int par2,
int par3,
int par4,
Random par5Random)
Attempts to grow a sapling into a tree |
boolean |
isSameSapling(World par1World,
int par2,
int par3,
int par4,
int par5)
Determines if the same sapling is present at the given location. |
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 |
---|
canBlockStay, canPlaceBlockAt, getCollisionBoundingBoxFromPool, getPlantID, getPlantMetadata, getPlantType, getRenderType, isOpaqueCube, onNeighborBlockChange, renderAsNormalBlock |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String[] WOOD_TYPES
Method Detail |
---|
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
updateTick
in class BlockFlower
public int getBlockTextureFromSideAndMetadata(int par1, int par2)
getBlockTextureFromSideAndMetadata
in class Block
public void growTree(World par1World, int par2, int par3, int par4, Random par5Random)
public boolean isSameSapling(World par1World, int par2, int par3, int par4, int par5)
public int damageDropped(int par1)
damageDropped
in class Block
public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List)
getSubBlocks
in class Block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |