ExhaustionEvent

The Exhaustion Event is an event called every 4 ticks to increase the amount of exhaustion given to a player.

Description
The ExhaustionEvent is a simple class that extends the ModifyActionEvent. It implements two new fields, the multiplier double that controls how much and the exhaustionTick float that states how much exhaustion happened in the past few ticks.

Constructor
ExhaustionEvent(Player who, double multiplier, float exhaustionTick)
 * // Player player - the player experiencing the exhaustion
 * // double multiplier - the multiplier of the exhaustion
 * // float exhaustionTick - the amount of exhaustion in the past 4 ticks

Implements
None

Extends
ModifyActionEvent

double getMultiplier
Returns the multiplier of this event.

void setMultiplier(double multiplier)
Sets the multiplier to the specified value

float getExhaustionTick
Returns the exhaustion experienced by the player the past few ticks.