Package org.bukkit.event.player
Class PlayerShowEntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerShowEntityEvent
Called when a hidden entity is shown to a player.
This event is only called when the entity's visibility status is actually changed.
This event is called regardless of whether 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 whether the entity was within tracking range.
- See Also:
-
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 shown to the player.static HandlerList
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerShowEntityEvent
-
-
Method Details
-
getEntity
Gets the entity which has been shown to the player.- Returns:
- the shown entity
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-