Actions
Teleport
Teleport a player or entity to fixed coordinates as an ItemsAdder action. Useful for traps, portals, or interactive custom blocks.
teleport:
x: 100.5
y: 64.0
z: -50.5
yaw: 90.0 # Optional (Defaults to the player's current yaw)
pitch: 0.0 # Optional (Defaults to the player's current pitch)
world: "world_nether" # Optional (Defaults to the player's current world)