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 CommandContextcontext@NonNullDecl final Storestore@NonNullDecl final Refref@NonNullDecl final PlayerRefplayerRef@NonNullDecl final Worldworld
fmtDegrees
static
String
fmtDegrees
(final float radians)
Method fmtDegrees.
- Parameters:
final floatradians