WhereAmICommand

public class WhereAmICommand extends AbstractPlayerCommand

Command for wheream operations. Registered with the command system and callable by players.

java.lang.Object > AbstractPlayerCommand > WhereAmICommand

Field Summary

transformComponent

final TransformComponent transformComponent

Field transformComponent.

headRotationComponent

final HeadRotation headRotationComponent

Field headRotationComponent.

position

final Vector3d position

Field position.

headRotation

final Vector3f headRotation

Field headRotation.

axisDirection

final Vector3i axisDirection

Field axisDirection.

axis

final Axis axis

Field axis.

direction

final Vector3d direction

Field direction.

chunkX

final int chunkX

Field chunkX.

chunkY

final int chunkY

Field chunkY.

chunkZ

final int chunkZ

Field chunkZ.

chunkIndex

final long chunkIndex

Field chunkIndex.

playerChunk

final WorldChunk playerChunk

Field playerChunk.

headerKey

final String headerKey

Field headerKey.

message

final Message message

Field message.

targetPlayerRef

final PlayerRef targetPlayerRef

Field targetPlayerRef.

ref

final Ref ref

Field ref.

store

final Store store

Field store.

world

final World world

Field world.

playerComponent

final Player playerComponent

Field playerComponent.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

Method Detail

WhereAmICommand

public public WhereAmICommand ()

Method WhereAmICommand.

WhereAmIOtherCommand

public new WhereAmIOtherCommand ()

Method WhereAmIOtherCommand.

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 CommandContext context
@Nonnull final Store store
@Nonnull final Ref ref
@Nonnull final PlayerRef playerRef
@Nonnull final World world

sendLocationInfo

static void sendLocationInfo (@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final World world, @Nullable final String targetUsername)

Method sendLocationInfo.

Parameters:
@Nonnull final CommandContext context
@Nonnull final Store store
@Nonnull final Ref ref
@Nonnull final World world
@Nullable final String targetUsername

executeSync

protected void executeSync (@Nonnull final CommandContext context)

Method executeSync.

Parameters:
@Nonnull final CommandContext context