程序包 org.bukkit.event.block

# 类 BellResonateEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BellResonateEvent

public class BellResonateEvent extends BlockEvent
Called when a bell resonated after being rung and highlights nearby raiders. A bell will only resonate if raiders are in the vicinity of the bell.

- ## 嵌套类概要

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

  `Event.Result`

- ## 字段概要

  ### 从类继承的字段 org.bukkit.event.block.BlockEvent

  `block`

- ## 构造器概要

  构造器
  构造器
  说明
  `BellResonateEvent(@NotNull Block theBlock, @NotNull List<LivingEntity> resonatedEntities)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `static @NotNull HandlerList`
  `getHandlerList()`
  `@NotNull HandlerList`
  `getHandlers()`
  `@NotNull List<LivingEntity>`
  `getResonatedEntities()`
  Get a mutable list of all `LivingEntities` to be highlighted by the bell's resonating.

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

  `getBlock`

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

  `getEventName, isAsynchronous`

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

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

- ## 构造器详细资料

  - ### BellResonateEvent

    public BellResonateEvent(@NotNull @NotNull Block theBlock, @NotNull @NotNull List<LivingEntity> resonatedEntities)

- ## 方法详细资料

  - ### getResonatedEntities

    @NotNull public @NotNull List<LivingEntity> getResonatedEntities()
    Get a mutable list of all `LivingEntities` to be highlighted by the bell's resonating. This list can be added to or removed from to change which entities are highlighted, and may be empty if no entities were resonated as a result of this event.

    While the highlighted entities will change, the particles that display over a resonated entity and their colors will not. This is handled by the client and cannot be controlled by the server.

    返回:
      a list of resonated entities

  - ### getHandlers

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

  - ### getHandlerList

    @NotNull public static @NotNull HandlerList getHandlerList()