Architectury API (Fabric/Forge/NeoForge)

Architectury API (Fabric/Forge/NeoForge)

158M Downloads

Teleport API

UnRealDinnerbone opened this issue ยท 2 comments

commented

Both forge and fabric have apis to help teleport player to another dimension

Forge: ITeleporter and changeDimension on Entity
Fabric: FabricDimensions.teleport

commented

What is the advantage of using these APIs over just teleporting entities with vanilla's builtin teleportTo method?

commented

They both seem to allow you to teleport the player and skip Vanilla portal generation and at least on forge it allows you to handle portal placing (don't know if that part is needed though)