GoldDiggerEvent

The Gold Digger Event is an event called when breaking a crop block with Gold Digger.

Description
The GoldDiggerEvent is a class that adds two fields: the gold nugget drops that will drop and the integer experience.

Constructor
GoldDiggerEvent(Player player, int level, Block block, ItemStack goldItem, int expToDrop)
 * // Player player - the player doing the event
 * // int level - the level of Gold Digger used to break the block
 * // Block block - the block broken
 * // ItemStack goldItem - the gold nuggets that will drop from the event
 * // int expToDrop - the amount of experience that will drop from the event

Implements
None

Extends
ModifyBlockEvent

ItemStack getGoldItem
Gets the ItemStack of dropped items

setGoldItem(ItemStack goldItem)
Sets the dropped items to the specified value

int getExpToDrop
Gets the experience that will drop

void setExpToDrop(int expToDrop)
Sets the experience that will drop