public class WarpSetCommand extends AbstractPlayerCommand
Command for warpse operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > WarpSetCommand
Field Summary
newId
final
String
newId
Field newId.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
headRotationComponent
final
HeadRotation
headRotationComponent
Field headRotationComponent.
position
final
Vector3d
position
Field position.
rotation
final
Vector3f
rotation
Field rotation.
headRotation
final
Vector3f
headRotation
Field headRotation.
newWarp
final
Warp
newWarp
Field newWarp.
plugin
final
TeleportPlugin
plugin
Field plugin.
Method Detail
WarpSetCommand
public
public
WarpSetCommand
()
Method WarpSetCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
Warp
public
new
Warp
(position.getX()
Method Warp.
- Parameters:
position.getX(position.getX(