@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 |
|---|---|
org.spongepowered.api.entity.living.player.Player |
getTargetEntity()
The recipient of the request.
|
getCancelMessage, setCancelMessageorg.spongepowered.api.entity.living.player.Player getTargetEntity()
getTargetEntity in interface org.spongepowered.api.event.entity.TargetEntityEventgetTargetEntity in interface org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEventgetTargetEntity in interface org.spongepowered.api.event.entity.living.TargetLivingEventgetTargetEntity in interface org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEventPlayer in question.