|
||||||||||
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.BlockOre
public class BlockOre
Field Summary |
---|
Constructor Summary | |
---|---|
BlockOre(int par1,
int par2)
|
Method Summary | |
---|---|
int |
damageDropped(int par1)
Determines the damage on the item the block drops. |
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 |
int |
idDropped(int par1,
Random par2Random,
int par3)
Returns the ID of the items to drop on destruction. |
int |
quantityDropped(Random par1Random)
Returns the quantity of items to drop on block destruction. |
int |
quantityDroppedWithBonus(int par1,
Random par2Random)
Returns the usual quantity dropped by the block plus a bonus of 1 to 'i' (inclusive). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockOre(int par1, int par2)
Method Detail |
---|
public int idDropped(int par1, Random par2Random, int par3)
idDropped
in class Block
public int quantityDropped(Random par1Random)
quantityDropped
in class Block
public int quantityDroppedWithBonus(int par1, Random par2Random)
quantityDroppedWithBonus
in class Block
public void dropBlockAsItemWithChance(World par1World, int par2, int par3, int par4, int par5, float par6, int par7)
dropBlockAsItemWithChance
in class Block
public int damageDropped(int par1)
damageDropped
in class Block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |