Package org.bukkit.event.player
Class PlayerHideEntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerHideEntityEvent
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.
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.
- See Also:
- API Note:
- draft API
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the entity which has been hidden from the player.static @NotNull HandlerList
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerHideEntityEvent
-
-
Method Details
-
getEntity
Gets the entity which has been hidden from the player.- Returns:
- the hidden entity
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-