public class WarpCommand extends AbstractCommandCollection
Command for war operations. Registered with the command system and callable by players.
java.lang.Object > AbstractCommandCollection > WarpCommand
Field Summary
targetWarp
final
Warp
targetWarp
Field targetWarp.
worldName
final
String
worldName
Field worldName.
world
final
World
world
Field world.
teleport
final
Teleport
teleport
Field teleport.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
headRotationComponent
final
HeadRotation
headRotationComponent
Field headRotationComponent.
playerPosition
final
Vector3d
playerPosition
Field playerPosition.
playerHeadRotation
final
Vector3f
playerHeadRotation
Field playerHeadRotation.
Method Detail
WarpCommand
public
public
WarpCommand
()
Method WarpCommand.
WarpGoVariantCommand
public
new
WarpGoVariantCommand
()
Method WarpGoVariantCommand.
WarpGoCommand
public
new
WarpGoCommand
()
Method WarpGoCommand.
WarpSetCommand
public
new
WarpSetCommand
()
Method WarpSetCommand.
WarpListCommand
public
new
WarpListCommand
()
Method WarpListCommand.
WarpRemoveCommand
public
new
WarpRemoveCommand
()
Method WarpRemoveCommand.
WarpReloadCommand
public
new
WarpReloadCommand
()
Method WarpReloadCommand.
tryGo
static
void
tryGo
(@Nonnull final CommandContext context, @Nonnull final String warp, @Nonnull final Ref ref, @Nonnull final Store store)
Method tryGo.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Stringwarp@Nonnull final Refref@Nonnull final Storestore