Uses of Class
net.minecraft.util.math.Vec3d
Packages that use Vec3d
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
 such as villagers, piglins, and axolotls.
The basic AI system for Minecraft living entities.
Contains utility method classes, various enums, serialization helpers, and
 miscellaneous classes.
- 
Uses of Vec3d in net.minecraft.advancement.criterionMethods in net.minecraft.advancement.criterion with parameters of type Vec3dModifier and TypeMethodDescriptionbooleanFallAfterExplosionCriterion.Conditions.matches(ServerWorld world, Vec3d startPosition, Vec3d endPosition, @Nullable LootContext cause) booleanLevitationCriterion.Conditions.matches(ServerPlayerEntity player, Vec3d distance, int duration) booleanTravelCriterion.Conditions.matches(ServerWorld world, Vec3d pos, Vec3d endPos) booleanTargetHitCriterion.Conditions.test(LootContext projectile, Vec3d hitPos, int signalStrength) voidFallAfterExplosionCriterion.trigger(ServerPlayerEntity player, Vec3d startPosition, @Nullable Entity cause) voidLevitationCriterion.trigger(ServerPlayerEntity player, Vec3d startPos, int duration) voidTargetHitCriterion.trigger(ServerPlayerEntity player, Entity projectile, Vec3d hitPos, int signalStrength) voidTravelCriterion.trigger(ServerPlayerEntity player, Vec3d startPos) 
- 
Uses of Vec3d in net.minecraft.blockFields in net.minecraft.block with type parameters of type Vec3dModifier and TypeFieldDescriptionprivate static final Int2ObjectMap<List<Vec3d>> CandleBlock.CANDLES_TO_PARTICLE_OFFSETSCandleCakeBlock.PARTICLE_OFFSETSMethods in net.minecraft.block that return Vec3dModifier and TypeMethodDescriptionAbstractBlock.Offsetter.evaluate(BlockState state, BlockPos pos) AbstractSignBlock.getCenter(BlockState state) WallSignBlock.getCenter(BlockState state) AbstractBlock.AbstractBlockState.getModelOffset(BlockPos pos) Methods in net.minecraft.block that return types with arguments of type Vec3dModifier and TypeMethodDescriptionRespawnAnchorBlock.findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos) RespawnAnchorBlock.findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] possibleOffsets, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, float spawnAngle) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, Direction respawnDirection) AbstractCandleBlock.getParticleOffsets(BlockState state) CandleBlock.getParticleOffsets(BlockState state) CandleCakeBlock.getParticleOffsets(BlockState state) Methods in net.minecraft.block with parameters of type Vec3dModifier and TypeMethodDescriptionprivate static intTargetBlock.calculatePower(BlockHitResult hitResult, Vec3d pos) private static TeleportTargetNetherPortalBlock.getExitPortalTarget(ServerWorld world, BlockLocating.Rectangle exitPortalRectangle, Direction.Axis axis, Vec3d positionInPortal, Entity entity, TeleportTarget.PostDimensionTransition postDimensionTransition) static PositionDispenserBlock.getOutputLocation(BlockPointer pointer, double facingOffset, Vec3d constantOffset) private static voidAbstractCandleBlock.spawnCandleParticles(World world, Vec3d vec3d, Random random) 
- 
Uses of Vec3d in net.minecraft.block.entityFields in net.minecraft.block.entity declared as Vec3dMethods in net.minecraft.block.entity that return Vec3dModifier and TypeMethodDescriptionprivate static Vec3dEndGatewayBlockEntity.findTeleportLocation(ServerWorld world, BlockPos pos) private static Vec3dVaultBlockEntity.Client.getConnectedParticlesOrigin(BlockPos pos, Direction direction) private static Vec3dVaultBlockEntity.Client.getDeactivateParticlesPos(BlockPos pos, Random random) EndGatewayBlockEntity.getOrCreateExitPortalPos(ServerWorld world, BlockPos pos) private static Vec3dVaultBlockEntity.Client.getRegularParticlesPos(BlockPos pos, Random random) Methods in net.minecraft.block.entity with parameters of type Vec3dModifier and TypeMethodDescriptionprivate static voidAbstractFurnaceBlockEntity.dropExperience(ServerWorld world, Vec3d pos, int multiplier, float experience) private static WorldChunkList<RecipeEntry<?>> AbstractFurnaceBlockEntity.getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos) private static booleanEndGatewayBlockEntity.isChunkEmpty(ServerWorld world, Vec3d pos) booleanSculkCatalystBlockEntity.Listener.listen(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.private static voidVaultBlockEntity.Client.spawnConnectedParticlesFor(World world, Vec3d pos, PlayerEntity player) 
- 
Uses of Vec3d in net.minecraft.block.enumsMethods in net.minecraft.block.enums that return types with arguments of type Vec3dModifier and TypeMethodDescriptionTrialSpawnerState.getPosAbove(Entity entity, ServerWorld world) TrialSpawnerState.getPosToSpawnItemSpawner(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic, TrialSpawnerData data) Methods in net.minecraft.block.enums with parameters of type Vec3dModifier and TypeMethodDescriptionprivate static voidTrialSpawnerState.ParticleEmitter.emitParticle(SimpleParticleType type, Vec3d pos, World world) 
- 
Uses of Vec3d in net.minecraft.block.spawnerMethods in net.minecraft.block.spawner with parameters of type Vec3dModifier and TypeMethodDescriptionprivate static booleanEntityDetector.hasLineOfSight(World world, Vec3d pos, Vec3d entityEyePos) private static booleanTrialSpawnerLogic.hasLineOfSight(World world, Vec3d spawnerPos, Vec3d spawnPos) 
- 
Uses of Vec3d in net.minecraft.clientMethods in net.minecraft.client with parameters of type Vec3dModifier and TypeMethodDescriptionprivate voidKeyboard.copyEntity(Identifier id, Vec3d pos, @Nullable NbtCompound nbt) 
- 
Uses of Vec3d in net.minecraft.client.gui.hudFields in net.minecraft.client.gui.hud declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dSubtitlesHud.SoundEntry.locationThe field for thelocationrecord component.Methods in net.minecraft.client.gui.hud that return Vec3dModifier and TypeMethodDescriptionSubtitlesHud.SoundEntry.location()Returns the value of thelocationrecord component.Methods in net.minecraft.client.gui.hud with parameters of type Vec3dModifier and TypeMethodDescriptionbooleanSubtitlesHud.SubtitleEntry.canHearFrom(Vec3d pos) SubtitlesHud.SubtitleEntry.getNearestSound(Vec3d pos) voidConstructors in net.minecraft.client.gui.hud with parameters of type Vec3dModifierConstructorDescription(package private)SoundEntry(Vec3d vec3d, long long2) SubtitleEntry(Text text, float range, Vec3d pos) 
- 
Uses of Vec3d in net.minecraft.client.networkFields in net.minecraft.client.network declared as Vec3dModifier and TypeFieldDescriptionprivate Vec3dOtherClientPlayerEntity.clientVelocityprotected Vec3dAbstractClientPlayerEntity.lastVelocity(package private) final Vec3dPendingUpdateManager.PendingUpdate.playerPosMethods in net.minecraft.client.network that return Vec3dModifier and TypeMethodDescriptionClientPlayerEntity.getLeashPos(float delta) Returns the position of the leash this entity holds.AbstractClientPlayerEntity.lerpVelocity(float tickDelta) Methods in net.minecraft.client.network with parameters of type Vec3dModifier and TypeMethodDescriptionprotected booleanClientPlayerEntity.hasCollidedSoftly(Vec3d adjustedMovement) voidClientPlayerEntity.move(MovementType type, Vec3d movement) Constructors in net.minecraft.client.network with parameters of type Vec3dModifierConstructorDescription(package private)PendingUpdate(int sequence, BlockState blockState, Vec3d playerPos) 
- 
Uses of Vec3d in net.minecraft.client.particleFields in net.minecraft.client.particle declared as Vec3dConstructors in net.minecraft.client.particle with parameters of type Vec3dModifierConstructorDescriptionprivateEmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge, Vec3d velocity) privateItemPickupParticle(EntityRenderDispatcher dispatcher, ClientWorld world, Entity itemEntity, Entity interactingEntity, Vec3d velocity) (package private)TrailParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, Vec3d target, int color) 
- 
Uses of Vec3d in net.minecraft.client.renderFields in net.minecraft.client.render declared as Vec3dModifier and TypeFieldDescription(package private) final Vec3dCamera.Projection.centerprivate Vec3dCamera.posprivate final Vec3dCamera.Projection.xHalf of the width (x) of the rectangle.private final Vec3dCamera.Projection.yHalf of the height (y) of the rectangle.Methods in net.minecraft.client.render that return Vec3dModifier and TypeMethodDescriptionabstract Vec3dDimensionEffects.adjustFogColor(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.DimensionEffects.End.adjustFogColor(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.DimensionEffects.Nether.adjustFogColor(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.DimensionEffects.Overworld.adjustFogColor(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.Camera.Projection.getBottomLeft()Camera.Projection.getBottomRight()Camera.getPos()Camera.Projection.getPosition(float factorX, float factorY) Camera.Projection.getTopLeft()Camera.Projection.getTopRight()Methods in net.minecraft.client.render with parameters of type Vec3dModifier and TypeMethodDescriptionabstract Vec3dDimensionEffects.adjustFogColor(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.DimensionEffects.End.adjustFogColor(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.DimensionEffects.Nether.adjustFogColor(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.DimensionEffects.Overworld.adjustFogColor(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.private voidWeatherRendering.buildPrecipitationPieces(World world, int ticks, float delta, Vec3d pos, int range, List<WeatherRendering.Piece> rainOut, List<WeatherRendering.Piece> snowOut) static voidVertexRendering.drawVector(MatrixStack matrices, VertexConsumer vertexConsumers, Vector3f offset, Vec3d vec, int argb) private static HitResultGameRenderer.ensureTargetInRange(HitResult hitResult, Vec3d cameraPos, double interactionRange) private voidChunkRenderingDataPreparer.method_52825(ChunkRenderingDataPreparer.RenderableChunks renderableChunks, Vec3d pos, Queue<ChunkRenderingDataPreparer.ChunkInfo> queue, boolean cullChunks, Consumer<ChunkBuilder.BuiltChunk> consumer, LongOpenHashSet longOpenHashSet) private voidChunkRenderingDataPreparer.method_52835(boolean bool, Frustum frustum, List<ChunkBuilder.BuiltChunk> builtChunks, Vec3d cameraPos, LongOpenHashSet activeSections) voidWorldBorderRendering.render(WorldBorder border, Vec3d vec3d, double double2, double double3) voidCloudRenderer.renderClouds(int color, CloudRenderMode cloudRenderMode, float cloudHeight, Matrix4f positionMatrix, Matrix4f projectionMatrix, Vec3d cameraPos, float ticks) private voidWorldRenderer.renderClouds(FrameGraphBuilder frameGraphBuilder, Matrix4f positionMatrix, Matrix4f projectionMatrix, CloudRenderMode renderMode, Vec3d cameraPos, float ticks, int color, float cloudHeight) private voidWorldRenderer.renderLateDebug(FrameGraphBuilder frameGraphBuilder, Vec3d pos, Fog fog) private voidWeatherRendering.renderPieces(VertexConsumer vertexConsumer, List<WeatherRendering.Piece> pieces, Vec3d pos, float intensity, int range, float gradient) private voidWeatherRendering.renderPrecipitation(VertexConsumerProvider vertexConsumers, Vec3d pos, int range, float gradient, List<WeatherRendering.Piece> rainPieces, List<WeatherRendering.Piece> snowPieces) voidWeatherRendering.renderPrecipitation(World world, VertexConsumerProvider vertexConsumers, int ticks, float delta, Vec3d pos) private voidWorldRenderer.renderWeather(FrameGraphBuilder frameGraphBuilder, Vec3d pos, float tickDelta, Fog fog) private voidWorldRenderer.scheduleChunkTranslucencySort(ChunkBuilder.BuiltChunk chunk, ChunkBuilder.NormalizedRelativePos relativePos, Vec3d cameraPos, boolean needsUpdate, boolean ignoreCameraAlignment) protected voidvoidWorldRenderer.setupFrustum(Vec3d pos, Matrix4f positionMatrix, Matrix4f projectionMatrix) private voidWorldRenderer.translucencySort(Vec3d cameraPos) private voidChunkRenderingDataPreparer.updateTerrain(boolean cullChunks, Camera camera, Vec3d cameraPos, LongOpenHashSet activeSections) Constructors in net.minecraft.client.render with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.client.render.block.entityFields in net.minecraft.client.render.block.entity declared as Vec3dModifier and TypeFieldDescriptionprivate static final Vec3dHangingSignBlockEntityRenderer.TEXT_OFFSETprivate static final Vec3dSignBlockEntityRenderer.TEXT_OFFSETMethods in net.minecraft.client.render.block.entity that return Vec3dModifier and TypeMethodDescriptionprotected abstract Vec3dAbstractSignBlockEntityRenderer.getTextOffset()protected Vec3dHangingSignBlockEntityRenderer.getTextOffset()protected Vec3dSignBlockEntityRenderer.getTextOffset()Methods in net.minecraft.client.render.block.entity with parameters of type Vec3dModifier and TypeMethodDescriptionprivate voidAbstractSignBlockEntityRenderer.applyTextTransforms(MatrixStack matrices, boolean front, Vec3d textOffset) booleanBeaconBlockEntityRenderer.isInRenderDistance(BeaconBlockEntity beaconBlockEntity, Vec3d vec3d) default booleanBlockEntityRenderer.isInRenderDistance(T blockEntity, Vec3d pos) 
- 
Uses of Vec3d in net.minecraft.client.render.chunkFields in net.minecraft.client.render.chunk declared as Vec3dMethods in net.minecraft.client.render.chunk that return Vec3dMethods in net.minecraft.client.render.chunk with parameters of type Vec3dModifier and TypeMethodDescriptionChunkRenderTaskScheduler.dequeueNearest(Vec3d pos) voidChunkBuilder.setCameraPosition(Vec3d cameraPosition) 
- 
Uses of Vec3d in net.minecraft.client.render.debugFields in net.minecraft.client.render.debug declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dGameEventDebugRenderer.Entry.posThe field for theposrecord component.Methods in net.minecraft.client.render.debug that return Vec3dModifier and TypeMethodDescriptionprivate static Vec3dDebugRenderer.hueToRgb(float hue) GameEventDebugRenderer.Entry.pos()Returns the value of theposrecord component.private static Vec3dDebugRenderer.shiftHue(float r, float g, float b, float dHue) Methods in net.minecraft.client.render.debug that return types with arguments of type Vec3dModifier and TypeMethodDescriptionMethods in net.minecraft.client.render.debug with parameters of type Vec3dModifier and TypeMethodDescriptionvoidGameEventDebugRenderer.addEvent(RegistryKey<GameEvent> eventKey, Vec3d pos) private static voidBreezeDebugRenderer.drawCurve(Matrix4f matrix, double cameraX, double cameraY, double cameraZ, VertexConsumer vertexConsumer, Vec3d targetPos, float multiplier, int color) private static voidBreezeDebugRenderer.drawCurvePart(int index, Matrix4f matrix, double cameraX, double cameraY, double cameraZ, VertexConsumer vertexConsumer, Vec3d targetPos, float multiplier, int color) private static voidBreezeDebugRenderer.drawLine(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, Vec3d entityPos, Vec3d targetPos, int color) booleanbooleanGameEventDebugRenderer.Listener.listen(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.Constructors in net.minecraft.client.render.debug with parameters of type Vec3dModifierConstructorDescription(package private)Entry(long startingMs, RegistryKey<GameEvent> registryKey, Vec3d pos) 
- 
Uses of Vec3d in net.minecraft.client.render.entityMethods in net.minecraft.client.render.entity that return Vec3dModifier and TypeMethodDescriptionprivate Vec3dGuardianEntityRenderer.fromLerpedPosition(LivingEntity entity, double yOffset, float delta) private Vec3dFishingBobberEntityRenderer.getHandPos(PlayerEntity player, float float2, float tickDelta) AbstractMinecartEntityRenderer.getPositionOffset(S s) EndermanEntityRenderer.getPositionOffset(EndermanEntityRenderState endermanEntityRenderState) EntityRenderer.getPositionOffset(S state) ItemFrameEntityRenderer.getPositionOffset(ItemFrameEntityRenderState itemFrameEntityRenderState) PlayerEntityRenderer.getPositionOffset(PlayerEntityRenderState playerEntityRenderState) ShulkerEntityRenderer.getPositionOffset(ShulkerEntityRenderState shulkerEntityRenderState) Methods in net.minecraft.client.render.entity with parameters of type Vec3dModifier and TypeMethodDescriptionprivate static voidGuardianEntityRenderer.renderBeam(MatrixStack matrices, VertexConsumer vertexConsumer, Vec3d vec3d, float beamTicks, float float2, float float3) 
- 
Uses of Vec3d in net.minecraft.client.render.entity.stateFields in net.minecraft.client.render.entity.state declared as Vec3dModifier and TypeFieldDescriptionEndCrystalEntityRenderState.beamOffsetGuardianEntityRenderState.beamTargetPosGuardianEntityRenderState.cameraPosVecEnderDragonEntityRenderState.crystalBeamPosEntityRenderState.LeashData.endPosMinecartEntityRenderState.futurePosMinecartEntityRenderState.lerpedPosGuardianEntityRenderState.lookAtPosVec3d[]IllusionerEntityRenderState.mirrorCopyOffsetsEntityRenderState.nameLabelPosEntityRenderState.LeashData.offsetMinecartEntityRenderState.pastPosFishingBobberEntityState.posEntityRenderState.positionOffsetMinecartEntityRenderState.presentPosShulkerEntityRenderState.renderPositionOffsetGuardianEntityRenderState.rotationVecEntityRenderState.LeashData.startPos
- 
Uses of Vec3d in net.minecraft.client.soundFields in net.minecraft.client.sound declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dSoundListenerTransform.forwardThe field for theforwardrecord component.private final Vec3dSoundListenerTransform.positionThe field for thepositionrecord component.private final Vec3dSoundListenerTransform.upThe field for theuprecord component.Methods in net.minecraft.client.sound that return Vec3dModifier and TypeMethodDescriptionSoundListenerTransform.forward()Returns the value of theforwardrecord component.SoundListenerTransform.position()Returns the value of thepositionrecord component.SoundListenerTransform.right()SoundListenerTransform.up()Returns the value of theuprecord component.Methods in net.minecraft.client.sound with parameters of type Vec3dModifier and TypeMethodDescriptionstatic PositionedSoundInstancePositionedSoundInstance.record(SoundEvent sound, Vec3d pos) voidSource.setPosition(Vec3d pos) Constructors in net.minecraft.client.sound with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.client.util.mathMethods in net.minecraft.client.util.math with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.client.worldMethods in net.minecraft.client.world with parameters of type Vec3dModifier and TypeMethodDescriptionvoidClientWorld.emitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.intClientWorld.getSkyColor(Vec3d cameraPos, float tickDelta) voidClientWorld.processPendingUpdate(BlockPos pos, BlockState state, Vec3d playerPos) 
- 
Uses of Vec3d in net.minecraft.commandFields in net.minecraft.command with type parameters of type Vec3dModifier and TypeFieldDescriptionstatic final BiConsumer<Vec3d, List<? extends Entity>> EntitySelector.ARBITRARYstatic final BiConsumer<Vec3d, List<? extends Entity>> EntitySelectorReader.FURTHESTstatic final BiConsumer<Vec3d, List<? extends Entity>> EntitySelectorReader.NEARESTEntitySelector.positionOffsetEntitySelector.positionOffsetstatic final BiConsumer<Vec3d, List<? extends Entity>> EntitySelectorReader.RANDOMprivate final BiConsumer<Vec3d, List<? extends Entity>> EntitySelector.sorterprivate BiConsumer<Vec3d, List<? extends Entity>> EntitySelectorReader.sorterMethods in net.minecraft.command that return types with arguments of type Vec3dModifier and TypeMethodDescriptionBiConsumer<Vec3d, List<? extends Entity>> EntitySelectorReader.getSorter()Methods in net.minecraft.command with parameters of type Vec3dModifier and TypeMethodDescriptionEntitySelector.getEntities(Vec3d pos, List<T> entities) EntitySelector.getOffsetBox(Vec3d offset) EntitySelector.getPositionPredicate(Vec3d pos, @Nullable Box box, @Nullable FeatureSet enabledFeatures) Method parameters in net.minecraft.command with type arguments of type Vec3dModifier and TypeMethodDescriptionvoidEntitySelectorReader.setSorter(BiConsumer<Vec3d, List<? extends Entity>> sorter) Constructor parameters in net.minecraft.command with type arguments of type Vec3dModifierConstructorDescriptionEntitySelector(int count, boolean includesNonPlayers, boolean localWorldOnly, List<Predicate<Entity>> predicates, NumberRange.DoubleRange distance, Function<Vec3d, Vec3d> positionOffset, @Nullable Box box, BiConsumer<Vec3d, List<? extends Entity>> sorter, boolean senderOnly, @Nullable String playerName, @Nullable UUID uuid, @Nullable EntityType<?> type, boolean usesAt) EntitySelector(int count, boolean includesNonPlayers, boolean localWorldOnly, List<Predicate<Entity>> predicates, NumberRange.DoubleRange distance, Function<Vec3d, Vec3d> positionOffset, @Nullable Box box, BiConsumer<Vec3d, List<? extends Entity>> sorter, boolean senderOnly, @Nullable String playerName, @Nullable UUID uuid, @Nullable EntityType<?> type, boolean usesAt) EntitySelector(int count, boolean includesNonPlayers, boolean localWorldOnly, List<Predicate<Entity>> predicates, NumberRange.DoubleRange distance, Function<Vec3d, Vec3d> positionOffset, @Nullable Box box, BiConsumer<Vec3d, List<? extends Entity>> sorter, boolean senderOnly, @Nullable String playerName, @Nullable UUID uuid, @Nullable EntityType<?> type, boolean usesAt) 
- 
Uses of Vec3d in net.minecraft.command.argumentFields in net.minecraft.command.argument with type parameters of type Vec3dModifier and TypeFieldDescriptionprivate final BiFunction<Vec3d, Entity, Vec3d> EntityAnchorArgumentType.EntityAnchor.offsetprivate final BiFunction<Vec3d, Entity, Vec3d> EntityAnchorArgumentType.EntityAnchor.offsetMethods in net.minecraft.command.argument that return Vec3dModifier and TypeMethodDescriptionDefaultPosArgument.getPos(ServerCommandSource source) LookingPosArgument.getPos(ServerCommandSource source) PosArgument.getPos(ServerCommandSource source) static Vec3dVec3ArgumentType.getVec3(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) EntityAnchorArgumentType.EntityAnchor.positionAt(Entity entity) EntityAnchorArgumentType.EntityAnchor.positionAt(ServerCommandSource source) Constructor parameters in net.minecraft.command.argument with type arguments of type Vec3dModifierConstructorDescriptionprivateEntityAnchor(String id, BiFunction<Vec3d, Entity, Vec3d> offset) privateEntityAnchor(String id, BiFunction<Vec3d, Entity, Vec3d> offset) 
- 
Uses of Vec3d in net.minecraft.enchantmentMethods in net.minecraft.enchantment with parameters of type Vec3dModifier and TypeMethodDescriptionprivate static LootContextEnchantment.createEnchantedEntityLootContext(ServerWorld world, int level, Entity entity, Vec3d pos) private static LootContextEnchantment.createHitBlockLootContext(ServerWorld world, int level, Entity entity, Vec3d pos, BlockState state) voidEnchantment.onHitBlock(ServerWorld world, int level, EnchantmentEffectContext context, Entity enchantedEntity, Vec3d pos, BlockState state) static voidEnchantmentHelper.onHitBlock(ServerWorld world, ItemStack stack, @Nullable LivingEntity user, Entity enchantedEntity, @Nullable EquipmentSlot slot, Vec3d pos, BlockState state, Consumer<Item> onBreak) 
- 
Uses of Vec3d in net.minecraft.enchantment.effectMethods in net.minecraft.enchantment.effect with parameters of type Vec3dModifier and TypeMethodDescriptionvoidAllOfEnchantmentEffects.EntityEffects.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidAllOfEnchantmentEffects.LocationBasedEffects.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos, boolean newlyApplied) voidAttributeEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos, boolean newlyApplied) voidEnchantmentEntityEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) default voidEnchantmentEntityEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos, boolean newlyApplied) voidEnchantmentLocationBasedEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos, boolean newlyApplied) voidAllOfEnchantmentEffects.LocationBasedEffects.remove(EnchantmentEffectContext context, Entity user, Vec3d pos, int level) voidAttributeEnchantmentEffect.remove(EnchantmentEffectContext context, Entity user, Vec3d pos, int level) default voidEnchantmentLocationBasedEffect.remove(EnchantmentEffectContext context, Entity user, Vec3d pos, int level) 
- 
Uses of Vec3d in net.minecraft.enchantment.effect.entityFields in net.minecraft.enchantment.effect.entity declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dExplodeEnchantmentEffect.offsetThe field for theoffsetrecord component.Methods in net.minecraft.enchantment.effect.entity that return Vec3dModifier and TypeMethodDescriptionExplodeEnchantmentEffect.offset()Returns the value of theoffsetrecord component.Methods in net.minecraft.enchantment.effect.entity with parameters of type Vec3dModifier and TypeMethodDescriptionvoidApplyMobEffectEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidChangeItemDamageEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidDamageEntityEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidExplodeEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidIgniteEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidPlaySoundEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidReplaceBlockEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidReplaceDiskEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidRunFunctionEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidSetBlockPropertiesEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidSpawnParticlesEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) voidSummonEntityEnchantmentEffect.apply(ServerWorld world, int level, EnchantmentEffectContext context, Entity user, Vec3d pos) private @Nullable DamageSourceExplodeEnchantmentEffect.getDamageSource(Entity user, Vec3d pos) Constructors in net.minecraft.enchantment.effect.entity with parameters of type Vec3dModifierConstructorDescriptionExplodeEnchantmentEffect(boolean bool, Optional<RegistryEntry<DamageType>> optional, Optional<EnchantmentLevelBasedValue> optional2, Optional<RegistryEntryList<Block>> optional3, Vec3d vec3d, EnchantmentLevelBasedValue enchantmentLevelBasedValue, boolean bool2, World.ExplosionSourceType explosionSourceType, ParticleEffect particleEffect, ParticleEffect particleEffect2, RegistryEntry<SoundEvent> registryEntry) 
- 
Uses of Vec3d in net.minecraft.entityFields in net.minecraft.entity declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dEntity.QueuedCollisionCheck.fromThe field for thefromrecord component.protected Vec3dEntity.movementMultiplierprivate Vec3dEntity.posprivate Vec3dTrackedPosition.posprivate final Vec3dEntity.QueuedCollisionCheck.toThe field for thetorecord component.private Vec3dEntity.velocityFields in net.minecraft.entity with type parameters of type Vec3dModifier and TypeFieldDescriptionEntityAttachmentType.Point.NONEprivate final Map<EntityAttachmentType, List<Vec3d>> EntityAttachments.Builder.pointsprivate final Map<EntityAttachmentType, List<Vec3d>> EntityAttachments.pointsMethods in net.minecraft.entity that return Vec3dModifier and TypeMethodDescriptionstatic Vec3dEntity.adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, List<VoxelShape> collisions) private Vec3dEntity.adjustMovementForCollisions(Vec3d movement) private static Vec3dEntity.adjustMovementForCollisions(Vec3d movement, Box entityBoundingBox, List<VoxelShape> collisions) protected Vec3dEntity.adjustMovementForPiston(Vec3d movement) protected Vec3dEntity.adjustMovementForSneaking(Vec3d movement, MovementType type) private Vec3dLivingEntity.applyClimbingSpeed(Vec3d motion) LivingEntity.applyFluidMovingSpeed(double gravity, boolean falling, Vec3d motion) private Vec3dLivingEntity.applyMovementInput(Vec3d movementInput, float slipperiness) private Vec3dLivingEntity.calcGlidingVelocity(Vec3d oldVelocity) Dismounting.findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) Entity.QueuedCollisionCheck.from()Returns the value of thefromrecord component.final Vec3dEntity.getCameraPosVec(float tickDelta) Entity.getClientCameraPosVec(float tickDelta) protected Vec3dLivingEntity.getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) final Vec3dEntity.getEyePos()Returns the position of the eye.Entity.getHandPosOffset(Item item) Returns the offset of the hand that holdsitem.final Vec3dEntity.getLastRenderPos()protected Vec3dEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.Entity.getLeashOffset(float tickDelta) Entity.getLeashPos(float delta) Returns the position of the leash this entity holds.final Vec3dEntity.getLerpedPos(float delta) Entity.getMovement()final Vec3dEntity.getOppositeRotationVector(float tickDelta) protected final Vec3dEntity.getOppositeRotationVector(float pitch, float yaw) protected Vec3dEntity.getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) protected static Vec3dEntity.getPassengerAttachmentPos(Entity vehicle, Entity passenger, EntityAttachments attachments) protected static Vec3dEntity.getPassengerDismountOffset(double vehicleWidth, double passengerWidth, float passengerYaw) Returns the offset for dismounting the passenger.Entity.getPassengerRidingPos(Entity passenger) LivingEntity.getPassengerRidingPos(Entity passenger) EntityAttachments.getPoint(EntityAttachmentType type, int index, float yaw) EntityAttachments.getPointNullable(EntityAttachmentType type, int index, float yaw) EntityAttachments.getPointOrDefault(EntityAttachmentType type, int index, float yaw) Entity.getPos()Returns the exact position of the entity.TrackedPosition.getPos()final Vec3dEntity.getRotationVec(float tickDelta) Entity.getRotationVecClient()Entity.getRotationVector()final Vec3dEntity.getRotationVector(float pitch, float yaw) Entity.getSyncedPos()Returns the position of the entity synced to clients.Entity.getVehicleAttachmentPos(Entity vehicle) Entity.getVelocity()protected static Vec3dEntity.movementInputToVelocity(Vec3d movementInput, float speed, float yaw) Returns a vector with the horizontal direction beingyawdegrees and the absolute value beingmovementInputnormalized and multiplied byspeed.Entity.positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.LivingEntity.positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.static Vec3dLivingEntity.positionInPortal(Vec3d pos) private static Vec3dEntityAttachments.rotatePoint(Vec3d point, float yaw) Entity.QueuedCollisionCheck.to()Returns the value of thetorecord component.Entity.updatePassengerForDismount(LivingEntity passenger) Returns the position of the dismountedpassenger.TrackedPosition.withDelta(long x, long y, long z) Methods in net.minecraft.entity that return types with arguments of type Vec3dModifier and TypeMethodDescriptionEntityAttachmentType.Point.create(float width, float height) EntityAttachmentType.createPoint(float width, float height) EntityAttachments.scalePoints(List<Vec3d> points, float xScale, float yScale, float zScale) Methods in net.minecraft.entity with parameters of type Vec3dModifier and TypeMethodDescriptionEntityAttachments.Builder.add(EntityAttachmentType type, Vec3d point) voidEntity.addVelocity(Vec3d velocity) voidEntity.addVelocityInternal(Vec3d velocity) static Vec3dEntity.adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, List<VoxelShape> collisions) private Vec3dEntity.adjustMovementForCollisions(Vec3d movement) private static Vec3dEntity.adjustMovementForCollisions(Vec3d movement, Box entityBoundingBox, List<VoxelShape> collisions) protected Vec3dEntity.adjustMovementForPiston(Vec3d movement) protected Vec3dEntity.adjustMovementForSneaking(Vec3d movement, MovementType type) private Vec3dLivingEntity.applyClimbingSpeed(Vec3d motion) LivingEntity.applyFluidMovingSpeed(double gravity, boolean falling, Vec3d motion) private voidEntity.applyMoveEffect(Entity.MoveEffect moveEffect, Vec3d movement, BlockPos landingPos, BlockState landingState) private Vec3dLivingEntity.applyMovementInput(Vec3d movementInput, float slipperiness) EntityType.Builder.attachment(EntityAttachmentType type, Vec3d offset) private Vec3dLivingEntity.calcGlidingVelocity(Vec3d oldVelocity) protected BoxEntity.calculateDefaultBoundingBox(Vec3d pos) static booleanDismounting.canPlaceEntityAt(CollisionView world, Vec3d offset, LivingEntity entity, EntityPose pose) private booleanEntity.collides(Vec3d oldPos, Vec3d newPos, BlockPos blockPos, VoxelShape shape) protected Vec3dLivingEntity.getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) longlonglongprotected booleanEntity.hasCollidedSoftly(Vec3d adjustedMovement) Entity.interactAt(PlayerEntity player, Vec3d hitPos, Hand hand) Called when the player interacts with the entity at the specific position.voidEntity.lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) Changes this entity's pitch and yaw to look attarget.voidLivingEntity.lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) Changes this entity's pitch and yaw to look attarget.voidEntity.move(MovementType type, Vec3d movement) protected static Vec3dEntity.movementInputToVelocity(Vec3d movementInput, float speed, float yaw) Returns a vector with the horizontal direction beingyawdegrees and the absolute value beingmovementInputnormalized and multiplied byspeed.EntityType.Builder.passengerAttachments(Vec3d[] passengerAttachments) static Vec3dLivingEntity.positionInPortal(Vec3d pos) voidEntity.queueBlockCollisionCheck(Vec3d oldPos, Vec3d newPos) voidEntity.refreshPositionAfterTeleport(Vec3d pos) voidEntity.refreshPositionAndAngles(Vec3d pos, float yaw, float pitch) private static Vec3dEntityAttachments.rotatePoint(Vec3d point, float yaw) voidEntity.setMovement(boolean onGround, boolean horizontalCollision, Vec3d movement) voidEntity.setMovement(boolean onGround, Vec3d movement) voidfinal voidEntity.setPosition(Vec3d pos) Sets the position and refreshes the bounding box.private voidEntity.setPrevPosition(Vec3d pos) final voidEntity.setPrevPositionAndAngles(Vec3d pos, float yaw, float pitch) voidEntity.setVelocity(Vec3d velocity) voidEntity.slowMovement(BlockState state, Vec3d multiplier) CallsEntity.onLanding()and slows this entity.static voidExperienceOrbEntity.spawn(ServerWorld world, Vec3d pos, int amount) doubleEntity.squaredDistanceTo(Vec3d vector) Returns the squared distance between this entity and the given position.private booleanEntity.stepOnBlock(BlockPos pos, BlockState state, boolean playSound, boolean emitEvent, Vec3d movement) voidEntity.tickBlockCollision(Vec3d lastRenderPos, Vec3d pos) protected voidLivingEntity.tickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) voidAllows you to do certain speed and velocity calculations.private voidLivingEntity.travelControlled(PlayerEntity controllingPlayer, Vec3d movementInput) private voidLivingEntity.travelInFluid(Vec3d movementInput) private voidLivingEntity.travelMidAir(Vec3d movementInput) protected voidEntity.updateSupportingBlockPos(boolean onGround, @Nullable Vec3d movement) voidEntity.updateVelocity(float speed, Vec3d movementInput) Updates the entity's velocity to add a vector in the direction of the entity's yaw whose absolute value ismovementInputnormalized and multiplied byspeed.EntityType.Builder.vehicleAttachment(Vec3d vehicleAttachment) private static booleanExperienceOrbEntity.wasMergedIntoExistingOrb(ServerWorld world, Vec3d pos, int amount) Method parameters in net.minecraft.entity with type arguments of type Vec3dModifier and TypeMethodDescriptionEntityAttachments.scalePoints(List<Vec3d> points, float xScale, float yScale, float zScale) Constructors in net.minecraft.entity with parameters of type Vec3dConstructor parameters in net.minecraft.entity with type arguments of type Vec3dModifierConstructorDescription(package private)EntityAttachments(Map<EntityAttachmentType, List<Vec3d>> points) 
- 
Uses of Vec3d in net.minecraft.entity.aiMethods in net.minecraft.entity.ai that return Vec3dModifier and TypeMethodDescriptionAboveGroundTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, double x, double z, float angle, int maxAboveSolid, int minAboveSolid) FuzzyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange) Paths to a random reachable position with positive path-finding favorability.FuzzyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer) Paths to a random reachable position with positive path-finding favorability computed by a given function.NoPenaltySolidTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double rangeAngle) NoPenaltyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange) Paths to a random reachable position with no penalty.NoWaterTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange) FuzzyTargeting.findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start) Paths to a random reachable position leading away from a given starting point.NoPenaltyTargeting.findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start) Paths to a position leading away from a given starting point.FuzzyTargeting.findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end) Paths to a random reachable position leading towards a given end-point.NoPenaltyTargeting.findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange) Paths to a position leading towards a given end-point.FuzzyTargeting.findValid(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction, boolean posTargetInRange) FuzzyPositions.guessBest(Supplier<BlockPos> factory, ToDoubleFunction<BlockPos> scorer) Returns thebottom centerof a highest scoring position, as determined byscorer, out of 10 tries on positions obtained fromfactory.FuzzyPositions.guessBestPathTarget(PathAwareEntity entity, Supplier<BlockPos> factory) CallsFuzzyPositions.guessBest(Supplier, ToDoubleFunction)with theentity's path finding favor as thescorer.Methods in net.minecraft.entity.ai with parameters of type Vec3dModifier and TypeMethodDescriptionNoWaterTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange) FuzzyTargeting.findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start) Paths to a random reachable position leading away from a given starting point.NoPenaltyTargeting.findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start) Paths to a position leading away from a given starting point.FuzzyTargeting.findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end) Paths to a random reachable position leading towards a given end-point.NoPenaltyTargeting.findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange) Paths to a position leading towards a given end-point.FuzzyTargeting.findValid(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction, boolean posTargetInRange) 
- 
Uses of Vec3d in net.minecraft.entity.ai.brainFields in net.minecraft.entity.ai.brain declared as Vec3dFields in net.minecraft.entity.ai.brain with type parameters of type Vec3dModifier and TypeFieldDescriptionstatic final MemoryModuleType<Vec3d> MemoryModuleType.RAM_TARGETMethods in net.minecraft.entity.ai.brain that return Vec3dModifier and TypeMethodDescriptionBlockPosLookTarget.getPos()EntityLookTarget.getPos()LookTarget.getPos()Constructors in net.minecraft.entity.ai.brain with parameters of type Vec3dModifierConstructorDescriptionBlockPosLookTarget(Vec3d pos) WalkTarget(Vec3d pos, float speed, int completionRange) 
- 
Uses of Vec3d in net.minecraft.entity.ai.brain.taskFields in net.minecraft.entity.ai.brain.task declared as Vec3dModifier and TypeFieldDescriptionLongJumpTask.currentTargetprivate Vec3dRamImpactTask.directionprivate Vec3dFrogEatEntityTask.targetPosFields in net.minecraft.entity.ai.brain.task with type parameters of type Vec3dMethods in net.minecraft.entity.ai.brain.task that return Vec3dModifier and TypeMethodDescriptionprivate Vec3dPrepareRamTask.calculateRamTarget(BlockPos start, BlockPos end) TargetUtil.find(PathAwareEntity entity, int horizontalRange, int verticalRange) SeekSkyTask.findNearbySky(ServerWorld world, LivingEntity entity) FleeTask.findTarget(E entity, ServerWorld world) StrollTask.findTargetPos(PathAwareEntity entity) StrollTask.findTargetPos(PathAwareEntity entity, int horizontalRadius, int verticalRadius) LongJumpTask.getJumpingVelocity(MobEntity entity, Vec3d targetPos) static Vec3dBreezeMovementUtil.getRandomPosBehindTarget(LivingEntity target, Random random) private static Vec3dBreezeSlideTowardsTargetTask.getRandomPosInMediumRange(BreezeEntity breeze, LivingEntity target) private static Vec3dGiveInventoryToLookTargetTask.offsetTarget(LookTarget target) Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type Vec3dModifier and TypeMethodDescriptionBreezeJumpTask.getJumpingVelocity(BreezeEntity breeze, Random random, Vec3d jumpTarget) Methods in net.minecraft.entity.ai.brain.task with parameters of type Vec3dModifier and TypeMethodDescriptionstatic booleanBreezeMovementUtil.canMoveTo(BreezeEntity breeze, Vec3d pos) BreezeJumpTask.getJumpingVelocity(BreezeEntity breeze, Random random, Vec3d jumpTarget) LongJumpTask.getJumpingVelocity(MobEntity entity, Vec3d targetPos) BreezeJumpTask.getPosToJumpTo(LivingEntity breeze, Vec3d pos) static voidTargetUtil.give(LivingEntity entity, ItemStack stack, Vec3d targetLocation) static voidTargetUtil.give(LivingEntity entity, ItemStack stack, Vec3d targetLocation, Vec3d velocityFactor, float yOffset) static voidGiveInventoryToLookTargetTask.playThrowSound(LivingEntity entity, ItemStack stack, Vec3d target) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type Vec3dModifier and TypeMethodDescriptionprivate static <T> SingleTickTask<PathAwareEntity> GoToRememberedPositionTask.create(MemoryModuleType<T> posSource, float speed, int range, boolean requiresWalkTarget, Function<T, Vec3d> posGetter) private static SingleTickTask<PathAwareEntity> StrollTask.create(float speed, Function<PathAwareEntity, Vec3d> targetGetter, Predicate<PathAwareEntity> shouldRun) 
- 
Uses of Vec3d in net.minecraft.entity.ai.controlMethods in net.minecraft.entity.ai.control with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.entity.ai.goalMethods in net.minecraft.entity.ai.goal that return Vec3dModifier and TypeMethodDescriptionIronGolemWanderAroundGoal.findRandomBlockPos()IronGolemWanderAroundGoal.findRandomInRange()IronGolemWanderAroundGoal.findVillagerPos()FlyGoal.getWanderTarget()IronGolemWanderAroundGoal.getWanderTarget()SwimAroundGoal.getWanderTarget()WanderAroundFarGoal.getWanderTarget()WanderAroundGoal.getWanderTarget()WanderAroundPointOfInterestGoal.getWanderTarget()EscapeSunlightGoal.locateShadedPos()
- 
Uses of Vec3d in net.minecraft.entity.ai.pathingFields in net.minecraft.entity.ai.pathing declared as Vec3dMethods in net.minecraft.entity.ai.pathing that return Vec3dModifier and TypeMethodDescriptionPath.getNodePosition(Entity entity) Path.getNodePosition(Entity entity, int index) protected Vec3dAmphibiousSwimNavigation.getPos()The position to act as if the entity is at for pathfinding purposesprotected Vec3dBirdNavigation.getPos()The position to act as if the entity is at for pathfinding purposesprotected abstract Vec3dEntityNavigation.getPos()The position to act as if the entity is at for pathfinding purposesprotected Vec3dMobNavigation.getPos()The position to act as if the entity is at for pathfinding purposesPathNode.getPos()protected Vec3dSwimNavigation.getPos()The position to act as if the entity is at for pathfinding purposesMethods in net.minecraft.entity.ai.pathing with parameters of type Vec3dModifier and TypeMethodDescriptionprotected doubleAmphibiousSwimNavigation.adjustTargetY(Vec3d pos) protected doubleEntityNavigation.adjustTargetY(Vec3d pos) protected doubleSwimNavigation.adjustTargetY(Vec3d pos) protected booleanAmphibiousSwimNavigation.canPathDirectlyThrough(Vec3d origin, Vec3d target) protected booleanBirdNavigation.canPathDirectlyThrough(Vec3d origin, Vec3d target) protected booleanEntityNavigation.canPathDirectlyThrough(Vec3d origin, Vec3d target) protected booleanSwimNavigation.canPathDirectlyThrough(Vec3d origin, Vec3d target) protected voidEntityNavigation.checkTimeouts(Vec3d currentPos) protected static booleanEntityNavigation.doesNotCollide(MobEntity entity, Vec3d startPos, Vec3d entityPos, boolean includeFluids) private booleanEntityNavigation.shouldJumpToNextNode(Vec3d currentPos) 
- 
Uses of Vec3d in net.minecraft.entity.bossMethods in net.minecraft.entity.boss with parameters of type Vec3dModifier and TypeMethodDescriptionvoidWitherEntity.slowMovement(BlockState state, Vec3d multiplier) CallsEntity.onLanding()and slows this entity.
- 
Uses of Vec3d in net.minecraft.entity.boss.dragonMethods in net.minecraft.entity.boss.dragon that return Vec3d
- 
Uses of Vec3d in net.minecraft.entity.boss.dragon.phaseFields in net.minecraft.entity.boss.dragon.phase declared as Vec3dModifier and TypeFieldDescriptionChargingPlayerPhase.pathTargetHoldingPatternPhase.pathTargetLandingApproachPhase.pathTargetStrafePlayerPhase.pathTargetTakeoffPhase.pathTargetDyingPhase.targetHoverPhase.targetLandingPhase.targetMethods in net.minecraft.entity.boss.dragon.phase that return Vec3dModifier and TypeMethodDescriptionAbstractPhase.getPathTarget()ChargingPlayerPhase.getPathTarget()DyingPhase.getPathTarget()HoldingPatternPhase.getPathTarget()HoverPhase.getPathTarget()LandingApproachPhase.getPathTarget()LandingPhase.getPathTarget()Phase.getPathTarget()StrafePlayerPhase.getPathTarget()TakeoffPhase.getPathTarget()Methods in net.minecraft.entity.boss.dragon.phase with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.entity.damageFields in net.minecraft.entity.damage declared as Vec3dMethods in net.minecraft.entity.damage that return Vec3dMethods in net.minecraft.entity.damage with parameters of type Vec3dConstructors in net.minecraft.entity.damage with parameters of type Vec3dModifierConstructorDescriptionprivateDamageSource(RegistryEntry<DamageType> type, @Nullable Entity source, @Nullable Entity attacker, @Nullable Vec3d position) DamageSource(RegistryEntry<DamageType> type, Vec3d position) 
- 
Uses of Vec3d in net.minecraft.entity.decorationMethods in net.minecraft.entity.decoration that return Vec3dModifier and TypeMethodDescriptionArmorStandEntity.getClientCameraPosVec(float tickDelta) LeashKnotEntity.getLeashPos(float delta) Returns the position of the leash this entity holds.Methods in net.minecraft.entity.decoration with parameters of type Vec3dModifier and TypeMethodDescriptionprotected BoxInteractionEntity.calculateDefaultBoundingBox(Vec3d pos) private EquipmentSlotArmorStandEntity.getSlotFromPosition(Vec3d hitPos) ArmorStandEntity.interactAt(PlayerEntity player, Vec3d hitPos, Hand hand) Called when the player interacts with the entity at the specific position.voidBlockAttachedEntity.move(MovementType type, Vec3d movement) voidItemFrameEntity.move(MovementType type, Vec3d movement) voidAllows you to do certain speed and velocity calculations.
- 
Uses of Vec3d in net.minecraft.entity.decoration.paintingMethods in net.minecraft.entity.decoration.painting that return Vec3dModifier and TypeMethodDescriptionPaintingEntity.getSyncedPos()Returns the position of the entity synced to clients.
- 
Uses of Vec3d in net.minecraft.entity.effectMethods in net.minecraft.entity.effect with parameters of type Vec3dModifier and TypeMethodDescriptionstatic List<ServerPlayerEntity> StatusEffectUtil.addEffectToPlayersWithinDistance(ServerWorld world, @Nullable Entity entity, Vec3d origin, double range, StatusEffectInstance statusEffectInstance, int duration) 
- 
Uses of Vec3d in net.minecraft.entity.mobFields in net.minecraft.entity.mob declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3d[][]IllusionerEntity.mirrorCopyOffsets(package private) Vec3dPhantomEntity.targetPositionMethods in net.minecraft.entity.mob that return Vec3dModifier and TypeMethodDescriptionprivate static Vec3dPiglinBrain.findGround(PiglinEntity piglin) Vec3d[]IllusionerEntity.getMirrorCopyOffsets(float tickDelta) protected Vec3dSlimeEntity.getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) ShulkerEntity.getRenderPositionOffset(float tickDelta) CaveSpiderEntity.getVehicleAttachmentPos(Entity vehicle) SpiderEntity.getVehicleAttachmentPos(Entity vehicle) ShulkerEntity.getVelocity()DrownedEntity.WanderAroundOnSurfaceGoal.getWanderTarget()Methods in net.minecraft.entity.mob with parameters of type Vec3dModifier and TypeMethodDescriptionstatic voidWardenEntity.addDarknessToClosePlayers(ServerWorld world, Vec3d pos, @Nullable Entity entity, int range) static BoxShulkerEntity.calculateBoundingBox(float scale, Direction facing, float prevExtraLength, float extraLength, Vec3d pos) static BoxShulkerEntity.calculateBoundingBox(float scale, Direction facing, float extraLength, Vec3d pos) protected BoxShulkerEntity.calculateDefaultBoundingBox(Vec3d pos) private static voidPiglinBrain.drop(PiglinEntity piglin, List<ItemStack> items, Vec3d pos) booleanBreezeEntity.isWithinShortRange(Vec3d pos) voidShulkerEntity.move(MovementType type, Vec3d movement) voidShulkerEntity.setVelocity(Vec3d velocity) voidSpiderEntity.slowMovement(BlockState state, Vec3d multiplier) CallsEntity.onLanding()and slows this entity.voidAllows you to do certain speed and velocity calculations.voidAllows you to do certain speed and velocity calculations.voidAllows you to do certain speed and velocity calculations.private booleanGhastEntity.GhastMoveControl.willCollide(Vec3d direction, int steps) 
- 
Uses of Vec3d in net.minecraft.entity.passiveFields in net.minecraft.entity.passive declared as Vec3dModifier and TypeFieldDescriptionBeeEntity.PollinateGoal.nextTargetprivate Vec3dPandaEntity.playingJump(package private) Vec3dSquidEntity.swimVecMethods in net.minecraft.entity.passive that return Vec3dModifier and TypeMethodDescriptionprivate Vec3dSquidEntity.applyBodyRotations(Vec3d shootVector) protected Vec3dAbstractHorseEntity.getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec3dCamelEntity.getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec3dPigEntity.getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec3dStriderEntity.getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) private Vec3dSnifferEntity.getDigLocation()AllayEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.BeeEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.CamelEntity.getLeashOffset(float tickDelta) FoxEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.IronGolemEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.LlamaEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.OcelotEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.ParrotEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.PigEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.RabbitEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.SnowGolemEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.StriderEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.WolfEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.MerchantEntity.getLeashPos(float delta) Returns the position of the leash this entity holds.protected Vec3dAbstractHorseEntity.getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) protected Vec3dCamelEntity.getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) protected Vec3dLlamaEntity.getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) protected Vec3dStriderEntity.getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) BeeEntity.BeeWanderAroundGoal.getRandomLocation()ParrotEntity.FlyOntoTreeGoal.getWanderTarget()AbstractHorseEntity.locateSafeDismountingPos(Vec3d offset, LivingEntity passenger) ParrotEntity.FlyOntoTreeGoal.locateTree()AbstractHorseEntity.updatePassengerForDismount(LivingEntity passenger) Returns the position of the dismountedpassenger.PigEntity.updatePassengerForDismount(LivingEntity passenger) Returns the position of the dismountedpassenger.StriderEntity.updatePassengerForDismount(LivingEntity passenger) Returns the position of the dismountedpassenger.Methods in net.minecraft.entity.passive with parameters of type Vec3dModifier and TypeMethodDescriptionprivate Vec3dSquidEntity.applyBodyRotations(Vec3d shootVector) protected Vec3dAbstractHorseEntity.getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec3dCamelEntity.getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec3dPigEntity.getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec3dStriderEntity.getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected voidprotected voidbooleanAllayEntity.JukeboxEventListener.listen(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.AbstractHorseEntity.locateSafeDismountingPos(Vec3d offset, LivingEntity passenger) protected voidAbstractHorseEntity.tickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) protected voidCamelEntity.tickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) protected voidPigEntity.tickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) protected voidStriderEntity.tickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) voidAllows you to do certain speed and velocity calculations.voidAllows you to do certain speed and velocity calculations.voidAllows you to do certain speed and velocity calculations.voidAllows you to do certain speed and velocity calculations.voidAllows you to do certain speed and velocity calculations.voidAllows you to do certain speed and velocity calculations.voidAllows you to do certain speed and velocity calculations.voidAllows you to do certain speed and velocity calculations.
- 
Uses of Vec3d in net.minecraft.entity.playerFields in net.minecraft.entity.player declared as Vec3dModifier and TypeFieldDescriptionPlayerEntity.currentExplosionImpactPosprivate final Vec3dPlayerPosition.deltaMovementThe field for thedeltaMovementrecord component.private final Vec3dPlayerPosition.positionThe field for thepositionrecord component.static final Vec3dPlayerEntity.VEHICLE_ATTACHMENT_POSMethods in net.minecraft.entity.player that return Vec3dModifier and TypeMethodDescriptionprotected Vec3dPlayerEntity.adjustMovementForSneaking(Vec3d movement, MovementType type) PlayerPosition.deltaMovement()Returns the value of thedeltaMovementrecord component.PlayerEntity.getLeashPos(float delta) Returns the position of the leash this entity holds.PlayerPosition.position()Returns the value of thepositionrecord component.Methods in net.minecraft.entity.player with parameters of type Vec3dModifier and TypeMethodDescriptionprotected Vec3dPlayerEntity.adjustMovementForSneaking(Vec3d movement, MovementType type) voidPlayerEntity.slowMovement(BlockState state, Vec3d multiplier) CallsEntity.onLanding()and slows this entity.voidAllows you to do certain speed and velocity calculations.Constructors in net.minecraft.entity.player with parameters of type Vec3dModifierConstructorDescriptionPlayerPosition(Vec3d vec3d, Vec3d vec3d2, float float2, float float3) 
- 
Uses of Vec3d in net.minecraft.entity.projectileMethods in net.minecraft.entity.projectile that return Vec3dModifier and TypeMethodDescriptionProjectileEntity.calculateVelocity(double x, double y, double z, float power, float uncertainty) Methods in net.minecraft.entity.projectile with parameters of type Vec3dModifier and TypeMethodDescriptionprotected BoxAbstractWindChargeEntity.calculateDefaultBoundingBox(Vec3d pos) protected abstract voidAbstractWindChargeEntity.createExplosion(Vec3d pos) protected voidBreezeWindChargeEntity.createExplosion(Vec3d pos) protected voidWindChargeEntity.createExplosion(Vec3d pos) private static HitResultProjectileUtil.getCollision(Vec3d pos, Entity entity, Predicate<Entity> predicate, Vec3d velocity, World world, float margin, RaycastContext.ShapeType raycastShapeType) protected @Nullable EntityHitResultPersistentProjectileEntity.getEntityCollision(Vec3d currentPosition, Vec3d nextPosition) static @Nullable EntityHitResultProjectileUtil.getEntityCollision(World world, Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate) static @Nullable EntityHitResultProjectileUtil.getEntityCollision(World world, Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate, float margin) protected @Nullable EntityHitResultTridentEntity.getEntityCollision(Vec3d currentPosition, Vec3d nextPosition) voidPersistentProjectileEntity.move(MovementType type, Vec3d movement) static @Nullable EntityHitResultProjectileUtil.raycast(Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate, double maxDistance) private voidExplosiveProjectileEntity.setVelocityWithAcceleration(Vec3d velocity, double accelerationPower) private voidPersistentProjectileEntity.spawnBubbleParticles(Vec3d pos) Constructors in net.minecraft.entity.projectile with parameters of type Vec3dModifierConstructorDescriptionAbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, double x, double y, double z, Vec3d velocity, World world) AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, LivingEntity owner, Vec3d velocity, World world) (package private)AbstractWindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, double x, double y, double z, Vec3d velocity, World world) DragonFireballEntity(World world, LivingEntity owner, Vec3d velocity) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, Vec3d velocity, World world) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, Vec3d velocity, World world) FireballEntity(World world, LivingEntity owner, Vec3d velocity, int explosionPower) SmallFireballEntity(World world, double x, double y, double z, Vec3d velocity) SmallFireballEntity(World world, LivingEntity owner, Vec3d velocity) WindChargeEntity(World world, double x, double y, double z, Vec3d velocity) WitherSkullEntity(World world, LivingEntity owner, Vec3d velocity) 
- 
Uses of Vec3d in net.minecraft.entity.projectile.thrownMethods in net.minecraft.entity.projectile.thrown with parameters of type Vec3dModifier and TypeMethodDescriptionprivate voidEnderPearlEntity.playTeleportSound(World world, Vec3d pos) 
- 
Uses of Vec3d in net.minecraft.entity.vehicleFields in net.minecraft.entity.vehicle declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dExperimentalMinecartController.Step.movementThe field for themovementrecord component.private final Vec3dExperimentalMinecartController.Step.positionThe field for thepositionrecord component.FurnaceMinecartEntity.pushVecprivate Vec3dDefaultMinecartController.velocityprivate static final Vec3dAbstractMinecartEntity.VILLAGER_PASSENGER_ATTACHMENT_POSMethods in net.minecraft.entity.vehicle that return Vec3dModifier and TypeMethodDescriptionprivate Vec3dExperimentalMinecartController.accelerateFromPoweredRail(Vec3d velocity, BlockPos railPos, BlockState railState) private Vec3dExperimentalMinecartController.applyInitialVelocity(Vec3d horizontalVelocity) private Vec3dExperimentalMinecartController.applySlopeVelocity(Vec3d horizontalVelocity, RailShape railShape) protected Vec3dAbstractMinecartEntity.applySlowdown(Vec3d velocity) protected Vec3dFurnaceMinecartEntity.applySlowdown(Vec3d velocity) protected Vec3dStorageMinecartEntity.applySlowdown(Vec3d velocity) private Vec3dExperimentalMinecartController.calcNewHorizontalVelocity(ServerWorld world, Vec3d horizontalVelocity, ExperimentalMinecartController.MoveIteration iteration, BlockPos pos, BlockState railState, RailShape railShape) private Vec3dExperimentalMinecartController.decelerateFromPoweredRail(Vec3d velocity, BlockState railState) AbstractMinecartEntity.getLaunchDirection(BlockPos railPos) AbstractBoatEntity.getLeashOffset()Returns the offset from the entity's position where the leash is attached to.ExperimentalMinecartController.getLerpedPosition(float tickDelta) ExperimentalMinecartController.getLerpedVelocity(float tickDelta) AbstractMinecartEntity.getMovement()protected Vec3dAbstractBoatEntity.getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) protected Vec3dAbstractMinecartEntity.getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) CommandBlockMinecartEntity.CommandExecutor.getPos()MinecartController.getPos()VehicleInventory.getPos()MinecartController.getVelocity()DefaultMinecartController.limitSpeed(Vec3d velocity) MinecartController.limitSpeed(Vec3d velocity) DefaultMinecartController.method_61619(double x, double y, double z, double double2) private Vec3dFurnaceMinecartEntity.method_64276(Vec3d velocity) ExperimentalMinecartController.Step.movement()Returns the value of themovementrecord component.ExperimentalMinecartController.Step.position()Returns the value of thepositionrecord component.AbstractBoatEntity.positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.AbstractMinecartEntity.positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.DefaultMinecartController.snapPositionToRail(double x, double y, double z) AbstractBoatEntity.updatePassengerForDismount(LivingEntity passenger) Returns the position of the dismountedpassenger.AbstractMinecartEntity.updatePassengerForDismount(LivingEntity passenger) Returns the position of the dismountedpassenger.Methods in net.minecraft.entity.vehicle with parameters of type Vec3dModifier and TypeMethodDescriptionprivate Vec3dExperimentalMinecartController.accelerateFromPoweredRail(Vec3d velocity, BlockPos railPos, BlockState railState) private Vec3dExperimentalMinecartController.applyInitialVelocity(Vec3d horizontalVelocity) private Vec3dExperimentalMinecartController.applySlopeVelocity(Vec3d horizontalVelocity, RailShape railShape) protected Vec3dAbstractMinecartEntity.applySlowdown(Vec3d velocity) protected Vec3dFurnaceMinecartEntity.applySlowdown(Vec3d velocity) protected Vec3dStorageMinecartEntity.applySlowdown(Vec3d velocity) private booleanprivate Vec3dExperimentalMinecartController.calcNewHorizontalVelocity(ServerWorld world, Vec3d horizontalVelocity, ExperimentalMinecartController.MoveIteration iteration, BlockPos pos, BlockState railState, RailShape railShape) private Vec3dExperimentalMinecartController.decelerateFromPoweredRail(Vec3d velocity, BlockState railState) DefaultMinecartController.limitSpeed(Vec3d velocity) MinecartController.limitSpeed(Vec3d velocity) private Vec3dFurnaceMinecartEntity.method_64276(Vec3d velocity) voidAbstractMinecartEntity.move(MovementType type, Vec3d movement) voidvoidMinecartController.setVelocity(Vec3d velocity) Constructors in net.minecraft.entity.vehicle with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.fluidMethods in net.minecraft.fluid that return Vec3dModifier and TypeMethodDescriptionEmptyFluid.getVelocity(BlockView world, BlockPos pos, FluidState state) FlowableFluid.getVelocity(BlockView world, BlockPos pos, FluidState state) protected abstract Vec3dFluid.getVelocity(BlockView world, BlockPos pos, FluidState state) FluidState.getVelocity(BlockView world, BlockPos pos) 
- 
Uses of Vec3d in net.minecraft.itemMethods in net.minecraft.item that return Vec3dModifier and TypeMethodDescriptionprivate Vec3dMaceItem.getCurrentExplosionImpactPos(ServerPlayerEntity player) ItemUsageContext.getHitPos()private static Vec3dFireworkRocketItem.position(BlockPointer pointer, Direction facing) Methods in net.minecraft.item with parameters of type Vec3dModifier and TypeMethodDescriptionprivate voidBrushItem.addDustParticles(World world, BlockHitResult hitResult, BlockState state, Vec3d userRotation, Arm arm) private static Vector3fCrossbowItem.calcVelocity(LivingEntity shooter, Vec3d direction, float yaw) private static doubleMaceItem.getKnockback(Entity attacker, LivingEntity attacked, Vec3d distance) SpawnEggItem.spawnBaby(PlayerEntity user, MobEntity entity, EntityType<? extends MobEntity> entityType, ServerWorld world, Vec3d pos, ItemStack stack) 
- 
Uses of Vec3d in net.minecraft.loot.contextFields in net.minecraft.loot.context with type parameters of type Vec3dModifier and TypeFieldDescriptionstatic final ContextParameter<Vec3d> LootContextParameters.ORIGIN
- 
Uses of Vec3d in net.minecraft.networkMethods in net.minecraft.network that return Vec3dModifier and TypeMethodDescriptionPacketByteBuf.readVec3d()Reads aVec3dfrom this buf.static Vec3dMethods in net.minecraft.network with parameters of type Vec3dModifier and TypeMethodDescriptionstatic voidPacketByteBuf.writeVec3d(ByteBuf buf, Vec3d vec) voidPacketByteBuf.writeVec3d(Vec3d vec) Writes aVec3dto this buf.
- 
Uses of Vec3d in net.minecraft.network.packet.c2s.playFields in net.minecraft.network.packet.c2s.play declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dPlayerInteractEntityC2SPacket.InteractAtHandler.posprivate final Vec3dVehicleMoveC2SPacket.positionThe field for thepositionrecord component.Methods in net.minecraft.network.packet.c2s.play that return Vec3dModifier and TypeMethodDescriptionVehicleMoveC2SPacket.position()Returns the value of thepositionrecord component.Methods in net.minecraft.network.packet.c2s.play with parameters of type Vec3dModifier and TypeMethodDescriptionvoidPlayerInteractEntityC2SPacket.Handler.interactAt(Hand hand, Vec3d pos) PlayerInteractEntityC2SPacket.interactAt(Entity entity, boolean playerSneaking, Hand hand, Vec3d pos) Constructors in net.minecraft.network.packet.c2s.play with parameters of type Vec3dModifierConstructorDescription(package private)InteractAtHandler(Hand hand, Vec3d pos) VehicleMoveC2SPacket(Vec3d vec3d, float float2, float float3, boolean bool) 
- 
Uses of Vec3d in net.minecraft.network.packet.s2c.customFields in net.minecraft.network.packet.s2c.custom declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dDebugBeeCustomPayload.Bee.posThe field for theposrecord component.private final Vec3dDebugBrainCustomPayload.Brain.posThe field for theposrecord component.private final Vec3dDebugGameEventCustomPayload.posThe field for theposrecord component.Methods in net.minecraft.network.packet.s2c.custom that return Vec3dModifier and TypeMethodDescriptionDebugBeeCustomPayload.Bee.pos()Returns the value of theposrecord component.DebugBrainCustomPayload.Brain.pos()Returns the value of theposrecord component.DebugGameEventCustomPayload.pos()Returns the value of theposrecord component.Constructors in net.minecraft.network.packet.s2c.custom with parameters of type Vec3dModifierConstructorDescriptionBee(UUID uuid, int entityId, Vec3d vec3d, @Nullable Path path, @Nullable BlockPos hive, @Nullable BlockPos flower, int travelTicks, Set<String> set, List<BlockPos> list) Brain(UUID uuid, int entityId, String name, String profession, int xp, float health, float maxHealth, Vec3d vec3d, String string, @Nullable Path path, boolean wantsGolem, int angerLevel, List<String> list, List<String> list2, List<String> list3, List<String> list4, Set<BlockPos> set, Set<BlockPos> set2) DebugGameEventCustomPayload(RegistryKey<GameEvent> registryKey, Vec3d vec3d) 
- 
Uses of Vec3d in net.minecraft.network.packet.s2c.playFields in net.minecraft.network.packet.s2c.play declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dExplosionS2CPacket.centerThe field for thecenterrecord component.private final Vec3dVehicleMoveS2CPacket.positionThe field for thepositionrecord component.Fields in net.minecraft.network.packet.s2c.play with type parameters of type Vec3dModifier and TypeFieldDescriptionExplosionS2CPacket.playerKnockbackThe field for theplayerKnockbackrecord component.EntityDamageS2CPacket.sourcePositionThe field for thesourcePositionrecord component.Methods in net.minecraft.network.packet.s2c.play that return Vec3dModifier and TypeMethodDescriptionExplosionS2CPacket.center()Returns the value of thecenterrecord component.LookAtS2CPacket.getTargetPosition(World world) VehicleMoveS2CPacket.position()Returns the value of thepositionrecord component.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type Vec3dModifier and TypeMethodDescriptionExplosionS2CPacket.playerKnockback()Returns the value of theplayerKnockbackrecord component.EntityDamageS2CPacket.sourcePosition()Returns the value of thesourcePositionrecord component.Constructors in net.minecraft.network.packet.s2c.play with parameters of type Vec3dModifierConstructorDescriptionEntitySpawnS2CPacket(int entityId, UUID uuid, double x, double y, double z, float pitch, float yaw, EntityType<?> entityType, int entityData, Vec3d velocity, double headYaw) EntityVelocityUpdateS2CPacket(int entityId, Vec3d velocity) ExplosionS2CPacket(Vec3d vec3d, Optional<Vec3d> optional, ParticleEffect particleEffect, RegistryEntry<SoundEvent> registryEntry) VehicleMoveS2CPacket(Vec3d vec3d, float float2, float float3) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type Vec3dModifierConstructorDescriptionEntityDamageS2CPacket(int int2, RegistryEntry<DamageType> registryEntry, int int3, int int4, Optional<Vec3d> optional) ExplosionS2CPacket(Vec3d vec3d, Optional<Vec3d> optional, ParticleEffect particleEffect, RegistryEntry<SoundEvent> registryEntry) 
- 
Uses of Vec3d in net.minecraft.particleFields in net.minecraft.particle declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dTrailParticleEffect.targetThe field for thetargetrecord component.Methods in net.minecraft.particle that return Vec3dModifier and TypeMethodDescriptionprivate static Vec3dParticleUtil.getRandomVelocity(Random random) TrailParticleEffect.target()Returns the value of thetargetrecord component.Methods in net.minecraft.particle with parameters of type Vec3dModifier and TypeMethodDescriptionstatic voidParticleUtil.spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier) Method parameters in net.minecraft.particle with type arguments of type Vec3dModifier and TypeMethodDescriptionstatic voidParticleUtil.spawnParticles(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) Constructors in net.minecraft.particle with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.predicate.entityMethods in net.minecraft.predicate.entity with parameters of type Vec3dModifier and TypeMethodDescriptionbooleanDamageSourcePredicate.test(ServerWorld world, Vec3d pos, DamageSource damageSource) booleanbooleanEntitySubPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanEntitySubPredicateTypes.DynamicVariantType.DynamicPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanEntitySubPredicateTypes.VariantType.VariantPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanFishingHookPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanLightningBoltPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanPlayerPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanRaiderPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanSheepPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanSlimePredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) 
- 
Uses of Vec3d in net.minecraft.server.chaseFields in net.minecraft.server.chase declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dChaseClient.TeleportPos.posThe field for theposrecord component.Methods in net.minecraft.server.chase that return Vec3dModifier and TypeMethodDescriptionChaseClient.TeleportPos.pos()Returns the value of theposrecord component.Constructors in net.minecraft.server.chase with parameters of type Vec3dModifierConstructorDescription(package private)TeleportPos(RegistryKey<World> dimension, Vec3d pos, Vec2f rot) Creates an instance of aTeleportPosrecord class.
- 
Uses of Vec3d in net.minecraft.server.commandFields in net.minecraft.server.command declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dLookTarget.LookAtPosition.positionThe field for thepositionrecord component.private final Vec3dServerCommandSource.positionMethods in net.minecraft.server.command that return Vec3dModifier and TypeMethodDescriptionServerCommandSource.getPosition()LookTarget.LookAtPosition.position()Returns the value of thepositionrecord component.Methods in net.minecraft.server.command with parameters of type Vec3dModifier and TypeMethodDescriptionprivate static intParticleCommand.execute(ServerCommandSource source, ParticleEffect parameters, Vec3d pos, Vec3d delta, float speed, int count, boolean force, Collection<ServerPlayerEntity> viewers) private static intPlaySoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume) private static intSummonCommand.execute(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) private static intLootCommand.executeSpawn(ServerCommandSource source, Vec3d pos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender) static EntitySummonCommand.summon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) ServerCommandSource.withLookingAt(Vec3d position) ServerCommandSource.withPosition(Vec3d position) Constructors in net.minecraft.server.command with parameters of type Vec3dModifierConstructorDescriptionLookAtPosition(Vec3d vec3d) ServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity) protectedServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity, boolean silent, ReturnValueConsumer resultStorer, EntityAnchorArgumentType.EntityAnchor entityAnchor, SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue) 
- 
Uses of Vec3d in net.minecraft.server.networkFields in net.minecraft.server.network declared as Vec3dModifier and TypeFieldDescriptionServerPlayerEntity.enteredNetherPosServerPlayerEntity.fallStartPosServerPlayerEntity.levitationStartPosprivate Vec3dServerPlayerEntity.movementprivate final Vec3dServerPlayerEntity.RespawnPos.posThe field for theposrecord component.ServerPlayNetworkHandler.requestedTeleportPosServerPlayerEntity.vehicleInLavaRidingPosprivate Vec3dEntityTrackerEntry.velocityMethods in net.minecraft.server.network that return Vec3dModifier and TypeMethodDescriptionServerPlayerEntity.getInputVelocityForMinecart()ServerPlayerEntity.getMovement()EntityTrackerEntry.getPos()EntityTrackerEntry.getVelocity()ServerPlayerEntity.RespawnPos.pos()Returns the value of theposrecord component.Methods in net.minecraft.server.network with parameters of type Vec3dModifier and TypeMethodDescriptionServerPlayerEntity.RespawnPos.fromCurrentPos(Vec3d respawnPos, BlockPos currentPos) private static floatprivate voidServerPlayNetworkHandler.handleMovement(Vec3d movement) voidServerPlayerEntity.lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) Changes this entity's pitch and yaw to look attarget.static voidDebugInfoSender.sendGameEvent(World world, RegistryEntry<GameEvent> event, Vec3d pos) voidServerPlayerEntity.setMovement(Vec3d movement) Constructors in net.minecraft.server.network with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.server.worldMethods in net.minecraft.server.world with parameters of type Vec3dModifier and TypeMethodDescriptionvoidServerWorld.emitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.
- 
Uses of Vec3d in net.minecraft.structureFields in net.minecraft.structure declared as Vec3dMethods in net.minecraft.structure that return Vec3dModifier and TypeMethodDescriptionstatic Vec3dStructureTemplate.transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) Methods in net.minecraft.structure with parameters of type Vec3dModifier and TypeMethodDescriptionstatic Vec3dStructureTemplate.transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) Constructors in net.minecraft.structure with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.testMethods in net.minecraft.test that return Vec3dModifier and TypeMethodDescriptionTestContext.getAbsolute(Vec3d pos) TestContext.getRelative(Vec3d pos) Methods in net.minecraft.test with parameters of type Vec3dModifier and TypeMethodDescriptionTestContext.getAbsolute(Vec3d pos) TestContext.getEntitiesAround(EntityType<E> type, Vec3d pos, double margin) TestContext.getRelative(Vec3d pos) <E extends Entity>
 ETestContext.spawnEntity(EntityType<E> type, Vec3d pos) <E extends MobEntity>
 ETestContext.spawnMob(EntityType<E> type, Vec3d pos) 
- 
Uses of Vec3d in net.minecraft.utilMethods in net.minecraft.util that return Vec3dModifier and TypeMethodDescriptionCubicSampler.RgbFetcher.fetch(int x, int y, int z) static Vec3dCubicSampler.sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher) Methods in net.minecraft.util with parameters of type Vec3dModifier and TypeMethodDescriptionstatic Vec3dCubicSampler.sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher) 
- 
Uses of Vec3d in net.minecraft.util.hitFields in net.minecraft.util.hit declared as Vec3dMethods in net.minecraft.util.hit that return Vec3dMethods in net.minecraft.util.hit with parameters of type Vec3dModifier and TypeMethodDescriptionstatic BlockHitResultBlockHitResult.createMissed(Vec3d pos, Direction side, BlockPos blockPos) Constructors in net.minecraft.util.hit with parameters of type Vec3dModifierConstructorDescriptionprivateBlockHitResult(boolean missed, Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock, boolean againstWorldBorder) BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock, boolean againstWorldBorder) EntityHitResult(Entity entity, Vec3d pos) protected
- 
Uses of Vec3d in net.minecraft.util.mathFields in net.minecraft.util.math declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dDirection.doubleVectorstatic final Vec3dVec3d.ZEROThe zero vector (0, 0, 0).Fields in net.minecraft.util.math with type parameters of type Vec3dModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Vec3d> Vec3d.CODECstatic final PacketCodec<ByteBuf, Vec3d> Vec3d.PACKET_CODECMethods in net.minecraft.util.math that return Vec3dModifier and TypeMethodDescriptionVec3d.add(double value) Vec3d.add(double x, double y, double z) Returns the sum of this vector and the given vector.Returns the sum of this vector and the given vector.static Vec3dReturns a new vector fromvecwithdeltaX,deltaY, anddeltaZadded to X, Y, Z values, respectively.Returns a vector with each value added byrandom.nextFloat() - 0.5f) * multiplier.BlockPointer.centerPos()BlockPos.clampToWithin(Vec3d pos) Vec3d.crossProduct(Vec3d vec) Returns the cross product of this vector and the given vector.Vec3d.floorAlongAxes(EnumSet<Direction.Axis> axes) Applies the floor function to the coordinates chosen by the given axes.static Vec3dVec3d.fromPolar(float pitch, float yaw) Converts pitch and yaw into a direction vector.static Vec3dConverts pitch and yaw into a direction vector.Box.getCenter()Returns the center position of this box.Direction.getDoubleVector()Vec3d.getHorizontal()Box.getHorizontalCenter()Box.getMaxPos()Box.getMinPos()static Vec3dPerforms linear interpolation from this vector to the given vector.Vec3d.multiply(double value) Return a vector whose coordinates are the coordinates of this vector each multiplied by the given scalar value.Vec3d.multiply(double x, double y, double z) Returns a vector whose coordinates are the product of each pair of coordinates in this vector and the given vector.Returns a vector whose coordinates are the product of each pair of coordinates in this vector and the given vector.Vec3d.negate()Creates a vector with the same length but with the opposite direction.Vec3d.normalize()Normalizes this vector.static Vec3dCopies the given vector.static Vec3dVec3d.ofBottomCenter(Vec3i vec) Creates a vector representing the bottom center of the given block position.static Vec3dCreates a vector representing the center of the given block position.static Vec3dCreates a vector representing the center of the given block position but with the given offset for the Y coordinate.Vec3d.projectOnto(Vec3d vec) Vec3d.relativize(Vec3d vec) Subtracts this vector from the given vector.Vec3d.rotateX(float angle) Rotates this vector by the given angle counterclockwise around the X axis.Vec3d.rotateY(float angle) Rotates this vector by the given angle counterclockwise around the Y axis.Vec3d.rotateZ(float angle) Rotates this vector by the given angle counterclockwise around the Z axis.Vec3d.subtract(double value) Vec3d.subtract(double x, double y, double z) Subtracts the given vector from this vector.Subtracts the given vector from this vector.BlockPos.toBottomCenterPos()BlockPos.toCenterPos()Returns the center of this block position.static Vec3dVec3d.unpackRgb(int rgb) Converts a packed RGB color into a vector of (red, green, blue).Vec3d.withAxis(Direction.Axis axis, double value) Methods in net.minecraft.util.math that return types with arguments of type Vec3dModifier and TypeMethodDescriptionLongJumpUtil.getJumpingVelocity(MobEntity entity, Vec3d jumpTarget, float maxVelocity, int angle, boolean requireClearPath) Box.raycast(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3d from, Vec3d to) Methods in net.minecraft.util.math with parameters of type Vec3dModifier and TypeMethodDescriptionReturns the sum of this vector and the given vector.BlockPos.clampToWithin(Vec3d pos) booleanbooleanChecks if the given position is in this box.Vec3d.crossProduct(Vec3d vec) Returns the cross product of this vector and the given vector.doubleVec3d.distanceTo(Vec3d vec) Returns the distance between this vector and the given vector.doubleVec3d.dotProduct(Vec3d vec) Returns the dot product of this vector and the given vector.static Boxstatic intstatic DirectionLongJumpUtil.getJumpingVelocity(MobEntity entity, Vec3d jumpTarget, float maxVelocity, int angle, boolean requireClearPath) booleanBox.intersects(Vec3d pos1, Vec3d pos2) Checks if this box intersects the box of the given positions as corners.private static booleanLongJumpUtil.isPathClear(MobEntity entity, EntityDimensions dimensions, Vec3d prevPos, Vec3d nextPos) booleanVec3d.isWithinRangeOf(Vec3d vec, double horizontalRange, double verticalRange) static Vec3dPerforms linear interpolation from this vector to the given vector.static booleanMathHelper.method_34945(Vec3d origin, Vec3d direction, Box box) Returns a vector whose coordinates are the product of each pair of coordinates in this vector and the given vector.static BoxCreates a box that is translated byvec.x,vec.y,vec.zon each axis from this box.Vec3d.projectOnto(Vec3d vec) Box.raycast(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3d from, Vec3d to) static @Nullable BlockHitResultVec3d.relativize(Vec3d vec) Subtracts this vector from the given vector.doubleVec3d.squaredDistanceTo(Vec3d vec) Returns the squared distance between this vector and the given vector.doubleBox.squaredMagnitude(Vec3d pos) Subtracts the given vector from this vector.Box.traceCollisionSide(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) Box.traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) Constructors in net.minecraft.util.math with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.util.shapeMethods in net.minecraft.util.shape that return types with arguments of type Vec3dModifier and TypeMethodDescriptionVoxelShape.getClosestPointTo(Vec3d target) Returns the closest point in the shape totarget.Methods in net.minecraft.util.shape with parameters of type Vec3dModifier and TypeMethodDescriptionVoxelShape.getClosestPointTo(Vec3d target) Returns the closest point in the shape totarget.
- 
Uses of Vec3d in net.minecraft.villageMethods in net.minecraft.village that return Vec3dModifier and TypeMethodDescriptionZombieSiegeManager.getSpawnVector(ServerWorld world, BlockPos pos) 
- 
Uses of Vec3d in net.minecraft.worldFields in net.minecraft.world declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dBlockStateRaycastContext.endprivate final Vec3dRaycastContext.endprivate final Vec3dTeleportTarget.positionThe field for thepositionrecord component.private final Vec3dBlockStateRaycastContext.startprivate final Vec3dRaycastContext.startprivate final Vec3dTeleportTarget.velocityThe field for thevelocityrecord component.Methods in net.minecraft.world that return Vec3dModifier and TypeMethodDescriptionBlockStateRaycastContext.getEnd()RaycastContext.getEnd()abstract Vec3dCommandBlockExecutor.getPos()BlockStateRaycastContext.getStart()RaycastContext.getStart()private static Vec3dTeleportTarget.getWorldSpawnPos(ServerWorld world, Entity entity) TeleportTarget.position()Returns the value of thepositionrecord component.TeleportTarget.velocity()Returns the value of thevelocityrecord component.Methods in net.minecraft.world that return types with arguments of type Vec3dModifier and TypeMethodDescriptionCollisionView.findClosestCollision(@Nullable Entity entity, VoxelShape shape, Vec3d target, double x, double y, double z) Methods in net.minecraft.world with parameters of type Vec3dModifier and TypeMethodDescriptionprivate static voidBlockView.collectCollisionsBetween(Set<BlockPos> result, Vec3d oldPos, Vec3d newPos, Box boundingBox) BlockView.collectCollisionsBetween(Vec3d oldPos, Vec3d newPos, Box boundingBox) voidWorld.createExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, Vec3d pos, float power, boolean createFire, World.ExplosionSourceType explosionSourceType) Creates an explosion.voidChunkRegion.emitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.default voidWorldAccess.emitGameEvent(@Nullable Entity entity, RegistryEntry<GameEvent> event, Vec3d pos) voidWorldAccess.emitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.CollisionView.findClosestCollision(@Nullable Entity entity, VoxelShape shape, Vec3d target, double x, double y, double z) static <T,C> T BlockView.raycast(Vec3d start, Vec3d end, C context, BiFunction<C, BlockPos, T> blockHitFactory, Function<C, T> missFactory) default @Nullable BlockHitResultBlockView.raycastBlock(Vec3d start, Vec3d end, BlockPos pos, VoxelShape shape, BlockState state) TeleportTarget.withPosition(Vec3d position) Constructors in net.minecraft.world with parameters of type Vec3dModifierConstructorDescriptionBlockStateRaycastContext(Vec3d start, Vec3d end, Predicate<BlockState> statePredicate) RaycastContext(Vec3d start, Vec3d end, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, ShapeContext shapeContext) RaycastContext(Vec3d start, Vec3d end, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, Entity entity) TeleportTarget(ServerWorld serverWorld, Vec3d vec3d, Vec3d vec3d2, float float2, float float3, boolean bool, boolean bool2, Set<PositionFlag> set, TeleportTarget.PostDimensionTransition postDimensionTransition) TeleportTarget(ServerWorld world, Vec3d pos, Vec3d velocity, float yaw, float pitch, Set<PositionFlag> flags, TeleportTarget.PostDimensionTransition postDimensionTransition) TeleportTarget(ServerWorld world, Vec3d pos, Vec3d velocity, float yaw, float pitch, TeleportTarget.PostDimensionTransition postDimensionTransition) 
- 
Uses of Vec3d in net.minecraft.world.borderMethods in net.minecraft.world.border that return Vec3dMethods in net.minecraft.world.border with parameters of type Vec3d
- 
Uses of Vec3d in net.minecraft.world.dimensionMethods in net.minecraft.world.dimension that return Vec3dModifier and TypeMethodDescriptionstatic Vec3dNetherPortal.entityPosInPortal(BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions) static Vec3dNetherPortal.findOpenPosition(Vec3d fallback, ServerWorld world, Entity entity, EntityDimensions dimensions) Methods in net.minecraft.world.dimension with parameters of type Vec3dModifier and TypeMethodDescriptionstatic Vec3dNetherPortal.entityPosInPortal(BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions) static Vec3dNetherPortal.findOpenPosition(Vec3d fallback, ServerWorld world, Entity entity, EntityDimensions dimensions) 
- 
Uses of Vec3d in net.minecraft.world.eventFields in net.minecraft.world.event declared as Vec3dMethods in net.minecraft.world.event that return Vec3dMethods in net.minecraft.world.event that return types with arguments of type Vec3dModifier and TypeMethodDescriptionMethods in net.minecraft.world.event with parameters of type Vec3dModifier and TypeMethodDescriptionvoidVibrations.VibrationListener.forceListen(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) private static booleanVibrations.VibrationListener.isOccluded(World world, Vec3d emitterPos, Vec3d listenerPos) booleanVibrations.VibrationListener.listen(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.private voidVibrations.VibrationListener.listen(ServerWorld world, Vibrations.ListenerData listenerData, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos, Vec3d listenerPos) Constructors in net.minecraft.world.event with parameters of type Vec3dModifierConstructorDescriptionMessage(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter, GameEventListener listener, Vec3d listenerPos) 
- 
Uses of Vec3d in net.minecraft.world.event.listenerFields in net.minecraft.world.event.listener declared as Vec3dModifier and TypeFieldDescriptionprivate final Vec3dVibration.posThe field for theposrecord component.Methods in net.minecraft.world.event.listener that return Vec3dMethods in net.minecraft.world.event.listener that return types with arguments of type Vec3dModifier and TypeMethodDescriptionSimpleGameEventDispatcher.dispatchTo(ServerWorld world, Vec3d listenerPos, GameEventListener listener) Methods in net.minecraft.world.event.listener with parameters of type Vec3dModifier and TypeMethodDescriptionbooleanGameEventDispatcher.dispatch(RegistryEntry<GameEvent> event, Vec3d pos, GameEvent.Emitter emitter, GameEventDispatcher.DispatchCallback callback) Dispatches an event to all the listeners in this dispatcher.voidGameEventDispatchManager.dispatch(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) booleanSimpleGameEventDispatcher.dispatch(RegistryEntry<GameEvent> event, Vec3d pos, GameEvent.Emitter emitter, GameEventDispatcher.DispatchCallback callback) Dispatches an event to all the listeners in this dispatcher.SimpleGameEventDispatcher.dispatchTo(ServerWorld world, Vec3d listenerPos, GameEventListener listener) booleanGameEventListener.listen(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.voidGameEventDispatcher.DispatchCallback.visit(GameEventListener listener, Vec3d listenerPos) Constructors in net.minecraft.world.event.listener with parameters of type Vec3dModifierConstructorDescriptionVibration(RegistryEntry<GameEvent> gameEvent, float distance, Vec3d pos, @Nullable UUID uuid, @Nullable UUID projectileOwnerUuid) Vibration(RegistryEntry<GameEvent> registryEntry, float float2, Vec3d vec3d, @Nullable UUID uUID, @Nullable UUID uUID2, @Nullable Entity entity) 
- 
Uses of Vec3d in net.minecraft.world.explosionFields in net.minecraft.world.explosion declared as Vec3dFields in net.minecraft.world.explosion with type parameters of type Vec3dModifier and TypeFieldDescriptionprivate final Map<PlayerEntity, Vec3d> ExplosionImpl.knockbackByPlayerMethods in net.minecraft.world.explosion that return Vec3dMethods in net.minecraft.world.explosion that return types with arguments of type Vec3dMethods in net.minecraft.world.explosion with parameters of type Vec3dModifier and TypeMethodDescriptionstatic floatExplosionImpl.calculateReceivedDamage(Vec3d pos, Entity entity) Constructors in net.minecraft.world.explosion with parameters of type Vec3dModifierConstructorDescriptionExplosionImpl(ServerWorld world, @Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, Vec3d pos, float power, boolean createFire, Explosion.DestructionType destructionType) 
- 
Uses of Vec3d in net.minecraft.world.gen.featureFields in net.minecraft.world.gen.feature declared as Vec3d