User Tools

Site Tools


actions:action_types:teleport

Table of Contents

minecraft:teleport

The minecraft:teleport action type teleports an entity around their position. The action is unsuccessful if entity does not exist, if the entity is not a living entity or if it fails to find a valid position to teleport to.

Fields

Name Description Type Default Value
distance The square distance to look for a position. A positive integer
entity The entity to target. An action context parameter

Example

{
  "type": "minecraft:teleport",
  "distance": 16,
  "entity": "this"
}
actions/action_types/teleport.txt · Last modified: 2024/04/30 22:00 by errorcraft