Uses of Record Class
net.minecraft.world.level.portal.TeleportTransition
Packages that use TeleportTransition
Package
Description
-
Uses of TeleportTransition in net.minecraft.server.level
Methods in net.minecraft.server.level that return TeleportTransitionModifier and TypeMethodDescriptionServerPlayer.findRespawnPositionAndUseSpawnBlock(boolean consumeSpawnBlock, TeleportTransition.PostTeleportTransition postTeleportTransition) Methods in net.minecraft.server.level with parameters of type TeleportTransitionModifier and TypeMethodDescription@Nullable ServerPlayerServerPlayer.teleport(TeleportTransition transition) -
Uses of TeleportTransition in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return TeleportTransitionModifier and TypeMethodDescriptionprivate TeleportTransitionEntity.calculatePassengerTransition(TeleportTransition transition, Entity passenger) @Nullable TeleportTransitionPortalProcessor.getPortalDestination(ServerLevel serverLevel, Entity entity) Methods in net.minecraft.world.entity with parameters of type TeleportTransitionModifier and TypeMethodDescriptionprivate TeleportTransitionEntity.calculatePassengerTransition(TeleportTransition transition, Entity passenger) static PositionMoveRotationPositionMoveRotation.of(TeleportTransition transition) private voidEntity.sendTeleportTransitionToRidingPlayers(TeleportTransition transition) @Nullable EntityEntity.teleport(TeleportTransition transition) private @Nullable EntityEntity.teleportCrossDimension(ServerLevel oldLevel, ServerLevel newLevel, TeleportTransition transition) private EntityEntity.teleportSameDimension(ServerLevel level, TeleportTransition transition) protected voidEntity.teleportSpectators(TeleportTransition transition, ServerLevel oldLevel) -
Uses of TeleportTransition in net.minecraft.world.entity.item
Methods in net.minecraft.world.entity.item with parameters of type TeleportTransitionModifier and TypeMethodDescription@Nullable EntityFallingBlockEntity.teleport(TeleportTransition transition) @Nullable EntityItemEntity.teleport(TeleportTransition transition) @Nullable EntityPrimedTnt.teleport(TeleportTransition transition) -
Uses of TeleportTransition in net.minecraft.world.entity.npc.villager
Methods in net.minecraft.world.entity.npc.villager with parameters of type TeleportTransitionModifier and TypeMethodDescription@Nullable EntityAbstractVillager.teleport(TeleportTransition transition) -
Uses of TeleportTransition in net.minecraft.world.entity.projectile.throwableitemprojectile
Methods in net.minecraft.world.entity.projectile.throwableitemprojectile with parameters of type TeleportTransitionModifier and TypeMethodDescription@Nullable EntityThrownEnderpearl.teleport(TeleportTransition transition) -
Uses of TeleportTransition in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block that return TeleportTransitionModifier and TypeMethodDescriptionprivate static TeleportTransitionNetherPortalBlock.createDimensionTransition(ServerLevel newLevel, BlockUtil.FoundRectangle foundRectangle, Direction.Axis portalAxis, Vec3 offset, Entity entity, TeleportTransition.PostTeleportTransition postTeleportTransition) private static TeleportTransitionNetherPortalBlock.getDimensionTransitionFromExit(Entity entity, BlockPos portalEntryPos, BlockUtil.FoundRectangle exitPortal, ServerLevel newLevel, TeleportTransition.PostTeleportTransition postTeleportTransition) private @Nullable TeleportTransitionNetherPortalBlock.getExitPortal(ServerLevel newLevel, Entity entity, BlockPos portalEntryPos, BlockPos approximateExitPos, boolean toNether, WorldBorder worldBorder) @Nullable TeleportTransitionEndGatewayBlock.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) @Nullable TeleportTransitionEndPortalBlock.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) @Nullable TeleportTransitionNetherPortalBlock.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) @Nullable TeleportTransitionPortal.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) -
Uses of TeleportTransition in net.minecraft.world.level.portal
Methods in net.minecraft.world.level.portal that return TeleportTransitionModifier and TypeMethodDescriptionstatic TeleportTransitionTeleportTransition.createDefault(ServerPlayer player, TeleportTransition.PostTeleportTransition postTeleportTransition) static TeleportTransitionTeleportTransition.missingRespawnBlock(ServerPlayer player, TeleportTransition.PostTeleportTransition postTeleportTransition) TeleportTransition.transitionAsPassenger()TeleportTransition.withPosition(Vec3 position) TeleportTransition.withRotation(float yRot, float xRot) -
Uses of TeleportTransition in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type TeleportTransitionModifier and TypeMethodDescriptionstatic PlayerRespawnPositionEventEventHooks.firePlayerRespawnPositionEvent(ServerPlayer player, TeleportTransition teleportTransition, boolean fromEndFight) Called bybefore creating the newinvalid reference
PlayerList#respawn(ServerPlayer, boolean)ServerPlayerto fire thePlayerRespawnPositionEvent -
Uses of TeleportTransition in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as TeleportTransitionModifier and TypeFieldDescriptionprivate final TeleportTransitionPlayerRespawnPositionEvent.originalTeleportTransitionprivate TeleportTransitionPlayerRespawnPositionEvent.teleportTransitionMethods in net.neoforged.neoforge.event.entity.player that return TeleportTransitionModifier and TypeMethodDescriptionPlayerRespawnPositionEvent.getOriginalTeleportTransition()PlayerRespawnPositionEvent.getTeleportTransition()Methods in net.neoforged.neoforge.event.entity.player with parameters of type TeleportTransitionModifier and TypeMethodDescriptionvoidPlayerRespawnPositionEvent.setTeleportTransition(TeleportTransition teleportTransition) Set the teleport transition for where the player will respawnConstructors in net.neoforged.neoforge.event.entity.player with parameters of type TeleportTransitionModifierConstructorDescriptionPlayerRespawnPositionEvent(ServerPlayer player, TeleportTransition teleportTransition, boolean fromEndFight)