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.class_9823 class_9823) private static TeleportTargetNetherPortalBlock.getExitPortalTarget(ServerWorld world, BlockLocating.Rectangle exitPortalRectangle, Direction.Axis axis, Vec3d positionInPortal, Entity entity, Vec3d velocity, float yaw, float pitch, TeleportTarget.class_9823 class_9823) 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 with parameters of type TeleportTargetModifier and TypeMethodDescriptionEntity.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. -
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.server.network
Methods in net.minecraft.server.network that return TeleportTargetModifier and TypeMethodDescriptionServerPlayerEntity.getRespawnTarget(boolean alive, TeleportTarget.class_9823 class_9823) Methods in net.minecraft.server.network with parameters of type TeleportTargetModifier and TypeMethodDescriptionServerPlayerEntity.teleportTo(TeleportTarget teleportTarget) Teleports this entity to another location, potentially in another world. -
Uses of TeleportTarget in net.minecraft.world
Methods in net.minecraft.world that return TeleportTargetModifier and TypeMethodDescriptionstatic TeleportTargetTeleportTarget.missingSpawnBlock(ServerWorld world, Entity entity, TeleportTarget.class_9823 class_9823) -
Uses of TeleportTarget in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension that return TeleportTargetModifier and TypeMethodDescriptionPortalManager.createTeleportTarget(ServerWorld world, Entity entity)