Teleport
Entity Action Type
This is used to teleport without having to use apoli:execute_command
.
Type ID: epoli:teleport
Fields
Field | Type | Default | Description |
---|---|---|---|
x |
Double | The X coordinate. | |
y |
Double | The y coordinate. | |
z |
Double | The z coordinate. | |
dimension |
String | The dimension you wish to teleport to, use current for the dimension the entity is in. |
Examples
"entity_action": {
"type": "epoli:teleport",
"x": 10,
"y": 11,
"z": 50,
"dimension": "minecraft:overworld"
}
This example will teleport the entity to 10, 11, 50 in the overworld.