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 Event
Event.Result -
Field Summary
Fields inherited from class PlayerEvent
player -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the entity which has been shown to the player.static HandlerListMethods inherited from class PlayerEvent
getPlayerMethods inherited from class 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:
getHandlersin classEvent
-
getHandlerList
-