- All Implemented Interfaces:
public class PlayerUnleashEntityEvent extends EntityUnleashEvent implements Cancellable
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
Returns the player who is unleashing the entity.
- The player
public 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
public 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.