c0de 0.3.0Diese Seite auf Deutsch

TELEPORT ​

Teleports an entity or item to a position.

This needs allowTeleporting or an administrator as owner. Only administrators can teleport players. Both raise PERMISSION_DENIED otherwise. An entity that is not loaded raises INVALID_ARGUMENT.

Parameters and results

  • uuid STRING: the UUID of the entity
  • position STRUCT c0de/minecraft/POSITION: the destination

Example

c0de
CALL c0de/minecraft/TELEPORT
    PARAMETER uuid pigId ;
    PARAMETER position barn ;