SPI

SPI command

Works like SetPlayerPos but additionally accepts a yaw and pitch to orient the view, using the x, y, z coordinates plus the given angles.

Argument information
  • <X>type: number

    The X coordinate.

  • <Y>type: number

    The Y coordinate.

  • <Z>type: number

    The Z coordinate (height).

  • <Yaw>type: text

    The horizontal facing angle, in degrees.

  • <Pitch>type: text

    The vertical facing angle, in degrees.

Command builder

X
Y
Z
Yaw
Pitch

Examples

This console command teleports you to the world coordinates X -371471, Y -408636, Z -13584 and orients your view to a yaw of -173.80 and a pitch of -12.91.

Using cheats on a server

On a multiplayer server, authenticate first with enablecheats <password>, and prefix admin commands with admincheat instead of cheat.