Optional
checkWhether to check whether blocks will block the entity after teleport.
Optional
dimensionDimension to potentially move the entity to. If not specified, the entity is teleported within the dimension that they reside.
Optional
facingLocation that the entity should be facing after teleport.
Optional
keepWhether to retain the entities velocity after teleport.
Optional
rotationRotation of the entity after teleport.
Contains additional options for teleporting an entity.
Example
teleportMovement.ts