teleportToEntity

fun teleportToEntity(collection: MutableCollection<out Entity>, entity: Entity)

Teleport a collection of entities to another entity's position.

Parameters

collection

entities to teleport

entity

destination entity whose position to use