Uses of Class
net.minecraft.world.TeleportTarget
-
Uses of TeleportTarget in net.minecraft.entity
Modifier and TypeMethodDescriptionprotected @Nullable TeleportTarget
Entity.getTeleportTarget
(ServerWorld destination) Determines aTeleportTarget
for the entity based on its current and destination worlds, plus any portals that may be present. -
Uses of TeleportTarget in net.minecraft.server.network
Modifier and TypeMethodDescriptionprotected @Nullable TeleportTarget
ServerPlayerEntity.getTeleportTarget
(ServerWorld destination) Determines aTeleportTarget
for the entity based on its current and destination worlds, plus any portals that may be present. -
Uses of TeleportTarget in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionstatic TeleportTarget
AreaHelper.getNetherTeleportTarget
(ServerWorld destination, BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d offset, EntityDimensions dimensions, Vec3d velocity, float yaw, float pitch) Determines aTeleportTarget
based on a specific portal.