DebugPlayerPositionCommand

public class DebugPlayerPositionCommand extends AbstractPlayerCommand

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

java.lang.Object > AbstractPlayerCommand > DebugPlayerPositionCommand

Field Summary

transform

final Transform transform

Field transform.

headRotation

final Vector3f headRotation

Field headRotation.

teleport

final Teleport teleport

Field teleport.

pendingTeleport

final PendingTeleport pendingTeleport

Field pendingTeleport.

teleportFmt

final String teleportFmt

Field teleportFmt.

pendingTeleportFmt

final String pendingTeleportFmt

Field pendingTeleportFmt.

message

final Message message

Field message.

blue

final Vector3f blue

Field blue.

fmt

final String fmt

Field fmt.

Method Detail

DebugPlayerPositionCommand

public public DebugPlayerPositionCommand ()

Method DebugPlayerPositionCommand.

execute

protected void execute (@NonNullDecl final CommandContext context, @NonNullDecl final Store store, @NonNullDecl final Ref ref, @NonNullDecl final PlayerRef playerRef, @NonNullDecl final World world)

Method execute.

Parameters:
@NonNullDecl final CommandContext context
@NonNullDecl final Store store
@NonNullDecl final Ref ref
@NonNullDecl final PlayerRef playerRef
@NonNullDecl final World world

fmtPos

static String fmtPos (final Vector3d vector)

Method fmtPos.

Parameters:
final Vector3d vector

fmtRot

static String fmtRot (final Vector3f vector)

Method fmtRot.

Parameters:
final Vector3f vector

fmtDegrees

static String fmtDegrees (final float radians)

Method fmtDegrees.

Parameters:
final float radians