程序包 org.bukkit.event.player

# 类 PlayerHideEntityEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerHideEntityEvent

public class PlayerHideEntityEvent extends PlayerEvent
Called when a visible entity is hidden from a player.
This event is only called when the entity's visibility status is actually changed.
This event is called regardless of if the entity was within tracking range.

另请参阅:
  - `Player.hideEntity(org.bukkit.plugin.Plugin, org.bukkit.entity.Entity)`

- ## 嵌套类概要

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

  `Event.Result`

- ## 字段概要

  ### 从类继承的字段 org.bukkit.event.player.PlayerEvent

  `player`

- ## 构造器概要

  构造器
  构造器
  说明
  `PlayerHideEntityEvent(@NotNull Player who, @NotNull Entity entity)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull Entity`
  `getEntity()`
  Gets the entity which has been hidden from the player.
  `static @NotNull HandlerList`
  `getHandlerList()`
  `@NotNull HandlerList`
  `getHandlers()`

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

  `getPlayer`

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

  `getEventName, isAsynchronous`

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

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

- ## 构造器详细资料

  - ### PlayerHideEntityEvent

    public PlayerHideEntityEvent(@NotNull @NotNull Player who, @NotNull @NotNull Entity entity)

- ## 方法详细资料

  - ### getEntity

    @NotNull public @NotNull Entity getEntity()
    Gets the entity which has been hidden from the player.
    返回:
      the hidden entity

  - ### getHandlers

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

  - ### getHandlerList

    @NotNull public static @NotNull HandlerList getHandlerList()