Uses of Record Class
net.minecraft.world.TeleportTarget
Packages that use TeleportTarget
Package
Description
-
Uses of TeleportTarget in net.minecraft.entity
Methods in net.minecraft.entity that return TeleportTargetModifier and TypeMethodDescription@Nullable TeleportTargetEntity.TeleportTargetSupplier.get()@Nullable TeleportTargetEntity.getTeleportTarget(ServerWorld destination) Returns aTeleportTargetfor 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
Methods in net.minecraft.server.network that return TeleportTargetModifier and TypeMethodDescriptionServerPlayerEntity.getRespawnTarget(boolean alive) @Nullable TeleportTargetServerPlayerEntity.getTeleportTarget(ServerWorld destination) Returns aTeleportTargetfor the entity based on its current and destination worlds, plus any nether portals that may be present. -
Uses of TeleportTarget in net.minecraft.world
Methods in net.minecraft.world that return TeleportTargetModifier and TypeMethodDescriptionstatic TeleportTargetTeleportTarget.missingSpawnBlock(ServerWorld world) -
Uses of TeleportTarget in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension that return TeleportTargetModifier and TypeMethodDescriptionstatic TeleportTargetNetherPortal.getNetherTeleportTarget(ServerWorld destination, BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d offset, Entity entity, Vec3d velocity, float yaw, float pitch) Determines aTeleportTargetbased on a specific portal.