Interface TeleportOptionsBeta

Contains additional options for teleporting an entity.

Hierarchy

  • TeleportOptions

Properties

checkForBlocks?: boolean

Remarks

Whether to check whether blocks will block the entity after teleport.

dimension?: Dimension

Remarks

Dimension to potentially move the entity to. If not specified, the entity is teleported within the dimension that they reside.

facingLocation?: Vector3

Remarks

Location that the entity should be facing after teleport.

keepVelocity?: boolean

Remarks

Whether to retain the entities velocity after teleport.

rotation?: Vector2

Remarks

Rotation of the entity after teleport.