|
||||||||||
| 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.BlockMelon
public class BlockMelon
| Field Summary |
|---|
| Method Summary | |
|---|---|
int |
getBlockTextureFromSide(int par1)
Returns the block texture based on the side being looked at. |
int |
getBlockTextureFromSideAndMetadata(int par1,
int par2)
From the specified side and block metadata retrieves the blocks texture. |
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 |
| Method Detail |
|---|
public int getBlockTextureFromSideAndMetadata(int par1,
int par2)
getBlockTextureFromSideAndMetadata in class Blockpublic int getBlockTextureFromSide(int par1)
getBlockTextureFromSide in class Block
public int idDropped(int par1,
Random par2Random,
int par3)
idDropped in class Blockpublic int quantityDropped(Random par1Random)
quantityDropped in class Block
public int quantityDroppedWithBonus(int par1,
Random par2Random)
quantityDroppedWithBonus in class Block
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||