程序包 org.bukkit.event.entity

# 类 TrialSpawnerSpawnEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntitySpawnEvent
org.bukkit.event.entity.TrialSpawnerSpawnEvent

所有已实现的接口:
  `Cancellable`

@Experimental public class TrialSpawnerSpawnEvent extends EntitySpawnEvent
Called when an entity is spawned into a world by a trial spawner.

If a Trial Spawner Spawn event is cancelled, the entity will not spawn.

- ## 嵌套类概要

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

  `Event.Result`

- ## 字段概要

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

  `entity`

- ## 构造器概要

  构造器
  构造器
  说明
  `TrialSpawnerSpawnEvent(@NotNull Entity spawnee, @NotNull TrialSpawner spawner)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull TrialSpawner`
  `getTrialSpawner()`

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

  `getHandlerList, getHandlers, getLocation, isCancelled, setCancelled`

  ### 从类继承的方法 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`

- ## 构造器详细资料

  - ### TrialSpawnerSpawnEvent

    public TrialSpawnerSpawnEvent(@NotNull @NotNull Entity spawnee, @NotNull @NotNull TrialSpawner spawner)

- ## 方法详细资料

  - ### getTrialSpawner

    @NotNull public @NotNull TrialSpawner getTrialSpawner()