public class Pos1Command extends AbstractPlayerCommand
Command for pos operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > Pos1Command
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
position
final
Vector3d
position
Field position.
Method Detail
Pos1Command
public
public
Pos1Command
()
Method Pos1Command.
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