@MightOccurAsync public static interface NucleusTeleportEvent.Request extends NucleusTeleportEvent
/tpa
) is being sent.Modifier and Type | Interface and Description |
---|---|
static interface |
NucleusTeleportEvent.Request.CauseToPlayer
Called when the root cause wants to teleport to the target player (like /tpa).
|
static interface |
NucleusTeleportEvent.Request.PlayerToCause
Called when the root cause wants the target player to teleport to them (like /tpahere).
|
NucleusTeleportEvent.AboutToTeleport, NucleusTeleportEvent.Request
Modifier and Type | Method and Description |
---|---|
Player |
getTargetEntity()
The recipient of the request.
|
getCause, getContext, getSource
getCancelMessage, setCancelMessage
isCancelled, setCancelled
Player getTargetEntity()
getTargetEntity
in interface TargetEntityEvent
getTargetEntity
in interface TargetHumanoidEvent
getTargetEntity
in interface TargetLivingEvent
getTargetEntity
in interface TargetPlayerEvent
Player
in question.