- All Implemented Interfaces:
Called prior to an entity being unleashed due to a player's action.
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.entity.EntityUnleashEvent
Methods inherited from class org.bukkit.event.entity.EntityUnleashEvent
getHandlerList, getHandlers, getReason
getPlayerReturns the player who is unleashing the entity.
- The player
isCancelledpublic boolean isCancelled()Description copied from interface:
CancellableGets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins
setCancelledpublic void setCancelled
(boolean cancel)Description copied from interface:
CancellableSets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins.