Uses of Record Class
net.minecraft.world.TeleportTarget
Package
Description
-
Uses of TeleportTarget in net.minecraft.block
Modifier and TypeMethodDescriptionEndGatewayBlock.createTeleportTarget
(ServerWorld world, Entity entity, BlockPos pos) EndPortalBlock.createTeleportTarget
(ServerWorld world, Entity entity, BlockPos pos) NetherPortalBlock.createTeleportTarget
(ServerWorld world, Entity entity, BlockPos pos) Portal.createTeleportTarget
(ServerWorld world, Entity entity, BlockPos pos) private static TeleportTarget
NetherPortalBlock.getExitPortalTarget
(Entity entity, BlockPos pos, BlockLocating.Rectangle exitPortalRectangle, ServerWorld world, TeleportTarget.PostDimensionTransition postDimensionTransition) private static TeleportTarget
NetherPortalBlock.getExitPortalTarget
(ServerWorld world, BlockLocating.Rectangle exitPortalRectangle, Direction.Axis axis, Vec3d positionInPortal, Entity entity, TeleportTarget.PostDimensionTransition postDimensionTransition) private @Nullable TeleportTarget
NetherPortalBlock.getOrCreateExitPortalTarget
(ServerWorld world, Entity entity, BlockPos pos, BlockPos scaledPos, boolean inNether, WorldBorder worldBorder) -
Uses of TeleportTarget in net.minecraft.entity
Modifier and TypeMethodDescriptionprivate TeleportTarget
Entity.getPassengerTeleportTarget
(TeleportTarget teleportTarget, Entity passenger) Modifier and TypeMethodDescriptionprivate TeleportTarget
Entity.getPassengerTeleportTarget
(TeleportTarget teleportTarget, Entity passenger) private void
Entity.sendTeleportPacket
(TeleportTarget teleportTarget) private Entity
Entity.teleportCrossDimension
(ServerWorld world, TeleportTarget teleportTarget) private Entity
Entity.teleportSameDimension
(ServerWorld world, TeleportTarget teleportTarget) Entity.teleportTo
(TeleportTarget teleportTarget) Teleports this entity to another location, potentially in another world.FallingBlockEntity.teleportTo
(TeleportTarget teleportTarget) Teleports this entity to another location, potentially in another world.ItemEntity.teleportTo
(TeleportTarget teleportTarget) Teleports this entity to another location, potentially in another world.TntEntity.teleportTo
(TeleportTarget teleportTarget) Teleports this entity to another location, potentially in another world. -
Uses of TeleportTarget in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionMerchantEntity.teleportTo
(TeleportTarget teleportTarget) Teleports this entity to another location, potentially in another world. -
Uses of TeleportTarget in net.minecraft.entity.player
Modifier and TypeMethodDescriptionstatic PlayerPosition
PlayerPosition.fromTeleportTarget
(TeleportTarget teleportTarget) -
Uses of TeleportTarget in net.minecraft.entity.projectile.thrown
Modifier and TypeMethodDescriptionEnderPearlEntity.teleportTo
(TeleportTarget teleportTarget) Teleports this entity to another location, potentially in another world. -
Uses of TeleportTarget in net.minecraft.server.network
Modifier and TypeMethodDescriptionServerPlayerEntity.getRespawnTarget
(boolean alive, TeleportTarget.PostDimensionTransition postDimensionTransition) -
Uses of TeleportTarget in net.minecraft.world
Modifier and TypeMethodDescriptionTeleportTarget.asPassenger()
Returns the value of theasPassenger
record component.static TeleportTarget
TeleportTarget.missingSpawnBlock
(ServerWorld world, Entity entity, TeleportTarget.PostDimensionTransition postDimensionTransition) TeleportTarget.withPosition
(Vec3d position) TeleportTarget.withRotation
(float yaw, float pitch) -
Uses of TeleportTarget in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionPortalManager.createTeleportTarget
(ServerWorld world, Entity entity)