Uses of Record Class
net.minecraft.world.TeleportTarget
Package
Description
-
Uses of TeleportTarget in net.minecraft.entity
Modifier and TypeMethodDescriptionEntity.TeleportTargetSupplier.get()
Entity.getTeleportTarget
(ServerWorld destination) Returns aTeleportTarget
for the entity based on its current and destination worlds, plus any nether portals that may be present. -
Uses of TeleportTarget in net.minecraft.server.network
Modifier and TypeMethodDescriptionServerPlayerEntity.getRespawnTarget
(boolean alive) ServerPlayerEntity.getTeleportTarget
(ServerWorld destination) Returns aTeleportTarget
for the entity based on its current and destination worlds, plus any nether portals that may be present. -
Uses of TeleportTarget in net.minecraft.world
Modifier and TypeMethodDescriptionstatic TeleportTarget
TeleportTarget.missingSpawnBlock
(ServerWorld world) -
Uses of TeleportTarget in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionstatic TeleportTarget
NetherPortal.getNetherTeleportTarget
(ServerWorld destination, BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d offset, Entity entity, Vec3d velocity, float yaw, float pitch) Determines aTeleportTarget
based on a specific portal.