AnglerEvent

The Angler Event is an event called when a fishing rod with Angler is used to catch a fish.

Description
The Angler Event is a simple event class; it only adds one extra field, which controls how many fish will be fished up. This is default the level of Angler + 1; it is possible to modify this value.

Constructor
AnglerEvent(Player who, Material fish, int level)
 * // Player who - the player fishing
 * // Material fish - the material being fished out of the water
 * // int level - the level of Angler on the fishing rod

Implements
None

Extends
FishingEvent

int getFishAmount
Returns the amount of fish that will spawn from the fishing event.

void setFishAmount(int fishAmount)
Sets the amount of fish that should spawn from the fishing event.