Uses of Record Class
net.minecraft.world.TeleportTarget
Packages that use TeleportTarget
Package
Description
-
Uses of TeleportTarget in net.minecraft.block
Methods in net.minecraft.block that return TeleportTargetModifier 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 TeleportTargetNetherPortalBlock.getExitPortalTarget(Entity entity, BlockPos pos, BlockLocating.Rectangle exitPortalRectangle, ServerWorld world, TeleportTarget.PostDimensionTransition postDimensionTransition) private static TeleportTargetNetherPortalBlock.getExitPortalTarget(ServerWorld world, BlockLocating.Rectangle exitPortalRectangle, Direction.Axis axis, Vec3d positionInPortal, Entity entity, TeleportTarget.PostDimensionTransition postDimensionTransition) private @Nullable TeleportTargetNetherPortalBlock.getOrCreateExitPortalTarget(ServerWorld world, Entity entity, BlockPos pos, BlockPos scaledPos, boolean inNether, WorldBorder worldBorder) -
Uses of TeleportTarget in net.minecraft.entity
Methods in net.minecraft.entity that return TeleportTargetModifier and TypeMethodDescriptionprivate TeleportTargetEntity.getPassengerTeleportTarget(TeleportTarget teleportTarget, Entity passenger) Methods in net.minecraft.entity with parameters of type TeleportTargetModifier and TypeMethodDescriptionprivate TeleportTargetEntity.getPassengerTeleportTarget(TeleportTarget teleportTarget, Entity passenger) private voidEntity.sendTeleportPacket(TeleportTarget teleportTarget) private EntityEntity.teleportCrossDimension(ServerWorld world, TeleportTarget teleportTarget) private EntityEntity.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
Methods in net.minecraft.entity.passive with parameters of type TeleportTargetModifier and TypeMethodDescriptionMerchantEntity.teleportTo(TeleportTarget teleportTarget) Teleports this entity to another location, potentially in another world. -
Uses of TeleportTarget in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type TeleportTargetModifier and TypeMethodDescriptionstatic PlayerPositionPlayerPosition.fromTeleportTarget(TeleportTarget teleportTarget) -
Uses of TeleportTarget in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown with parameters of type TeleportTargetModifier and TypeMethodDescriptionEnderPearlEntity.teleportTo(TeleportTarget teleportTarget) Teleports this entity to another location, potentially in another world. -
Uses of TeleportTarget in net.minecraft.server.network
Methods in net.minecraft.server.network that return TeleportTargetModifier and TypeMethodDescriptionServerPlayerEntity.getRespawnTarget(boolean alive, TeleportTarget.PostDimensionTransition postDimensionTransition) Methods in net.minecraft.server.network with parameters of type TeleportTarget -
Uses of TeleportTarget in net.minecraft.world
Methods in net.minecraft.world that return TeleportTargetModifier and TypeMethodDescriptionTeleportTarget.asPassenger()Returns the value of theasPassengerrecord component.static TeleportTargetTeleportTarget.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
Methods in net.minecraft.world.dimension that return TeleportTargetModifier and TypeMethodDescriptionPortalManager.createTeleportTarget(ServerWorld world, Entity entity)