Class PlayerUntrackEntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
io.papermc.paper.event.player.PlayerUntrackEntityEvent
Is called when a
Player untracks an Entity.
Adding or removing entities from the world at the point in time this event is called is completely unsupported and should be avoided. Teleporting entities in the world at the point in time this event is called yields an undefined tracker behavior and should be avoided.
- Since:
- 1.19.2
-
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
Methods inherited from class PlayerEvent
getPlayerMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerUntrackEntityEvent
-
-
Method Details
-
getEntity
Gets the entity that will be untracked- Returns:
- the entity untracked
- Since:
- 1.19.2
-
getHandlerList
- Since:
- 1.19.2
-
getHandlers
- Specified by:
getHandlersin classEvent- Since:
- 1.19.2
-