程序包 org.bukkit.event.entity

# 类 EntityUnleashEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityUnleashEvent

直接已知子类:
  `PlayerUnleashEntityEvent`

public class EntityUnleashEvent extends EntityEvent
Called immediately prior to an entity being unleashed.

- ## 嵌套类概要

  嵌套类
  修饰符和类型
  类
  说明
  `static enum`
  `EntityUnleashEvent.UnleashReason`

  ## 从类继承的嵌套类/接口 org.bukkit.event.Event

  `Event.Result`

- ## 字段概要

  ### 从类继承的字段 org.bukkit.event.entity.EntityEvent

  `entity`

- ## 构造器概要

  构造器
  构造器
  说明
  `EntityUnleashEvent(@NotNull Entity entity, @NotNull EntityUnleashEvent.UnleashReason reason)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `static @NotNull HandlerList`
  `getHandlerList()`
  `@NotNull HandlerList`
  `getHandlers()`
  `@NotNull EntityUnleashEvent.UnleashReason`
  `getReason()`
  Returns the reason for the unleashing.

  ### 从类继承的方法 org.bukkit.event.entity.EntityEvent

  `getEntity, getEntityType`

  ### 从类继承的方法 org.bukkit.event.Event

  `getEventName, isAsynchronous`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### EntityUnleashEvent

    public EntityUnleashEvent(@NotNull @NotNull Entity entity, @NotNull @NotNull EntityUnleashEvent.UnleashReason reason)

- ## 方法详细资料

  - ### getReason

    @NotNull public @NotNull EntityUnleashEvent.UnleashReason getReason()
    Returns the reason for the unleashing.
    返回:
      The reason

  - ### getHandlers

    @NotNull public @NotNull HandlerList getHandlers()
    指定者:
      `getHandlers` 在类中 `Event`

  - ### getHandlerList

    @NotNull public static @NotNull HandlerList getHandlerList()