|
||||||||||
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.BlockStem
public class BlockStem
Field Summary |
---|
Method Summary | |
---|---|
int |
colorMultiplier(IBlockAccess par1IBlockAccess,
int par2,
int par3,
int par4)
|
void |
dropBlockAsItemWithChance(World par1World,
int par2,
int par3,
int par4,
int par5,
float par6,
int par7)
Drops the block items with a specified chance of dropping the specified items |
void |
fertilizeStem(World par1World,
int par2,
int par3,
int par4)
|
ArrayList<ItemStack> |
getBlockDropped(World world,
int x,
int y,
int z,
int metadata,
int fortune)
This returns a complete list of items dropped from this block. |
int |
getBlockTextureFromSideAndMetadata(int par1,
int par2)
From the specified side and block metadata retrieves the blocks texture. |
int |
getRenderColor(int par1)
|
int |
getRenderType()
The type of render function that is called for this block |
int |
getState(IBlockAccess par1IBlockAccess,
int par2,
int par3,
int par4)
|
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)
|
int |
quantityDropped(Random par1Random)
Returns the quantity of items to drop on block destruction. |
void |
setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess,
int par2,
int par3,
int par4)
Updates the blocks bounds based on its current state. |
void |
setBlockBoundsForItemRender()
Sets the block's bounds for rendering it as an item |
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, 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 void fertilizeStem(World par1World, int par2, int par3, int par4)
public int getRenderColor(int par1)
getRenderColor
in class Block
public int colorMultiplier(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
colorMultiplier
in class Block
public int getBlockTextureFromSideAndMetadata(int par1, int par2)
getBlockTextureFromSideAndMetadata
in class Block
public void setBlockBoundsForItemRender()
setBlockBoundsForItemRender
in class Block
public void setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
setBlockBoundsBasedOnState
in class Block
public int getRenderType()
getRenderType
in class BlockFlower
public int getState(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
public void dropBlockAsItemWithChance(World par1World, int par2, int par3, int par4, int par5, float par6, int par7)
dropBlockAsItemWithChance
in class Block
public ArrayList<ItemStack> getBlockDropped(World world, int x, int y, int z, int metadata, int fortune)
Block
getBlockDropped
in class Block
world
- The current worldx
- X Positiony
- Y Positionz
- Z Positionmetadata
- Current metadatafortune
- Breakers fortune level
public int idDropped(int par1, Random par2Random, int par3)
idDropped
in class Block
public int quantityDropped(Random par1Random)
quantityDropped
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 |