Uses of Class
net.minecraft.util.math.Vec3d
Packages that use Vec3d
Package
Description
The base package for all Minecraft classes.
-
Uses of Vec3d in net.minecraft
Methods in net.minecraft with parameters of type Vec3dModifier and TypeMethodDescriptionbooleanclass_6404.method_37236(Entity entity, ServerWorld serverWorld, @Nullable Vec3d vec3d) -
Uses of Vec3d in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type Vec3dModifier and TypeMethodDescriptionbooleanLevitationCriterion.Conditions.matches(ServerPlayerEntity player, Vec3d startPos, int duration)booleanNetherTravelCriterion.Conditions.matches(ServerWorld world, Vec3d enteredPos, double exitedPosX, double exitedPosY, double exitedPosZ)booleanTargetHitCriterion.Conditions.test(LootContext projectileContext, Vec3d hitPos, int signalStrength)voidLevitationCriterion.trigger(ServerPlayerEntity player, Vec3d startPos, int duration)voidNetherTravelCriterion.trigger(ServerPlayerEntity player, Vec3d enteredPos)voidTargetHitCriterion.trigger(ServerPlayerEntity player, Entity projectile, Vec3d hitPos, int signalStrength) -
Uses of Vec3d in net.minecraft.block
Fields in net.minecraft.block declared as Vec3dFields in net.minecraft.block with type parameters of type Vec3dModifier and TypeFieldDescriptionprivate static Int2ObjectMap<List<Vec3d>>CandleBlock.CANDLES_TO_PARTICLE_OFFSETSCandleCakeBlock.PARTICLE_OFFSETSMethods in net.minecraft.block that return Vec3dModifier and TypeMethodDescriptionAbstractBlock.AbstractBlockState.getModelOffset(BlockView world, 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 bool)BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, float float2)BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] int2, boolean bool)BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction direction, Direction direction2)AbstractCandleBlock.getParticleOffsets(BlockState state)CandleBlock.getParticleOffsets(BlockState state)CandleCakeBlock.getParticleOffsets(BlockState state)Methods in net.minecraft.block with parameters of type Vec3dModifier and TypeMethodDescriptionprivate voidRedstoneWireBlock.addPoweredParticles(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3)private static intTargetBlock.calculatePower(BlockHitResult hitResult, Vec3d pos)private static voidAbstractCandleBlock.spawnCandleParticles(World world, Vec3d vec3d, Random random) -
Uses of Vec3d in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return Vec3dModifier and TypeMethodDescriptionprivate static Vec3dEndGatewayBlockEntity.findTeleportLocation(ServerWorld world, BlockPos pos)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 WorldChunkAbstractFurnaceBlockEntity.getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos)private static booleanEndGatewayBlockEntity.isChunkEmpty(ServerWorld world, Vec3d pos) -
Uses of Vec3d in net.minecraft.client
Methods 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.hud
Fields in net.minecraft.client.gui.hud declared as Vec3dMethods in net.minecraft.client.gui.hud that return Vec3dMethods in net.minecraft.client.gui.hud with parameters of type Vec3dConstructors in net.minecraft.client.gui.hud with parameters of type Vec3d -
Uses of Vec3d in net.minecraft.client.network
Fields in net.minecraft.client.network with type parameters of type Vec3dModifier and TypeFieldDescriptionprivate Object2ObjectLinkedOpenHashMap<com.mojang.datafixers.util.Pair<BlockPos,PlayerActionC2SPacket.Action>,Vec3d>ClientPlayerInteractionManager.unacknowledgedPlayerActionsMethods in net.minecraft.client.network that return Vec3dMethods in net.minecraft.client.network with parameters of type Vec3dModifier and TypeMethodDescriptionvoidClientPlayerEntity.move(MovementType movementType, Vec3d movement) -
Uses of Vec3d in net.minecraft.client.particle
Constructors in net.minecraft.client.particle with parameters of type Vec3dModifierConstructorDescriptionprivateEmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge, Vec3d velocity)privateItemPickupParticle(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity, Vec3d velocity) -
Uses of Vec3d in net.minecraft.client.render
Fields in net.minecraft.client.render declared as Vec3dModifier and TypeFieldDescription(package private) Vec3dCamera.class_6355.field_33622private Vec3dCamera.class_6355.field_33623private Vec3dCamera.class_6355.field_33624private Vec3dWorldRenderer.lastCloudsColorprivate Vec3dCamera.posMethods in net.minecraft.client.render that return Vec3dModifier and TypeMethodDescriptionabstract Vec3dSkyProperties.adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.SkyProperties.End.adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.SkyProperties.Nether.adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.SkyProperties.Overworld.adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.Camera.getPos()Camera.class_6355.method_36426()Camera.class_6355.method_36427(float float2, float float3)Camera.class_6355.method_36429()Camera.class_6355.method_36430()Camera.class_6355.method_36431()Methods in net.minecraft.client.render with parameters of type Vec3dModifier and TypeMethodDescriptionabstract Vec3dSkyProperties.adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.SkyProperties.End.adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.SkyProperties.Nether.adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.SkyProperties.Overworld.adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.private voidWorldRenderer.method_34808(Frustum frustum, int int2, boolean bool, Vec3d vec3d, BlockPos blockPos, ChunkBuilder.BuiltChunk builtChunk, int int3, BlockPos blockPos2)private voidWorldRenderer.renderClouds(BufferBuilder builder, double x, double y, double z, Vec3d color)protected voidvoidWorldRenderer.setupFrustum(MatrixStack matrices, Vec3d pos, Matrix4f projectionMatrix)Constructors in net.minecraft.client.render with parameters of type Vec3dModifierConstructorDescription(package private)class_6355(Vec3d vec3d, Vec3d vec3d2, Vec3d vec3d3) -
Uses of Vec3d in net.minecraft.client.render.block.entity
Methods in net.minecraft.client.render.block.entity with parameters of type Vec3dModifier and TypeMethodDescriptionbooleanBeaconBlockEntityRenderer.method_33892(BeaconBlockEntity beaconBlockEntity, Vec3d vec3d)default booleanBlockEntityRenderer.method_33892(T t, Vec3d vec3d) -
Uses of Vec3d in net.minecraft.client.render.chunk
Fields 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 Vec3d -
Uses of Vec3d in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug declared as Vec3dConstructors in net.minecraft.client.render.debug with parameters of type Vec3d -
Uses of Vec3d in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity that return Vec3dModifier and TypeMethodDescriptionprivate Vec3dGuardianEntityRenderer.fromLerpedPosition(LivingEntity entity, double yOffset, float delta)EndermanEntityRenderer.getPositionOffset(EndermanEntity endermanEntity, float float2)EntityRenderer.getPositionOffset(T entity, float tickDelta)ItemFrameEntityRenderer.getPositionOffset(T t, float float2)PlayerEntityRenderer.getPositionOffset(AbstractClientPlayerEntity abstractClientPlayerEntity, float float2)ShulkerEntityRenderer.getPositionOffset(ShulkerEntity shulkerEntity, float float2) -
Uses of Vec3d in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as Vec3dMethods in net.minecraft.client.sound that return Vec3dMethods in net.minecraft.client.sound with parameters of type Vec3dModifier and TypeMethodDescriptionvoidSoundListener.setPosition(Vec3d position)voidSource.setPosition(Vec3d vec3d) -
Uses of Vec3d in net.minecraft.client.world
Methods in net.minecraft.client.world that return Vec3dModifier and TypeMethodDescriptionClientWorld.getCloudsColor(float tickDelta)ClientWorld.method_23777(Vec3d vec3d, float float2)Methods in net.minecraft.client.world with parameters of type Vec3d -
Uses of Vec3d in net.minecraft.command
Fields in net.minecraft.command with type parameters of type Vec3dModifier and TypeFieldDescriptionstatic BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader.ARBITRARYstatic BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader.FURTHESTstatic BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader.NEARESTEntitySelector.positionOffsetEntitySelector.positionOffsetstatic BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader.RANDOMprivate 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 TypeMethodDescriptionprivate voidEntitySelector.appendEntitiesFromWorld(List<Entity> list, ServerWorld serverWorld, Vec3d vec3d, Predicate<Entity> predicate)EntitySelector.getEntities(Vec3d vec3d, List<T> list)EntitySelector.getPositionPredicate(Vec3d vec3d)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, Predicate<Entity> basePredicate, NumberRange.FloatRange 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, Predicate<Entity> basePredicate, NumberRange.FloatRange 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, Predicate<Entity> basePredicate, NumberRange.FloatRange 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.argument
Fields in net.minecraft.command.argument with type parameters of type Vec3dModifier and TypeFieldDescriptionprivate BiFunction<Vec3d,Entity,Vec3d>EntityAnchorArgumentType.EntityAnchor.offsetprivate BiFunction<Vec3d,Entity,Vec3d>EntityAnchorArgumentType.EntityAnchor.offsetMethods in net.minecraft.command.argument that return Vec3dModifier and TypeMethodDescriptionstatic Vec3dVec3ArgumentType.getVec3(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)EntityAnchorArgumentType.EntityAnchor.positionAt(Entity entity)EntityAnchorArgumentType.EntityAnchor.positionAt(ServerCommandSource serverCommandSource)DefaultPosArgument.toAbsolutePos(ServerCommandSource source)LookingPosArgument.toAbsolutePos(ServerCommandSource source)PosArgument.toAbsolutePos(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.entity
Fields in net.minecraft.entity declared as Vec3dModifier and TypeFieldDescriptionprotected Vec3dEntity.movementMultiplierprivate Vec3dEntity.posprivate Vec3dEntity.trackedPositionprivate Vec3dEntity.velocityMethods in net.minecraft.entity that return Vec3dModifier and TypeMethodDescriptionstatic Vec3dEntity.adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, ShapeContext context, ReusableStream<VoxelShape> collisions)private Vec3dEntity.adjustMovementForCollisions(Vec3d movement)static Vec3dEntity.adjustMovementForCollisions(Vec3d movement, Box entityBoundingBox, ReusableStream<VoxelShape> collisions)protected Vec3dEntity.adjustMovementForPiston(Vec3d movement)protected Vec3dEntity.adjustMovementForSneaking(Vec3d movement, MovementType type)static Vec3dEntity.adjustSingleAxisMovementForCollisions(Vec3d movement, Box entityBoundingBox, WorldView world, ShapeContext context, ReusableStream<VoxelShape> collisions)private Vec3dLivingEntity.applyClimbingSpeed(Vec3d motion)Dismounting.findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos)Entity.getCameraPosVec(float tickDelta)Entity.getClientCameraPosVec(float tickDelta)Entity.getEyePos()Entity.getLeashOffset()Entity.getLerpedPos(float delta)Entity.getOppositeRotationVector(float tickDelta)protected Vec3dEntity.getOppositeRotationVector(float pitch, float yaw)protected static Vec3dEntity.getPassengerDismountOffset(double vehicleWidth, double passengerWidth, float passengerYaw)Entity.getPos()Entity.getRotationVec(float tickDelta)Entity.getRotationVecClient()Entity.getRotationVector()protected Vec3dEntity.getRotationVector(float pitch, float yaw)Entity.getTrackedPosition()Entity.getVelocity()LivingEntity.method_26317(double double2, boolean bool, Vec3d vec3d)LivingEntity.method_26318(Vec3d vec3d, float float2)Entity.method_30951(float float2)private static Vec3dEntity.movementInputToVelocity(Vec3d movementInput, float speed, float yaw)protected Vec3dEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)protected Vec3dLivingEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)static Vec3dLivingEntity.positionInPortal(Vec3d pos)Entity.updatePassengerForDismount(LivingEntity passenger)Methods in net.minecraft.entity with parameters of type Vec3dModifier and TypeMethodDescriptionstatic Vec3dEntity.adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, ShapeContext context, ReusableStream<VoxelShape> collisions)private Vec3dEntity.adjustMovementForCollisions(Vec3d movement)static Vec3dEntity.adjustMovementForCollisions(Vec3d movement, Box entityBoundingBox, ReusableStream<VoxelShape> collisions)protected Vec3dEntity.adjustMovementForPiston(Vec3d movement)protected Vec3dEntity.adjustMovementForSneaking(Vec3d movement, MovementType type)static Vec3dEntity.adjustSingleAxisMovementForCollisions(Vec3d movement, Box entityBoundingBox, WorldView world, ShapeContext context, ReusableStream<VoxelShape> collisions)private Vec3dLivingEntity.applyClimbingSpeed(Vec3d motion)static booleanDismounting.canPlaceEntityAt(CollisionView world, Vec3d offset, LivingEntity entity, EntityPose pose)default Vec3fCrossbowUser.getProjectileLaunchVelocity(LivingEntity entity, Vec3d positionDelta, float multishotSpray)Entity.interactAt(PlayerEntity player, Vec3d hitPos, Hand hand)voidEntity.lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)voidLivingEntity.lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)LivingEntity.method_26317(double double2, boolean bool, Vec3d vec3d)LivingEntity.method_26318(Vec3d vec3d, float float2)voidEntity.move(MovementType movementType, Vec3d movement)private static Vec3dEntity.movementInputToVelocity(Vec3d movementInput, float speed, float yaw)static Vec3dLivingEntity.positionInPortal(Vec3d pos)voidEntity.refreshPositionAfterTeleport(Vec3d pos)voidItemSteerable.setMovementInput(Vec3d movementInput)voidEntity.setPosition(Vec3d pos)voidEntity.setVelocity(Vec3d velocity)voidEntity.slowMovement(BlockState state, Vec3d multiplier)static voidExperienceOrbEntity.spawn(ServerWorld world, Vec3d pos, int amount)doubleEntity.squaredDistanceTo(Vec3d vector)default booleanItemSteerable.travel(MobEntity entity, SaddledComponent saddledEntity, Vec3d movementInput)voidvoidEntity.updateTrackedPosition(Vec3d pos)voidEntity.updateVelocity(float speed, Vec3d movementInput)private static booleanExperienceOrbEntity.wasMergedIntoExistingOrb(ServerWorld world, Vec3d pos, int amount) -
Uses of Vec3d in net.minecraft.entity.ai
Methods 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)FuzzyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer)NoPenaltySolidTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double rangeAngle)NoPenaltyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange)NoPenaltyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction)NoPenaltyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange)NoWaterTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange)FuzzyTargeting.findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start)FuzzyTargeting.findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end)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 TypeMethodDescriptionNoPenaltyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction)NoPenaltyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange)NoWaterTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange)FuzzyTargeting.findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start)FuzzyTargeting.findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end)FuzzyTargeting.findValid(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction, boolean posTargetInRange) -
Uses of Vec3d in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain declared as Vec3dFields in net.minecraft.entity.ai.brain with type parameters of type Vec3dMethods 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 Vec3d -
Uses of Vec3d in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as Vec3dModifier and TypeFieldDescriptionprivate Vec3dRamImpactTask.directionprivate Vec3dLongJumpTask.Target.ramVelocityFields 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)LookTargetUtil.find(PathAwareEntity entity, int horizontalRange, int verticalRange)SeekSkyTask.findNearbySky(ServerWorld world, LivingEntity entity)protected Vec3dAquaticStrollTask.findWalkTarget(PathAwareEntity entity)StrollTask.findWalkTarget(PathAwareEntity entity)private Vec3dGoToRememberedPositionTask.getPos(PathAwareEntity entity)LongJumpTask.Target.getRammingVelocity()Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type Vec3dModifier and TypeMethodDescriptionLongJumpTask.getRammingVelocity(MobEntity entity, Vec3d pos)LongJumpTask.getRammingVelocity(MobEntity entity, Vec3d pos, int range)Methods in net.minecraft.entity.ai.brain.task with parameters of type Vec3dModifier and TypeMethodDescriptionprivate booleanLongJumpTask.getRammingVelocity(MobEntity entity, Vec3d pos)LongJumpTask.getRammingVelocity(MobEntity entity, Vec3d pos, int range)static voidLookTargetUtil.give(LivingEntity entity, ItemStack stack, Vec3d targetLocation)private static voidGoToRememberedPositionTask.setWalkTarget(PathAwareEntity entity, Vec3d pos, float speed)Constructors in net.minecraft.entity.ai.brain.task with parameters of type Vec3dConstructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type Vec3dModifierConstructorDescriptionGoToRememberedPositionTask(MemoryModuleType<T> memoryType, float speed, int range, boolean requiresWalkTarget, Function<T,Vec3d> posRetriever) -
Uses of Vec3d in net.minecraft.entity.ai.control
Methods in net.minecraft.entity.ai.control with parameters of type Vec3d -
Uses of Vec3d in net.minecraft.entity.ai.goal
Methods in net.minecraft.entity.ai.goal that return Vec3dModifier and TypeMethodDescriptionIronGolemWanderAroundGoal.findRandomBlockPos()IronGolemWanderAroundGoal.findRandomInRange()IronGolemWanderAroundGoal.findVillagerPos()FlyOntoTreeGoal.getTreeTarget()FlyOntoTreeGoal.getWanderTarget()IronGolemWanderAroundGoal.getWanderTarget()SwimAroundGoal.getWanderTarget()WanderAroundFarGoal.getWanderTarget()WanderAroundGoal.getWanderTarget()WanderAroundPointOfInterestGoal.getWanderTarget()EscapeSunlightGoal.locateShadedPos() -
Uses of Vec3d in net.minecraft.entity.ai.pathing
Fields 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 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 TypeMethodDescriptionprivate booleanMobNavigation.allVisibleArePassable(int x, int y, int z, int sizeX, int sizeY, int sizeZ, Vec3d entityPos, double lookVecX, double lookVecZ)Checks whether all blocks in the box which are visible (in front of) the mob can be pathed throughprivate booleanMobNavigation.allVisibleAreSafe(int centerX, int centerY, int centerZ, int sizeX, int sizeY, int sizeZ, Vec3d entityPos, double lookVecX, double lookVecZ)protected booleanBirdNavigation.canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)protected abstract booleanEntityNavigation.canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)protected booleanMobNavigation.canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)protected booleanSwimNavigation.canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)protected voidEntityNavigation.checkTimeouts(Vec3d currentPos)protected voidSwimNavigation.checkTimeouts(Vec3d currentPos)private booleanEntityNavigation.shouldJumpToNextNode(Vec3d currentPos) -
Uses of Vec3d in net.minecraft.entity.boss
Methods in net.minecraft.entity.boss with parameters of type Vec3dModifier and TypeMethodDescriptionvoidWitherEntity.slowMovement(BlockState state, Vec3d multiplier) -
Uses of Vec3d in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon that return Vec3d -
Uses of Vec3d in net.minecraft.entity.boss.dragon.phase
Fields in net.minecraft.entity.boss.dragon.phase declared as Vec3dModifier and TypeFieldDescriptionprivate Vec3dChargingPlayerPhase.pathTargetprivate Vec3dHoldingPatternPhase.pathTargetprivate Vec3dLandingApproachPhase.pathTargetprivate Vec3dStrafePlayerPhase.pathTargetprivate Vec3dTakeoffPhase.pathTargetprivate Vec3dDyingPhase.targetprivate Vec3dHoverPhase.targetprivate Vec3dLandingPhase.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.damage
Methods in net.minecraft.entity.damage that return Vec3d -
Uses of Vec3d in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration that return Vec3dModifier and TypeMethodDescriptionArmorStandEntity.getClientCameraPosVec(float tickDelta)LeashKnotEntity.method_30951(float float2)Methods in net.minecraft.entity.decoration with parameters of type Vec3dModifier and TypeMethodDescriptionArmorStandEntity.interactAt(PlayerEntity player, Vec3d hitPos, Hand hand)voidAbstractDecorationEntity.move(MovementType movementType, Vec3d movement)voidItemFrameEntity.move(MovementType movementType, Vec3d movement)private EquipmentSlotArmorStandEntity.slotFromPosition(Vec3d hitPos)void -
Uses of Vec3d in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as Vec3dModifier and TypeFieldDescriptionprivate Vec3d[][]IllusionerEntity.field_7297(package private) Vec3dPhantomEntity.targetPositionMethods in net.minecraft.entity.mob that return Vec3dModifier and TypeMethodDescriptionprivate static Vec3dPiglinBrain.findGround(PiglinEntity piglin)ShulkerEntity.getVelocity()DrownedEntity.WanderAroundOnSurfaceGoal.getWanderTarget()Vec3d[]IllusionerEntity.method_7065(float float2)Methods in net.minecraft.entity.mob that return types with arguments of type Vec3dMethods in net.minecraft.entity.mob with parameters of type Vec3dModifier and TypeMethodDescriptionprivate static voidPiglinBrain.drop(PiglinEntity piglin, List<ItemStack> list, Vec3d vec3d)voidShulkerEntity.move(MovementType movementType, Vec3d movement)voidVexEntity.move(MovementType movementType, Vec3d movement)voidShulkerEntity.setVelocity(Vec3d velocity)voidSpiderEntity.slowMovement(BlockState state, Vec3d multiplier)voidvoidvoidprivate booleanGhastEntity.GhastMoveControl.willCollide(Vec3d direction, int steps) -
Uses of Vec3d in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as Vec3dModifier and TypeFieldDescriptionprivate Vec3dBeeEntity.PollinateGoal.nextTargetprivate Vec3dPandaEntity.playingJumpMethods in net.minecraft.entity.passive that return Vec3dModifier and TypeMethodDescriptionprivate Vec3dSquidEntity.applyBodyRotations(Vec3d shootVector)BeeEntity.getLeashOffset()FoxEntity.getLeashOffset()IronGolemEntity.getLeashOffset()LlamaEntity.getLeashOffset()OcelotEntity.getLeashOffset()ParrotEntity.getLeashOffset()PigEntity.getLeashOffset()RabbitEntity.getLeashOffset()SnowGolemEntity.getLeashOffset()StriderEntity.getLeashOffset()WolfEntity.getLeashOffset()BeeEntity.BeeWanderAroundGoal.getRandomLocation()HorseBaseEntity.method_27930(Vec3d vec3d, LivingEntity livingEntity)MerchantEntity.method_30951(float float2)HorseBaseEntity.updatePassengerForDismount(LivingEntity passenger)PigEntity.updatePassengerForDismount(LivingEntity passenger)StriderEntity.updatePassengerForDismount(LivingEntity passenger)Methods in net.minecraft.entity.passive with parameters of type Vec3dModifier and TypeMethodDescriptionprivate Vec3dSquidEntity.applyBodyRotations(Vec3d shootVector)HorseBaseEntity.method_27930(Vec3d vec3d, LivingEntity livingEntity)voidPigEntity.setMovementInput(Vec3d movementInput)voidStriderEntity.setMovementInput(Vec3d movementInput)voidvoidvoidvoidvoidvoidvoidvoid -
Uses of Vec3d in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return Vec3dModifier and TypeMethodDescriptionprotected Vec3dPlayerEntity.adjustMovementForSneaking(Vec3d movement, MovementType type)PlayerEntity.method_30951(float float2)Methods in net.minecraft.entity.player that return types with arguments of type Vec3dModifier and TypeMethodDescriptionPlayerEntity.findRespawnPosition(ServerWorld world, BlockPos pos, float float2, boolean bool, boolean bool2)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)void -
Uses of Vec3d in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type Vec3dModifier and TypeMethodDescriptionprotected @Nullable EntityHitResultPersistentProjectileEntity.getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)static @Nullable EntityHitResultProjectileUtil.getEntityCollision(World world, Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate)protected @Nullable EntityHitResultTridentEntity.getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)static @Nullable EntityHitResultProjectileUtil.method_37226(World world, Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate, float float2)voidPersistentProjectileEntity.move(MovementType movementType, Vec3d movement)static @Nullable EntityHitResultProjectileUtil.raycast(Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate, double double2) -
Uses of Vec3d in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return Vec3dModifier and TypeMethodDescriptionCommandBlockMinecartEntity.CommandExecutor.getPos()protected Vec3dAbstractMinecartEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)protected Vec3dBoatEntity.positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)AbstractMinecartEntity.snapPositionToRail(double x, double y, double z)AbstractMinecartEntity.snapPositionToRailWithOffset(double x, double y, double z, double offset)This method is used to determine the minecart's render orientation, by computing a position along the rail slightly before and slightly after the minecart's actual position.AbstractMinecartEntity.updatePassengerForDismount(LivingEntity passenger)BoatEntity.updatePassengerForDismount(LivingEntity passenger) -
Uses of Vec3d in net.minecraft.fluid
Methods 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.item
Methods in net.minecraft.item that return Vec3dMethods in net.minecraft.item with parameters of type Vec3dModifier and TypeMethodDescriptionSpawnEggItem.spawnBaby(PlayerEntity user, MobEntity entity, EntityType<? extends MobEntity> entityType, ServerWorld world, Vec3d pos, ItemStack stack) -
Uses of Vec3d in net.minecraft.loot.context
Fields in net.minecraft.loot.context with type parameters of type Vec3d -
Uses of Vec3d in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as Vec3dModifier and TypeFieldDescriptionprivate Vec3dPlayerInteractEntityC2SPacket.InteractAtHandler.posMethods 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 Vec3d -
Uses of Vec3d in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play that return Vec3dModifier and TypeMethodDescriptionEntityS2CPacket.calculateDeltaPosition(Vec3d orig)static Vec3dEntityS2CPacket.decodePacketCoordinates(long x, long y, long z)LookAtS2CPacket.getTargetPosition(World world)Methods in net.minecraft.network.packet.s2c.play with parameters of type Vec3dConstructors in net.minecraft.network.packet.s2c.play with parameters of type Vec3dModifierConstructorDescriptionEntitySpawnS2CPacket(int id, UUID uuid, double x, double y, double z, float pitch, float yaw, EntityType<?> entityTypeId, int entityData, Vec3d velocity)EntityVelocityUpdateS2CPacket(int id, Vec3d velocity)ExplosionS2CPacket(double x, double y, double z, float radius, List<BlockPos> affectedBlocks, @Nullable Vec3d playerVelocity)PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch) -
Uses of Vec3d in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type Vec3dModifier and TypeMethodDescriptionbooleanDamageSourcePredicate.test(ServerWorld world, Vec3d pos, DamageSource damageSource)boolean -
Uses of Vec3d in net.minecraft.server.command
Fields in net.minecraft.server.command declared as Vec3dModifier and TypeFieldDescriptionprivate Vec3dServerCommandSource.positionprivate Vec3dTeleportCommand.LookTarget.targetPosMethods in net.minecraft.server.command that return Vec3dMethods 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, Identifier entity, Vec3d pos, NbtCompound nbt, boolean initialize)private static intLootCommand.executeSpawn(ServerCommandSource source, Vec3d pos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender)ServerCommandSource.withLookingAt(Vec3d position)ServerCommandSource.withPosition(Vec3d position)Constructors in net.minecraft.server.command with parameters of type Vec3dModifierConstructorDescriptionLookTarget(Vec3d targetPos)ServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity)protectedServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity, boolean silent, com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType.EntityAnchor entityAnchor) -
Uses of Vec3d in net.minecraft.server.network
Fields in net.minecraft.server.network declared as Vec3dModifier and TypeFieldDescriptionServerPlayerEntity.enteredNetherPosprivate Vec3dServerPlayerEntity.levitationStartPosServerPlayNetworkHandler.requestedTeleportPosprivate Vec3dEntityTrackerEntry.velocityMethods in net.minecraft.server.network that return Vec3dModifier and TypeMethodDescriptionEntityTrackerEntry.getLastPos()Decodes lastX/Y/Z into a position vectorMethods in net.minecraft.server.network with parameters of type Vec3dModifier and TypeMethodDescriptionvoidServerPlayerEntity.lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) -
Uses of Vec3d in net.minecraft.structure
Fields in net.minecraft.structure declared as Vec3dMethods in net.minecraft.structure that return Vec3dModifier and TypeMethodDescriptionstatic Vec3dStructure.transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)Methods in net.minecraft.structure with parameters of type Vec3dModifier and TypeMethodDescriptionstatic Vec3dStructure.transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)Constructors in net.minecraft.structure with parameters of type Vec3dModifierConstructorDescriptionStructureEntityInfo(Vec3d pos, BlockPos blockPos, NbtCompound nbt) -
Uses of Vec3d in net.minecraft.test
Methods in net.minecraft.test that return Vec3dMethods in net.minecraft.test with parameters of type Vec3dModifier and TypeMethodDescriptionTestContext.getAbsolute(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.util
Methods 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.hit
Fields 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)BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock)EntityHitResult(Entity entity, Vec3d pos)protected -
Uses of Vec3d in net.minecraft.util.math
Fields in net.minecraft.util.math declared as Vec3dMethods in net.minecraft.util.math that return Vec3dModifier and TypeMethodDescriptionVec3d.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.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.Performs linear interpolation from this vector to the given vector.static Vec3dMathHelper.method_34946(Vec3d vec3d, Vec3d vec3d2, Vec3d vec3d3, Vec3d vec3d4, double double2)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.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 x, double y, double z)Subtracts the given vector from this vector.Subtracts the given vector from this vector.static Vec3dVec3d.unpackRgb(int rgb)Converts a packed RGB color into a vector of (red, green, blue).Methods in net.minecraft.util.math that return types with arguments of type Vec3dMethods in net.minecraft.util.math with parameters of type Vec3dModifier and TypeMethodDescriptionReturns the sum of this vector and the given vector.booleanChecks 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 BoxbooleanBox.intersects(Vec3d pos1, Vec3d pos2)Checks if this box intersects the box of the given positions as corners.Performs linear interpolation from this vector to the given vector.static booleanMathHelper.method_34945(Vec3d vec3d, Vec3d vec3d2, Box box)static Vec3dMathHelper.method_34946(Vec3d vec3d, Vec3d vec3d2, Vec3d vec3d3, Vec3d vec3d4, double double2)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.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.Subtracts the given vector from this vector.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.shape
Methods in net.minecraft.util.shape that return types with arguments of type Vec3dMethods in net.minecraft.util.shape with parameters of type Vec3d -
Uses of Vec3d in net.minecraft.village
Methods in net.minecraft.village that return Vec3dModifier and TypeMethodDescriptionZombieSiegeManager.getSpawnVector(ServerWorld world, BlockPos pos) -
Uses of Vec3d in net.minecraft.world
Fields in net.minecraft.world declared as Vec3dModifier and TypeFieldDescriptionprivate Vec3dBlockStateRaycastContext.endprivate Vec3dRaycastContext.endTeleportTarget.positionprivate Vec3dBlockStateRaycastContext.startprivate Vec3dRaycastContext.startTeleportTarget.velocityMethods in net.minecraft.world that return Vec3dModifier and TypeMethodDescriptionBlockStateRaycastContext.getEnd()RaycastContext.getEnd()abstract Vec3dCommandBlockExecutor.getPos()BlockStateRaycastContext.getStart()RaycastContext.getStart()Methods in net.minecraft.world that return types with arguments of type Vec3dModifier and TypeMethodDescriptionCollisionView.method_33594(@Nullable Entity entity, VoxelShape voxelShape, Vec3d vec3d, double double2, double double3, double double4)Methods in net.minecraft.world with parameters of type Vec3dModifier and TypeMethodDescriptionCollisionView.method_33594(@Nullable Entity entity, VoxelShape voxelShape, Vec3d vec3d, double double2, double double3, double double4)static <T, C> TBlockView.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)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, Entity entity)TeleportTarget(Vec3d position, Vec3d velocity, float yaw, float pitch) -
Uses of Vec3d in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension that return Vec3dModifier and TypeMethodDescriptionstatic Vec3dAreaHelper.entityPosInPortal(PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)Methods in net.minecraft.world.dimension with parameters of type Vec3dModifier and TypeMethodDescriptionstatic Vec3dAreaHelper.entityPosInPortal(PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)static TeleportTargetAreaHelper.getNetherTeleportTarget(ServerWorld destination, PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d offset, EntityDimensions dimensions, Vec3d velocity, float yaw, float pitch)Determines aTeleportTargetbased on a specific portal. -
Uses of Vec3d in net.minecraft.world.explosion
Fields in net.minecraft.world.explosion with type parameters of type 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 floatExplosion.getExposure(Vec3d source, Entity entity) -
Uses of Vec3d in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as Vec3d