Teleport
Teleports / swaps the position of two entities.
Type ID: shappoli:teleport
Fields
| Field | Type | Default | Description |
|---|---|---|---|
teleport_actor |
Boolean | false |
Whether to teleport the actor entity to the target entity's position. |
teleport_target |
Boolean | true |
Whether to teleport the target entity to the actor entity's position. |
rotate |
Boolean | false |
Whether to also modify the rotation of the entities. |
Examples
This example teleports the target entity to the actor entity's position.
This example swaps the positions of two entities, and switches their head rotations.