public static interface NucleusWarpEvent.Use extends org.spongepowered.api.event.user.TargetUserEvent, NucleusWarpEvent
User tries to teleport to a warp. The Cause of the event
is who requests the warp, and is not necessarily the TargetUserEvent.getTargetUser() who is
being warped.
Note that the user does not necessarily need to be online.
NucleusWarpEvent.Create, NucleusWarpEvent.Delete, NucleusWarpEvent.Use| Modifier and Type | Method and Description |
|---|---|
org.spongepowered.api.world.Location<org.spongepowered.api.world.World> |
getLocation()
Gets the
Location of the warp. |
Warp |
getWarp()
Gets the
Warp |
getNamegetCancelMessage, setCancelMessage