org.bukkit.event.entity
Class EntityUnleashEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityUnleashEvent
- Direct Known Subclasses:
- PlayerUnleashEntityEvent
public class EntityUnleashEvent
- extends EntityEvent
Called immediately prior to an entity being unleashed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityUnleashEvent
public EntityUnleashEvent(Entity entity,
EntityUnleashEvent.UnleashReason reason)
getReason
public EntityUnleashEvent.UnleashReason getReason()
- Returns the reason for the unleashing.
- Returns:
- The reason
getHandlers
public HandlerList getHandlers()
- Specified by:
getHandlers
in class Event
getHandlerList
public static HandlerList getHandlerList()
Copyright © 2013. All Rights Reserved.