architectury-api
architectury-api copied to clipboard
Teleport API
Both forge and fabric have apis to help teleport player to another dimension
Forge: ITeleporter and changeDimension on Entity Fabric: FabricDimensions.teleport
What is the advantage of using these APIs over just teleporting entities with vanilla's builtin teleportTo method?
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)