1. Wiki
  2. /Commands
  3. //teleport

/teleport

Put commands in your add-on as functions: GodCraft writes and packs them for you.Get GodCraft

/teleport: Moves entities to a position or another entity, with optional facing direction.

Syntax

<angle brackets> are required, [square brackets] optional. /teleport has 10 forms:

/teleport <destination: position_float> [checkForBlocks: boolean] [forceProvidedPositionOnDimensionChange: boolean]
/teleport <destination: position_float> [yRot: rval] [xRot: rval] [checkForBlocks: boolean] [forceProvidedPositionOnDimensionChange: boolean]
/teleport <destination: position_float> <facing: teleportfacing> <lookAtPosition: position_float> [checkForBlocks: boolean] [forceProvidedPositionOnDimensionChange: boolean]
/teleport <destination: position_float> <facing: teleportfacing> <lookAtEntity: selection> [checkForBlocks: boolean] [forceProvidedPositionOnDimensionChange: boolean]
/teleport <victim: selection> <destination: position_float> [yRot: rval] [xRot: rval] [checkForBlocks: boolean] [forceProvidedPositionOnDimensionChange: boolean]
/teleport <victim: selection> <destination: position_float> [checkForBlocks: boolean] [forceProvidedPositionOnDimensionChange: boolean]
/teleport <victim: selection> <destination: position_float> <facing: teleportfacing> <lookAtPosition: position_float> [checkForBlocks: boolean] [forceProvidedPositionOnDimensionChange: boolean]
/teleport <victim: selection> <destination: position_float> <facing: teleportfacing> <lookAtEntity: selection> [checkForBlocks: boolean] [forceProvidedPositionOnDimensionChange: boolean]
/teleport <destination: selection>
/teleport <victim: selection> <destination: selection> [checkForBlocks: boolean] [forceProvidedPositionOnDimensionChange: boolean]

Commands: Commands

We use cookies to improve your experience and analyse site traffic. Learn more