Class EntityExhaustionEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityExhaustionEvent
All Implemented Interfaces:
Cancellable

public class EntityExhaustionEvent extends EntityEvent implements Cancellable
Called when a human entity experiences exhaustion. An exhaustion level greater than 4.0 causes a decrease in saturation by 1.