Uses of Class
net.minecraft.util.math.Vec3d
-
Uses of Vec3d in net.minecraft
Fields in net.minecraft declared as Vec3d Modifier and Type Field Description private Vec3d
class_6030.class_6031. field_30148
Fields in net.minecraft with type parameters of type Vec3d Modifier and Type Field Description private Optional<Vec3d>
class_6030. field_30143
Methods in net.minecraft that return Vec3d Modifier and Type Method Description Vec3d
class_6030.class_6031. method_35085()
Methods in net.minecraft that return types with arguments of type Vec3d Modifier and Type Method Description private Optional<Vec3d>
class_6030. method_35078(MobEntity mobEntity, Vec3d vec3d)
private Optional<Vec3d>
class_6030. method_35079(MobEntity mobEntity, Vec3d vec3d, int int2)
Methods in net.minecraft with parameters of type Vec3d Modifier and Type Method Description private Optional<Vec3d>
class_6030. method_35078(MobEntity mobEntity, Vec3d vec3d)
private Optional<Vec3d>
class_6030. method_35079(MobEntity mobEntity, Vec3d vec3d, int int2)
private boolean
class_6030. method_35080(MobEntity mobEntity, Vec3d vec3d, Vec3d vec3d2)
Constructors in net.minecraft with parameters of type Vec3d Constructor Description class_6031(BlockPos blockPos, Vec3d vec3d, int int2)
-
Uses of Vec3d in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type Vec3d Modifier and Type Method Description boolean
LevitationCriterion.Conditions. matches(ServerPlayerEntity player, Vec3d startPos, int duration)
boolean
NetherTravelCriterion.Conditions. matches(ServerWorld world, Vec3d enteredPos, double exitedPosX, double exitedPosY, double exitedPosZ)
boolean
TargetHitCriterion.Conditions. test(LootContext projectileContext, Vec3d hitPos, int signalStrength)
void
LevitationCriterion. trigger(ServerPlayerEntity player, Vec3d startPos, int duration)
void
NetherTravelCriterion. trigger(ServerPlayerEntity player, Vec3d enteredPos)
void
TargetHitCriterion. trigger(ServerPlayerEntity player, Entity projectile, Vec3d hitPos, int signalStrength)
-
Uses of Vec3d in net.minecraft.block
Fields in net.minecraft.block declared as Vec3d Modifier and Type Field Description private static Vec3d[]
RedstoneWireBlock. COLORS
Fields in net.minecraft.block with type parameters of type Vec3d Modifier and Type Field Description private static Int2ObjectMap<List<Vec3d>>
CandleBlock. CANDLES_TO_PARTICLE_OFFSETS
private static Iterable<Vec3d>
CandleCakeBlock. PARTICLE_OFFSETS
Methods in net.minecraft.block that return Vec3d Modifier and Type Method Description Vec3d
AbstractBlock.AbstractBlockState. getModelOffset(BlockView world, BlockPos pos)
Methods in net.minecraft.block that return types with arguments of type Vec3d Modifier and Type Method Description static Optional<Vec3d>
RespawnAnchorBlock. findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos)
private static Optional<Vec3d>
RespawnAnchorBlock. findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos, boolean bool)
static Optional<Vec3d>
BedBlock. findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, float float2)
private static Optional<Vec3d>
BedBlock. findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] int2, boolean bool)
private static Optional<Vec3d>
BedBlock. findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction direction, Direction direction2)
protected abstract Iterable<Vec3d>
AbstractCandleBlock. getParticleOffsets(BlockState state)
protected Iterable<Vec3d>
CandleBlock. getParticleOffsets(BlockState state)
protected Iterable<Vec3d>
CandleCakeBlock. getParticleOffsets(BlockState state)
Methods in net.minecraft.block with parameters of type Vec3d Modifier and Type Method Description private void
RedstoneWireBlock. addPoweredParticles(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3)
private static int
TargetBlock. calculatePower(BlockHitResult hitResult, Vec3d pos)
private static void
AbstractCandleBlock. spawnCandleParticles(World world, Vec3d vec3d, Random random)
static void
PowderSnowBlock. spawnParticles(World world, Vec3d pos)
-
Uses of Vec3d in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return Vec3d Modifier and Type Method Description private static Vec3d
EndGatewayBlockEntity. findTeleportLocation(ServerWorld world, BlockPos pos)
Methods in net.minecraft.block.entity with parameters of type Vec3d Modifier and Type Method Description private static void
AbstractFurnaceBlockEntity. dropExperience(ServerWorld world, Vec3d pos, int multiplier, float experience)
private static WorldChunk
EndGatewayBlockEntity. getChunk(World world, Vec3d pos)
List<Recipe<?>>
AbstractFurnaceBlockEntity. getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos)
private static boolean
EndGatewayBlockEntity. isChunkEmpty(ServerWorld world, Vec3d pos)
-
Uses of Vec3d in net.minecraft.client
Methods in net.minecraft.client with parameters of type Vec3d Modifier and Type Method Description private void
Keyboard. 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 Vec3d Modifier and Type Field Description private Vec3d
SubtitlesHud.SubtitleEntry. pos
Methods in net.minecraft.client.gui.hud that return Vec3d Modifier and Type Method Description Vec3d
SubtitlesHud.SubtitleEntry. getPosition()
Methods in net.minecraft.client.gui.hud with parameters of type Vec3d Modifier and Type Method Description void
SubtitlesHud.SubtitleEntry. reset(Vec3d pos)
Constructors in net.minecraft.client.gui.hud with parameters of type Vec3d Constructor Description SubtitleEntry(Text text, Vec3d pos)
-
Uses of Vec3d in net.minecraft.client.network
Fields in net.minecraft.client.network with type parameters of type Vec3d Modifier and Type Field Description private Object2ObjectLinkedOpenHashMap<com.mojang.datafixers.util.Pair<BlockPos,PlayerActionC2SPacket.Action>,Vec3d>
ClientPlayerInteractionManager. unacknowledgedPlayerActions
Methods in net.minecraft.client.network that return Vec3d Modifier and Type Method Description Vec3d
ClientPlayerEntity. method_30951(float float2)
Methods in net.minecraft.client.network with parameters of type Vec3d Modifier and Type Method Description void
ClientPlayerEntity. move(MovementType movementType, Vec3d movement)
-
Uses of Vec3d in net.minecraft.client.particle
Constructors in net.minecraft.client.particle with parameters of type Vec3d Constructor Description EmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge, Vec3d velocity)
ItemPickupParticle(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 Vec3d Modifier and Type Field Description private Vec3d
WorldRenderer. lastCloudsColor
private Vec3d
Camera. pos
Methods in net.minecraft.client.render that return Vec3d Modifier and Type Method Description abstract Vec3d
SkyProperties. adjustFogColor(Vec3d color, float sunHeight)
Transforms the given fog color based on the current height of the sun.Vec3d
SkyProperties.End. adjustFogColor(Vec3d color, float sunHeight)
Transforms the given fog color based on the current height of the sun.Vec3d
SkyProperties.Nether. adjustFogColor(Vec3d color, float sunHeight)
Transforms the given fog color based on the current height of the sun.Vec3d
SkyProperties.Overworld. adjustFogColor(Vec3d color, float sunHeight)
Transforms the given fog color based on the current height of the sun.Vec3d
Camera. getPos()
Methods in net.minecraft.client.render with parameters of type Vec3d Modifier and Type Method Description abstract Vec3d
SkyProperties. adjustFogColor(Vec3d color, float sunHeight)
Transforms the given fog color based on the current height of the sun.Vec3d
SkyProperties.End. adjustFogColor(Vec3d color, float sunHeight)
Transforms the given fog color based on the current height of the sun.Vec3d
SkyProperties.Nether. adjustFogColor(Vec3d color, float sunHeight)
Transforms the given fog color based on the current height of the sun.Vec3d
SkyProperties.Overworld. adjustFogColor(Vec3d color, float sunHeight)
Transforms the given fog color based on the current height of the sun.void
WorldRenderer. method_32133(MatrixStack matrixStack, Vec3d vec3d, Matrix4f matrix4f)
private void
WorldRenderer. method_34808(Frustum frustum, int int2, boolean bool, Vec3d vec3d, BlockPos blockPos, ChunkBuilder.BuiltChunk builtChunk, int int3, BlockPos blockPos2)
private void
WorldRenderer. renderClouds(BufferBuilder builder, double x, double y, double z, Vec3d color)
protected void
Camera. setPos(Vec3d pos)
-
Uses of Vec3d in net.minecraft.client.render.block.entity
Methods in net.minecraft.client.render.block.entity with parameters of type Vec3d Modifier and Type Method Description boolean
BeaconBlockEntityRenderer. method_33892(BeaconBlockEntity beaconBlockEntity, Vec3d vec3d)
default boolean
BlockEntityRenderer. method_33892(T t, Vec3d vec3d)
-
Uses of Vec3d in net.minecraft.client.render.chunk
Fields in net.minecraft.client.render.chunk declared as Vec3d Modifier and Type Field Description private Vec3d
ChunkBuilder. cameraPosition
Methods in net.minecraft.client.render.chunk that return Vec3d Modifier and Type Method Description Vec3d
ChunkBuilder. getCameraPosition()
Methods in net.minecraft.client.render.chunk with parameters of type Vec3d Modifier and Type Method Description void
ChunkBuilder. setCameraPosition(Vec3d cameraPosition)
-
Uses of Vec3d in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug declared as Vec3d Modifier and Type Field Description Vec3d
GameEventDebugRenderer.Entry. field_28260
Constructors in net.minecraft.client.render.debug with parameters of type Vec3d Constructor Description Entry(long long2, GameEvent gameEvent, Vec3d vec3d)
-
Uses of Vec3d in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity that return Vec3d Modifier and Type Method Description private Vec3d
GuardianEntityRenderer. fromLerpedPosition(LivingEntity entity, double yOffset, float delta)
Vec3d
EndermanEntityRenderer. getPositionOffset(EndermanEntity endermanEntity, float float2)
Vec3d
EntityRenderer. getPositionOffset(T entity, float tickDelta)
Vec3d
ItemFrameEntityRenderer. getPositionOffset(T t, float float2)
Vec3d
PlayerEntityRenderer. getPositionOffset(AbstractClientPlayerEntity abstractClientPlayerEntity, float float2)
Vec3d
ShulkerEntityRenderer. getPositionOffset(ShulkerEntity shulkerEntity, float float2)
-
Uses of Vec3d in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as Vec3d Modifier and Type Field Description private Vec3d
SoundListener. pos
Methods in net.minecraft.client.sound that return Vec3d Modifier and Type Method Description Vec3d
SoundListener. getPos()
Methods in net.minecraft.client.sound with parameters of type Vec3d Modifier and Type Method Description void
SoundListener. setPosition(Vec3d position)
void
Source. setPosition(Vec3d vec3d)
-
Uses of Vec3d in net.minecraft.client.world
Methods in net.minecraft.client.world that return Vec3d Modifier and Type Method Description Vec3d
ClientWorld. getCloudsColor(float tickDelta)
Vec3d
ClientWorld. method_23777(Vec3d vec3d, float float2)
Methods in net.minecraft.client.world with parameters of type Vec3d Modifier and Type Method Description Vec3d
ClientWorld. method_23777(Vec3d vec3d, float float2)
-
Uses of Vec3d in net.minecraft.command
Fields in net.minecraft.command with type parameters of type Vec3d Modifier and Type Field Description static BiConsumer<Vec3d,List<? extends Entity>>
EntitySelectorReader. ARBITRARY
static BiConsumer<Vec3d,List<? extends Entity>>
EntitySelectorReader. FURTHEST
static BiConsumer<Vec3d,List<? extends Entity>>
EntitySelectorReader. NEAREST
private Function<Vec3d,Vec3d>
EntitySelector. positionOffset
private Function<Vec3d,Vec3d>
EntitySelector. positionOffset
static BiConsumer<Vec3d,List<? extends Entity>>
EntitySelectorReader. RANDOM
private BiConsumer<Vec3d,List<? extends Entity>>
EntitySelector. sorter
private BiConsumer<Vec3d,List<? extends Entity>>
EntitySelectorReader. sorter
Methods in net.minecraft.command that return types with arguments of type Vec3d Modifier and Type Method Description BiConsumer<Vec3d,List<? extends Entity>>
EntitySelectorReader. method_35818()
Methods in net.minecraft.command with parameters of type Vec3d Modifier and Type Method Description private void
EntitySelector. appendEntitiesFromWorld(List<Entity> list, ServerWorld serverWorld, Vec3d vec3d, Predicate<Entity> predicate)
private <T extends Entity>
List<T>EntitySelector. getEntities(Vec3d vec3d, List<T> list)
private Predicate<Entity>
EntitySelector. getPositionPredicate(Vec3d vec3d)
Method parameters in net.minecraft.command with type arguments of type Vec3d Modifier and Type Method Description void
EntitySelectorReader. setSorter(BiConsumer<Vec3d,List<? extends Entity>> sorter)
Constructor parameters in net.minecraft.command with type arguments of type Vec3d Constructor Description 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)
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 Vec3d Modifier and Type Field Description private BiFunction<Vec3d,Entity,Vec3d>
EntityAnchorArgumentType.EntityAnchor. offset
private BiFunction<Vec3d,Entity,Vec3d>
EntityAnchorArgumentType.EntityAnchor. offset
Methods in net.minecraft.command.argument that return Vec3d Modifier and Type Method Description static Vec3d
Vec3ArgumentType. getVec3(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
Vec3d
EntityAnchorArgumentType.EntityAnchor. positionAt(Entity entity)
Vec3d
EntityAnchorArgumentType.EntityAnchor. positionAt(ServerCommandSource serverCommandSource)
Vec3d
DefaultPosArgument. toAbsolutePos(ServerCommandSource source)
Vec3d
LookingPosArgument. toAbsolutePos(ServerCommandSource source)
Vec3d
PosArgument. toAbsolutePos(ServerCommandSource source)
Constructor parameters in net.minecraft.command.argument with type arguments of type Vec3d Constructor Description EntityAnchor(String id, BiFunction<Vec3d,Entity,Vec3d> offset)
EntityAnchor(String id, BiFunction<Vec3d,Entity,Vec3d> offset)
-
Uses of Vec3d in net.minecraft.entity
Fields in net.minecraft.entity declared as Vec3d Modifier and Type Field Description protected Vec3d
Entity. movementMultiplier
private Vec3d
Entity. pos
private Vec3d
Entity. trackedPosition
private Vec3d
Entity. velocity
Methods in net.minecraft.entity that return Vec3d Modifier and Type Method Description static Vec3d
Entity. adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, ShapeContext context, ReusableStream<VoxelShape> collisions)
private Vec3d
Entity. adjustMovementForCollisions(Vec3d movement)
static Vec3d
Entity. adjustMovementForCollisions(Vec3d movement, Box entityBoundingBox, ReusableStream<VoxelShape> collisions)
protected Vec3d
Entity. adjustMovementForPiston(Vec3d movement)
protected Vec3d
Entity. adjustMovementForSneaking(Vec3d movement, MovementType type)
static Vec3d
Entity. adjustSingleAxisMovementForCollisions(Vec3d movement, Box entityBoundingBox, WorldView world, ShapeContext context, ReusableStream<VoxelShape> collisions)
private Vec3d
LivingEntity. applyClimbingSpeed(Vec3d motion)
static @Nullable Vec3d
Dismounting. findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean bool)
Vec3d
Entity. getCameraPosVec(float tickDelta)
Vec3d
Entity. getClientCameraPosVec(float tickDelta)
Vec3d
Entity. getEyePos()
Vec3d
Entity. getLerpedPos(float delta)
Vec3d
Entity. getOppositeRotationVector(float tickDelta)
protected Vec3d
Entity. getOppositeRotationVector(float pitch, float yaw)
protected static Vec3d
Entity. getPassengerDismountOffset(double vehicleWidth, double passengerWidth, float passengerYaw)
Vec3d
Entity. getPos()
Vec3d
Entity. getRotationVec(float tickDelta)
Vec3d
Entity. getRotationVecClient()
Vec3d
Entity. getRotationVector()
protected Vec3d
Entity. getRotationVector(float pitch, float yaw)
Vec3d
Entity. getTrackedPosition()
Vec3d
Entity. getVelocity()
Vec3d
LivingEntity. method_26317(double double2, boolean bool, Vec3d vec3d)
Vec3d
LivingEntity. method_26318(Vec3d vec3d, float float2)
Vec3d
Entity. method_29919()
Vec3d
Entity. method_30951(float float2)
static Vec3d
LivingEntity. method_31079(Vec3d vec3d)
private static Vec3d
Entity. movementInputToVelocity(Vec3d movementInput, float speed, float yaw)
protected Vec3d
Entity. positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)
protected Vec3d
LivingEntity. positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)
Vec3d
Entity. updatePassengerForDismount(LivingEntity passenger)
Methods in net.minecraft.entity with parameters of type Vec3d Modifier and Type Method Description static Vec3d
Entity. adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, ShapeContext context, ReusableStream<VoxelShape> collisions)
private Vec3d
Entity. adjustMovementForCollisions(Vec3d movement)
static Vec3d
Entity. adjustMovementForCollisions(Vec3d movement, Box entityBoundingBox, ReusableStream<VoxelShape> collisions)
protected Vec3d
Entity. adjustMovementForPiston(Vec3d movement)
protected Vec3d
Entity. adjustMovementForSneaking(Vec3d movement, MovementType type)
static Vec3d
Entity. adjustSingleAxisMovementForCollisions(Vec3d movement, Box entityBoundingBox, WorldView world, ShapeContext context, ReusableStream<VoxelShape> collisions)
private Vec3d
LivingEntity. applyClimbingSpeed(Vec3d motion)
static boolean
Dismounting. canPlaceEntityAt(CollisionView world, Vec3d offset, LivingEntity entity, EntityPose pose)
Box
EntityDimensions. getBoxAt(Vec3d pos)
default Vec3f
CrossbowUser. getProjectileLaunchVelocity(LivingEntity entity, Vec3d positionDelta, float multishotSpray)
ActionResult
Entity. interactAt(PlayerEntity player, Vec3d hitPos, Hand hand)
void
Entity. lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)
void
LivingEntity. lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)
Vec3d
LivingEntity. method_26317(double double2, boolean bool, Vec3d vec3d)
Vec3d
LivingEntity. method_26318(Vec3d vec3d, float float2)
static Vec3d
LivingEntity. method_31079(Vec3d vec3d)
void
Entity. method_33574(Vec3d vec3d)
void
Entity. move(MovementType movementType, Vec3d movement)
private static Vec3d
Entity. movementInputToVelocity(Vec3d movementInput, float speed, float yaw)
void
Entity. refreshPositionAfterTeleport(Vec3d pos)
void
ItemSteerable. setMovementInput(Vec3d movementInput)
void
Entity. setVelocity(Vec3d velocity)
void
Entity. slowMovement(BlockState state, Vec3d multiplier)
static void
ExperienceOrbEntity. spawn(ServerWorld world, Vec3d pos, int amount)
double
Entity. squaredDistanceTo(Vec3d vector)
static double
Entity. squaredHorizontalLength(Vec3d vector)
default boolean
ItemSteerable. travel(MobEntity entity, SaddledComponent saddledEntity, Vec3d movementInput)
void
LivingEntity. travel(Vec3d movementInput)
void
Entity. updateTrackedPosition(Vec3d pos)
void
Entity. updateVelocity(float speed, Vec3d movementInput)
private static boolean
ExperienceOrbEntity. wasMergedIntoExistingOrb(ServerWorld world, Vec3d pos, int amount)
-
Uses of Vec3d in net.minecraft.entity.ai
Methods in net.minecraft.entity.ai that return Vec3d Modifier and Type Method Description static @Nullable Vec3d
AboveGroundTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, double x, double z, float angle, int maxAboveSolid, int minAboveSolid)
static @Nullable Vec3d
FuzzyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange)
static @Nullable Vec3d
FuzzyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer)
static @Nullable Vec3d
NoPenaltySolidTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, double rangeAngle)
static @Nullable Vec3d
NoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange)
static @Nullable Vec3d
NoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction)
static @Nullable Vec3d
NoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange)
static @Nullable Vec3d
NoWaterTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange)
static @Nullable Vec3d
FuzzyTargeting. findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start)
static @Nullable Vec3d
FuzzyTargeting. findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end)
private static @Nullable Vec3d
FuzzyTargeting. findValid(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction, boolean posTargetInRange)
static @Nullable Vec3d
FuzzyPositions. guessBest(Supplier<BlockPos> factory, ToDoubleFunction<BlockPos> scorer)
Returns thebottom center
of a highest scoring position, as determined byscorer
, out of 10 tries on positions obtained fromfactory
.static @Nullable Vec3d
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 Vec3d Modifier and Type Method Description static @Nullable Vec3d
NoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction)
static @Nullable Vec3d
NoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange)
static @Nullable Vec3d
NoWaterTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange)
static @Nullable Vec3d
FuzzyTargeting. findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start)
static @Nullable Vec3d
FuzzyTargeting. findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end)
private static @Nullable Vec3d
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 Vec3d Modifier and Type Field Description private Vec3d
BlockPosLookTarget. pos
Methods in net.minecraft.entity.ai.brain that return Vec3d Modifier and Type Method Description Vec3d
BlockPosLookTarget. getPos()
Vec3d
EntityLookTarget. getPos()
Vec3d
LookTarget. getPos()
Constructors in net.minecraft.entity.ai.brain with parameters of type Vec3d Constructor Description WalkTarget(Vec3d pos, float speed, int completionRange)
-
Uses of Vec3d in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task with type parameters of type Vec3d Modifier and Type Field Description private Function<T,Vec3d>
GoToRememberedPositionTask. posRetriever
Methods in net.minecraft.entity.ai.brain.task that return Vec3d Modifier and Type Method Description private @Nullable Vec3d
SeekSkyTask. findNearbySky(ServerWorld world, LivingEntity entity)
private Vec3d
GoToRememberedPositionTask. getPos(PathAwareEntity entity)
static @Nullable Vec3d
LookTargetUtil. method_33193(PathAwareEntity pathAwareEntity, int int2, int int3)
protected Vec3d
AquaticStrollTask. method_33201(PathAwareEntity pathAwareEntity)
protected @Nullable Vec3d
StrollTask. method_33201(PathAwareEntity pathAwareEntity)
Methods in net.minecraft.entity.ai.brain.task with parameters of type Vec3d Modifier and Type Method Description static void
LookTargetUtil. give(LivingEntity entity, ItemStack stack, Vec3d targetLocation)
private static void
GoToRememberedPositionTask. setWalkTarget(PathAwareEntity entity, Vec3d pos, float speed)
Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type Vec3d Constructor Description GoToRememberedPositionTask(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 Modifier and Type Method Description void
LookControl. lookAt(Vec3d direction)
-
Uses of Vec3d in net.minecraft.entity.ai.goal
Methods in net.minecraft.entity.ai.goal that return Vec3d Modifier and Type Method Description private @Nullable Vec3d
FlyOntoTreeGoal. getTreeTarget()
protected @Nullable Vec3d
FlyOntoTreeGoal. getWanderTarget()
protected @Nullable Vec3d
IronGolemWanderAroundGoal. getWanderTarget()
protected @Nullable Vec3d
SwimAroundGoal. getWanderTarget()
protected @Nullable Vec3d
WanderAroundFarGoal. getWanderTarget()
protected @Nullable Vec3d
WanderAroundGoal. getWanderTarget()
protected @Nullable Vec3d
WanderAroundPointOfInterestGoal. getWanderTarget()
protected @Nullable Vec3d
EscapeSunlightGoal. locateShadedPos()
private @Nullable Vec3d
IronGolemWanderAroundGoal. method_27925()
private @Nullable Vec3d
IronGolemWanderAroundGoal. method_27926()
private @Nullable Vec3d
IronGolemWanderAroundGoal. method_27927()
-
Uses of Vec3d in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing declared as Vec3d Modifier and Type Field Description protected Vec3d
EntityNavigation. pathStartPos
Methods in net.minecraft.entity.ai.pathing that return Vec3d Modifier and Type Method Description Vec3d
Path. getNodePosition(Entity entity)
Vec3d
Path. getNodePosition(Entity entity, int index)
protected Vec3d
BirdNavigation. getPos()
The position to act as if the entity is at for pathfinding purposesprotected abstract Vec3d
EntityNavigation. getPos()
The position to act as if the entity is at for pathfinding purposesprotected Vec3d
MobNavigation. getPos()
The position to act as if the entity is at for pathfinding purposesprotected Vec3d
SwimNavigation. getPos()
The position to act as if the entity is at for pathfinding purposesVec3d
PathNode. method_35496()
Methods in net.minecraft.entity.ai.pathing with parameters of type Vec3d Modifier and Type Method Description private boolean
MobNavigation. allVisibleArePassable(int x, int y, int z, int xSize, int ySize, int zSize, 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 boolean
MobNavigation. allVisibleAreSafe(int centerX, int centerY, int centerZ, int xSize, int ySize, int zSize, Vec3d entityPos, double lookVecX, double lookVecZ)
protected boolean
BirdNavigation. canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)
protected abstract boolean
EntityNavigation. canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)
protected boolean
MobNavigation. canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)
protected boolean
SwimNavigation. canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)
protected void
EntityNavigation. checkTimeouts(Vec3d currentPos)
protected void
SwimNavigation. checkTimeouts(Vec3d currentPos)
private boolean
EntityNavigation. method_27799(Vec3d vec3d)
-
Uses of Vec3d in net.minecraft.entity.boss
Methods in net.minecraft.entity.boss with parameters of type Vec3d Modifier and Type Method Description void
WitherEntity. slowMovement(BlockState state, Vec3d multiplier)
-
Uses of Vec3d in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon that return Vec3d Modifier and Type Method Description Vec3d
EnderDragonEntity. getRotationVectorFromPhase(float tickDelta)
-
Uses of Vec3d in net.minecraft.entity.boss.dragon.phase
Fields in net.minecraft.entity.boss.dragon.phase declared as Vec3d Modifier and Type Field Description private Vec3d
ChargingPlayerPhase. pathTarget
private Vec3d
HoldingPatternPhase. pathTarget
private Vec3d
LandingApproachPhase. pathTarget
private Vec3d
StrafePlayerPhase. pathTarget
private Vec3d
TakeoffPhase. pathTarget
private Vec3d
DyingPhase. target
private Vec3d
HoverPhase. target
private Vec3d
LandingPhase. target
Methods in net.minecraft.entity.boss.dragon.phase that return Vec3d Modifier and Type Method Description @Nullable Vec3d
AbstractPhase. getPathTarget()
@Nullable Vec3d
ChargingPlayerPhase. getPathTarget()
@Nullable Vec3d
DyingPhase. getPathTarget()
@Nullable Vec3d
HoldingPatternPhase. getPathTarget()
@Nullable Vec3d
HoverPhase. getPathTarget()
@Nullable Vec3d
LandingApproachPhase. getPathTarget()
@Nullable Vec3d
LandingPhase. getPathTarget()
@Nullable Vec3d
Phase. getPathTarget()
@Nullable Vec3d
StrafePlayerPhase. getPathTarget()
@Nullable Vec3d
TakeoffPhase. getPathTarget()
Methods in net.minecraft.entity.boss.dragon.phase with parameters of type Vec3d Modifier and Type Method Description void
ChargingPlayerPhase. setPathTarget(Vec3d pathTarget)
-
Uses of Vec3d in net.minecraft.entity.damage
Methods in net.minecraft.entity.damage that return Vec3d Modifier and Type Method Description @Nullable Vec3d
DamageSource. getPosition()
@Nullable Vec3d
EntityDamageSource. getPosition()
-
Uses of Vec3d in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration that return Vec3d Modifier and Type Method Description Vec3d
ArmorStandEntity. getClientCameraPosVec(float tickDelta)
Vec3d
LeashKnotEntity. method_30951(float float2)
Methods in net.minecraft.entity.decoration with parameters of type Vec3d Modifier and Type Method Description ActionResult
ArmorStandEntity. interactAt(PlayerEntity player, Vec3d hitPos, Hand hand)
void
AbstractDecorationEntity. move(MovementType movementType, Vec3d movement)
void
ItemFrameEntity. move(MovementType movementType, Vec3d movement)
private EquipmentSlot
ArmorStandEntity. slotFromPosition(Vec3d vec3d)
void
ArmorStandEntity. travel(Vec3d movementInput)
-
Uses of Vec3d in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as Vec3d Modifier and Type Field Description private Vec3d[][]
IllusionerEntity. field_7297
private Vec3d
PhantomEntity. targetPosition
Methods in net.minecraft.entity.mob that return Vec3d Modifier and Type Method Description private static Vec3d
PiglinBrain. findGround(PiglinEntity piglin)
Vec3d
ShulkerEntity. getVelocity()
private @Nullable Vec3d
DrownedEntity.WanderAroundOnSurfaceGoal. getWanderTarget()
Vec3d[]
IllusionerEntity. method_7065(float float2)
Methods in net.minecraft.entity.mob that return types with arguments of type Vec3d Modifier and Type Method Description Optional<Vec3d>
ShulkerEntity. method_33352(float float2)
Methods in net.minecraft.entity.mob with parameters of type Vec3d Modifier and Type Method Description private static void
PiglinBrain. drop(PiglinEntity piglin, List<ItemStack> list, Vec3d vec3d)
void
ShulkerEntity. move(MovementType movementType, Vec3d movement)
void
VexEntity. move(MovementType movementType, Vec3d movement)
void
ShulkerEntity. setVelocity(Vec3d velocity)
void
SpiderEntity. slowMovement(BlockState state, Vec3d multiplier)
void
DrownedEntity. travel(Vec3d movementInput)
void
FlyingEntity. travel(Vec3d movementInput)
void
GuardianEntity. travel(Vec3d movementInput)
private boolean
GhastEntity.GhastMoveControl. willCollide(Vec3d direction, int steps)
-
Uses of Vec3d in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as Vec3d Modifier and Type Field Description private Vec3d
BeeEntity.PollinateGoal. nextTarget
private Vec3d
PandaEntity. playingJump
Methods in net.minecraft.entity.passive that return Vec3d Modifier and Type Method Description private Vec3d
SquidEntity. applyBodyRotations(Vec3d shootVector)
private @Nullable Vec3d
BeeEntity.BeeWanderAroundGoal. getRandomLocation()
private @Nullable Vec3d
HorseBaseEntity. method_27930(Vec3d vec3d, LivingEntity livingEntity)
Vec3d
BeeEntity. method_29919()
Vec3d
FoxEntity. method_29919()
Vec3d
IronGolemEntity. method_29919()
Vec3d
LlamaEntity. method_29919()
Vec3d
OcelotEntity. method_29919()
Vec3d
ParrotEntity. method_29919()
Vec3d
PigEntity. method_29919()
Vec3d
RabbitEntity. method_29919()
Vec3d
SnowGolemEntity. method_29919()
Vec3d
StriderEntity. method_29919()
Vec3d
WolfEntity. method_29919()
Vec3d
MerchantEntity. method_30951(float float2)
Vec3d
HorseBaseEntity. updatePassengerForDismount(LivingEntity passenger)
Vec3d
PigEntity. updatePassengerForDismount(LivingEntity passenger)
Vec3d
StriderEntity. updatePassengerForDismount(LivingEntity passenger)
Methods in net.minecraft.entity.passive with parameters of type Vec3d Modifier and Type Method Description private Vec3d
SquidEntity. applyBodyRotations(Vec3d shootVector)
private @Nullable Vec3d
HorseBaseEntity. method_27930(Vec3d vec3d, LivingEntity livingEntity)
void
PigEntity. setMovementInput(Vec3d movementInput)
void
StriderEntity. setMovementInput(Vec3d movementInput)
void
AxolotlEntity. travel(Vec3d movementInput)
void
DolphinEntity. travel(Vec3d movementInput)
void
FishEntity. travel(Vec3d movementInput)
void
HorseBaseEntity. travel(Vec3d movementInput)
void
PigEntity. travel(Vec3d movementInput)
void
SquidEntity. travel(Vec3d movementInput)
void
StriderEntity. travel(Vec3d movementInput)
void
TurtleEntity. travel(Vec3d movementInput)
-
Uses of Vec3d in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return Vec3d Modifier and Type Method Description protected Vec3d
PlayerEntity. adjustMovementForSneaking(Vec3d movement, MovementType type)
Vec3d
PlayerEntity. method_30951(float float2)
Methods in net.minecraft.entity.player that return types with arguments of type Vec3d Modifier and Type Method Description static Optional<Vec3d>
PlayerEntity. findRespawnPosition(ServerWorld world, BlockPos pos, float float2, boolean bool, boolean bool2)
Methods in net.minecraft.entity.player with parameters of type Vec3d Modifier and Type Method Description protected Vec3d
PlayerEntity. adjustMovementForSneaking(Vec3d movement, MovementType type)
void
PlayerEntity. slowMovement(BlockState state, Vec3d multiplier)
void
PlayerEntity. travel(Vec3d movementInput)
-
Uses of Vec3d in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type Vec3d Modifier and Type Method Description protected @Nullable EntityHitResult
PersistentProjectileEntity. getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)
static @Nullable EntityHitResult
ProjectileUtil. getEntityCollision(World world, Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate)
protected @Nullable EntityHitResult
TridentEntity. getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)
void
PersistentProjectileEntity. move(MovementType movementType, Vec3d movement)
static @Nullable EntityHitResult
ProjectileUtil. 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 Vec3d Modifier and Type Method Description Vec3d
CommandBlockMinecartEntity.CommandExecutor. getPos()
protected Vec3d
AbstractMinecartEntity. positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)
protected Vec3d
BoatEntity. positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)
@Nullable Vec3d
AbstractMinecartEntity. snapPositionToRail(double x, double y, double z)
@Nullable Vec3d
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.Vec3d
AbstractMinecartEntity. updatePassengerForDismount(LivingEntity passenger)
Vec3d
BoatEntity. updatePassengerForDismount(LivingEntity passenger)
-
Uses of Vec3d in net.minecraft.fluid
Methods in net.minecraft.fluid that return Vec3d Modifier and Type Method Description Vec3d
EmptyFluid. getVelocity(BlockView world, BlockPos pos, FluidState state)
Vec3d
FlowableFluid. getVelocity(BlockView world, BlockPos pos, FluidState state)
protected abstract Vec3d
Fluid. getVelocity(BlockView world, BlockPos pos, FluidState state)
Vec3d
FluidState. getVelocity(BlockView world, BlockPos pos)
-
Uses of Vec3d in net.minecraft.item
Methods in net.minecraft.item that return Vec3d Modifier and Type Method Description Vec3d
ItemUsageContext. getHitPos()
Methods in net.minecraft.item with parameters of type Vec3d Modifier and Type Method Description Optional<MobEntity>
SpawnEggItem. 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 Modifier and Type Field Description static LootContextParameter<Vec3d>
LootContextParameters. ORIGIN
-
Uses of Vec3d in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as Vec3d Modifier and Type Field Description private Vec3d
PlayerInteractEntityC2SPacket.InteractAtHandler. pos
Methods in net.minecraft.network.packet.c2s.play with parameters of type Vec3d Modifier and Type Method Description void
PlayerInteractEntityC2SPacket.Handler. interactAt(Hand hand, Vec3d pos)
static PlayerInteractEntityC2SPacket
PlayerInteractEntityC2SPacket. interactAt(Entity entity, boolean playerSneaking, Hand hand, Vec3d pos)
Constructors in net.minecraft.network.packet.c2s.play with parameters of type Vec3d Constructor Description InteractAtHandler(Hand hand, Vec3d pos)
-
Uses of Vec3d in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play that return Vec3d Modifier and Type Method Description Vec3d
EntityS2CPacket. calculateDeltaPosition(Vec3d orig)
static Vec3d
EntityS2CPacket. decodePacketCoordinates(long x, long y, long z)
@Nullable Vec3d
LookAtS2CPacket. getTargetPosition(World world)
Methods in net.minecraft.network.packet.s2c.play with parameters of type Vec3d Modifier and Type Method Description Vec3d
EntityS2CPacket. calculateDeltaPosition(Vec3d orig)
Constructors in net.minecraft.network.packet.s2c.play with parameters of type Vec3d Constructor Description EntitySpawnS2CPacket(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 Vec3d Modifier and Type Method Description boolean
DamageSourcePredicate. test(ServerWorld world, Vec3d pos, DamageSource damageSource)
boolean
EntityPredicate. test(ServerWorld world, @Nullable Vec3d pos, @Nullable Entity entity)
-
Uses of Vec3d in net.minecraft.server.command
Fields in net.minecraft.server.command declared as Vec3d Modifier and Type Field Description private Vec3d
ServerCommandSource. position
private Vec3d
TeleportCommand.LookTarget. targetPos
Methods in net.minecraft.server.command that return Vec3d Modifier and Type Method Description Vec3d
ServerCommandSource. getPosition()
Methods in net.minecraft.server.command with parameters of type Vec3d Modifier and Type Method Description private static int
ParticleCommand. execute(ServerCommandSource source, ParticleEffect parameters, Vec3d pos, Vec3d delta, float speed, int count, boolean force, Collection<ServerPlayerEntity> viewers)
private static int
PlaySoundCommand. execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume)
private static int
SummonCommand. execute(ServerCommandSource source, Identifier entity, Vec3d pos, NbtCompound nbt, boolean initialize)
private static int
LootCommand. executeSpawn(ServerCommandSource source, Vec3d pos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender)
ServerCommandSource
ServerCommandSource. withLookingAt(Vec3d position)
ServerCommandSource
ServerCommandSource. withPosition(Vec3d position)
Constructors in net.minecraft.server.command with parameters of type Vec3d Constructor Description LookTarget(Vec3d targetPos)
ServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity)
ServerCommandSource(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 Vec3d Modifier and Type Field Description private @Nullable Vec3d
ServerPlayerEntity. enteredNetherPos
private Vec3d
ServerPlayerEntity. levitationStartPos
private @Nullable Vec3d
ServerPlayNetworkHandler. requestedTeleportPos
private Vec3d
EntityTrackerEntry. velocity
Methods in net.minecraft.server.network that return Vec3d Modifier and Type Method Description Vec3d
EntityTrackerEntry. getLastPos()
Decodes lastX/Y/Z into a position vectorMethods in net.minecraft.server.network with parameters of type Vec3d Modifier and Type Method Description void
ServerPlayerEntity. lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)
-
Uses of Vec3d in net.minecraft.structure
Fields in net.minecraft.structure declared as Vec3d Modifier and Type Field Description Vec3d
Structure.StructureEntityInfo. pos
Methods in net.minecraft.structure that return Vec3d Modifier and Type Method Description static Vec3d
Structure. transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
Methods in net.minecraft.structure with parameters of type Vec3d Modifier and Type Method Description static Vec3d
Structure. transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
Constructors in net.minecraft.structure with parameters of type Vec3d Constructor Description StructureEntityInfo(Vec3d pos, BlockPos blockPos, NbtCompound nbt)
-
Uses of Vec3d in net.minecraft.test
Methods in net.minecraft.test that return Vec3d Modifier and Type Method Description Vec3d
StartupParameter. method_35978(Vec3d vec3d)
Methods in net.minecraft.test with parameters of type Vec3d Modifier and Type Method Description <E extends Entity>
EStartupParameter. method_35963(EntityType<E> entityType, Vec3d vec3d)
Vec3d
StartupParameter. method_35978(Vec3d vec3d)
<E extends MobEntity>
EStartupParameter. method_36008(EntityType<E> entityType, Vec3d vec3d)
-
Uses of Vec3d in net.minecraft.util
Methods in net.minecraft.util that return Vec3d Modifier and Type Method Description Vec3d
CubicSampler.RgbFetcher. fetch(int x, int y, int z)
static Vec3d
CubicSampler. sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher)
Methods in net.minecraft.util with parameters of type Vec3d Modifier and Type Method Description static Vec3d
CubicSampler. sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher)
-
Uses of Vec3d in net.minecraft.util.hit
Fields in net.minecraft.util.hit declared as Vec3d Modifier and Type Field Description protected Vec3d
HitResult. pos
Methods in net.minecraft.util.hit that return Vec3d Modifier and Type Method Description Vec3d
HitResult. getPos()
Methods in net.minecraft.util.hit with parameters of type Vec3d Modifier and Type Method Description static BlockHitResult
BlockHitResult. createMissed(Vec3d pos, Direction side, BlockPos blockPos)
Constructors in net.minecraft.util.hit with parameters of type Vec3d Constructor Description BlockHitResult(boolean missed, Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock)
BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock)
EntityHitResult(Entity entity, Vec3d pos)
HitResult(Vec3d pos)
-
Uses of Vec3d in net.minecraft.util.math
Fields in net.minecraft.util.math declared as Vec3d Modifier and Type Field Description static Vec3d
Vec3d. ZERO
Methods in net.minecraft.util.math that return Vec3d Modifier and Type Method Description Vec3d
Vec3d. add(double x, double y, double z)
Vec3d
Vec3d. add(Vec3d vec)
Vec3d
Vec3d. crossProduct(Vec3d vec)
Vec3d
Vec3d. floorAlongAxes(EnumSet<Direction.Axis> axes)
static Vec3d
Vec3d. fromPolar(float pitch, float yaw)
static Vec3d
Vec3d. fromPolar(Vec2f polar)
Vec3d
Box. getCenter()
static Vec3d
MathHelper. method_34946(Vec3d vec3d, Vec3d vec3d2, Vec3d vec3d3, Vec3d vec3d4, double double2)
Vec3d
Vec3d. method_35590(Vec3d vec3d, double double2)
Vec3d
Vec3d. multiply(double mult)
Vec3d
Vec3d. multiply(double multX, double multY, double multZ)
Vec3d
Vec3d. multiply(Vec3d mult)
Vec3d
Vec3d. negate()
Vec3d
Vec3d. normalize()
static Vec3d
Vec3d. of(Vec3i vec)
static Vec3d
Vec3d. ofBottomCenter(Vec3i vec)
static Vec3d
Vec3d. ofCenter(Vec3i vec)
static Vec3d
Vec3d. ofCenter(Vec3i vec, double deltaY)
Vec3d
Vec3d. reverseSubtract(Vec3d vec)
Vec3d
Vec3d. rotateX(float angle)
Vec3d
Vec3d. rotateY(float angle)
Vec3d
Vec3d. rotateZ(float angle)
Vec3d
Vec3d. subtract(double x, double y, double z)
Vec3d
Vec3d. subtract(Vec3d vec)
static Vec3d
Vec3d. unpackRgb(int rgb)
Methods in net.minecraft.util.math that return types with arguments of type Vec3d Modifier and Type Method Description Optional<Vec3d>
Box. raycast(Vec3d min, Vec3d max)
Methods in net.minecraft.util.math with parameters of type Vec3d Modifier and Type Method Description Vec3d
Vec3d. add(Vec3d vec)
boolean
Box. contains(Vec3d vec)
Vec3d
Vec3d. crossProduct(Vec3d vec)
double
Vec3d. distanceTo(Vec3d vec)
double
Vec3d. dotProduct(Vec3d vec)
static Box
Box. from(Vec3d vec3d)
boolean
Box. intersects(Vec3d from, Vec3d to)
static boolean
MathHelper. method_34945(Vec3d vec3d, Vec3d vec3d2, Box box)
static Vec3d
MathHelper. method_34946(Vec3d vec3d, Vec3d vec3d2, Vec3d vec3d3, Vec3d vec3d4, double double2)
Vec3d
Vec3d. method_35590(Vec3d vec3d, double double2)
Vec3d
Vec3d. multiply(Vec3d mult)
static Box
Box. of(Vec3d center, double dx, double dy, double dz)
Box
Box. offset(Vec3d vec3d)
static @Nullable BlockHitResult
Box. raycast(Iterable<Box> boxes, Vec3d from, Vec3d to, BlockPos pos)
Optional<Vec3d>
Box. raycast(Vec3d min, Vec3d max)
Vec3d
Vec3d. reverseSubtract(Vec3d vec)
double
Vec3d. squaredDistanceTo(Vec3d vec)
Box
Box. stretch(Vec3d scale)
Vec3d
Vec3d. subtract(Vec3d vec)
private static @Nullable Direction
Box. traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double xDelta, double yDelta, double zDelta)
-
Uses of Vec3d in net.minecraft.util.shape
Methods in net.minecraft.util.shape that return types with arguments of type Vec3d Modifier and Type Method Description Optional<Vec3d>
VoxelShape. method_33661(Vec3d vec3d)
Methods in net.minecraft.util.shape with parameters of type Vec3d Modifier and Type Method Description Optional<Vec3d>
VoxelShape. method_33661(Vec3d vec3d)
@Nullable BlockHitResult
VoxelShape. raycast(Vec3d start, Vec3d end, BlockPos pos)
-
Uses of Vec3d in net.minecraft.village
Methods in net.minecraft.village that return Vec3d Modifier and Type Method Description private @Nullable Vec3d
ZombieSiegeManager. getSpawnVector(ServerWorld world, BlockPos pos)
-
Uses of Vec3d in net.minecraft.world
Fields in net.minecraft.world declared as Vec3d Modifier and Type Field Description private Vec3d
BlockStateRaycastContext. end
private Vec3d
RaycastContext. end
Vec3d
TeleportTarget. position
private Vec3d
BlockStateRaycastContext. start
private Vec3d
RaycastContext. start
Vec3d
TeleportTarget. velocity
Methods in net.minecraft.world that return Vec3d Modifier and Type Method Description Vec3d
BlockStateRaycastContext. getEnd()
Vec3d
RaycastContext. getEnd()
abstract Vec3d
CommandBlockExecutor. getPos()
Vec3d
BlockStateRaycastContext. getStart()
Vec3d
RaycastContext. getStart()
Methods in net.minecraft.world that return types with arguments of type Vec3d Modifier and Type Method Description default Optional<Vec3d>
CollisionView. method_33594(@Nullable Entity entity, VoxelShape voxelShape, Vec3d vec3d, double double2, double double3, double double4)
Methods in net.minecraft.world with parameters of type Vec3d Modifier and Type Method Description default Optional<Vec3d>
CollisionView. method_33594(@Nullable Entity entity, VoxelShape voxelShape, Vec3d vec3d, double double2, double double3, double double4)
static <T, C> T
BlockView. raycast(Vec3d start, Vec3d end, C context, BiFunction<C,BlockPos,T> blockHitFactory, Function<C,T> missFactory)
default @Nullable BlockHitResult
BlockView. raycastBlock(Vec3d start, Vec3d end, BlockPos pos, VoxelShape shape, BlockState state)
Constructors in net.minecraft.world with parameters of type Vec3d Constructor Description BlockStateRaycastContext(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 Vec3d Modifier and Type Method Description static Vec3d
AreaHelper. entityPosInPortal(PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)
Methods in net.minecraft.world.dimension with parameters of type Vec3d Modifier and Type Method Description static Vec3d
AreaHelper. entityPosInPortal(PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)
static TeleportTarget
AreaHelper. getNetherTeleportTarget(ServerWorld destination, PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d offset, EntityDimensions dimensions, Vec3d velocity, float yaw, float pitch)
-
Uses of Vec3d in net.minecraft.world.explosion
Fields in net.minecraft.world.explosion with type parameters of type Vec3d Modifier and Type Field Description private Map<PlayerEntity,Vec3d>
Explosion. affectedPlayers
Methods in net.minecraft.world.explosion that return types with arguments of type Vec3d Modifier and Type Method Description Map<PlayerEntity,Vec3d>
Explosion. getAffectedPlayers()
Methods in net.minecraft.world.explosion with parameters of type Vec3d Modifier and Type Method Description static float
Explosion. getExposure(Vec3d source, Entity entity)
-
Uses of Vec3d in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as Vec3d Modifier and Type Field Description private @Nullable Vec3d
LargeDripstoneFeature.WindModifier. wind