public class Pos2Command extends AbstractPlayerCommand
Command for pos operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > Pos2Command
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
position
final
Vector3d
position
Field position.
Method Detail
Pos2Command
public
public
Pos2Command
()
Method Pos2Command.
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
Vector3i
public
new
Vector3i
(this.xArg.get(context)
Method Vector3i.
- Parameters:
this.xArg.get(contextthis.xArg.get(context