类的使用
net.minecraft.util.math.Vec3d
-
-
net.minecraft中Vec3d的使用
声明为Vec3d的net.minecraft中的字段 修饰符和类型 字段 说明 private Vec3dclass_6030.class_6031. field_30148类型参数类型为Vec3d的net.minecraft中的字段 修饰符和类型 字段 说明 private Optional<Vec3d>class_6030. field_30143返回Vec3d的net.minecraft中的方法 修饰符和类型 方法 说明 Vec3dclass_6030.class_6031. method_35085()返回变量类型为Vec3d的类型的net.minecraft中的方法 修饰符和类型 方法 说明 private Optional<Vec3d>class_6030. method_35078(MobEntity mobEntity, Vec3d vec3d)private Optional<Vec3d>class_6030. method_35079(MobEntity mobEntity, Vec3d vec3d, int int2)参数类型为Vec3d的net.minecraft中的方法 修饰符和类型 方法 说明 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 booleanclass_6030. method_35080(MobEntity mobEntity, Vec3d vec3d, Vec3d vec3d2)参数类型为Vec3d的net.minecraft中的构造器 构造器 说明 class_6031(BlockPos blockPos, Vec3d vec3d, int int2) -
net.minecraft.advancement.criterion中Vec3d的使用
参数类型为Vec3d的net.minecraft.advancement.criterion中的方法 修饰符和类型 方法 说明 booleanLevitationCriterion.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) -
net.minecraft.block中Vec3d的使用
声明为Vec3d的net.minecraft.block中的字段 修饰符和类型 字段 说明 private static Vec3d[]RedstoneWireBlock. COLORS类型参数类型为Vec3d的net.minecraft.block中的字段 修饰符和类型 字段 说明 private static Int2ObjectMap<List<Vec3d>>CandleBlock. CANDLES_TO_PARTICLE_OFFSETSprivate static Iterable<Vec3d>CandleCakeBlock. PARTICLE_OFFSETS返回Vec3d的net.minecraft.block中的方法 修饰符和类型 方法 说明 Vec3dAbstractBlock.AbstractBlockState. getModelOffset(BlockView world, BlockPos pos)返回变量类型为Vec3d的类型的net.minecraft.block中的方法 修饰符和类型 方法 说明 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)参数类型为Vec3d的net.minecraft.block中的方法 修饰符和类型 方法 说明 private 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)static voidPowderSnowBlock. spawnParticles(World world, Vec3d pos) -
net.minecraft.block.entity中Vec3d的使用
返回Vec3d的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 private static Vec3dEndGatewayBlockEntity. findTeleportLocation(ServerWorld world, BlockPos pos)参数类型为Vec3d的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 private static voidAbstractFurnaceBlockEntity. dropExperience(ServerWorld world, Vec3d pos, int multiplier, float experience)private static WorldChunkEndGatewayBlockEntity. getChunk(World world, Vec3d pos)List<Recipe<?>>AbstractFurnaceBlockEntity. getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos)private static booleanEndGatewayBlockEntity. isChunkEmpty(ServerWorld world, Vec3d pos) -
net.minecraft.client中Vec3d的使用
参数类型为Vec3d的net.minecraft.client中的方法 修饰符和类型 方法 说明 private voidKeyboard. copyEntity(Identifier id, Vec3d pos, @Nullable CompoundTag nbt) -
net.minecraft.client.gui.hud中Vec3d的使用
声明为Vec3d的net.minecraft.client.gui.hud中的字段 修饰符和类型 字段 说明 private Vec3dSubtitlesHud.SubtitleEntry. pos返回Vec3d的net.minecraft.client.gui.hud中的方法 修饰符和类型 方法 说明 Vec3dSubtitlesHud.SubtitleEntry. getPosition()参数类型为Vec3d的net.minecraft.client.gui.hud中的方法 修饰符和类型 方法 说明 voidSubtitlesHud.SubtitleEntry. reset(Vec3d pos)参数类型为Vec3d的net.minecraft.client.gui.hud中的构造器 构造器 说明 SubtitleEntry(Text text, Vec3d pos) -
net.minecraft.client.network中Vec3d的使用
类型参数类型为Vec3d的net.minecraft.client.network中的字段 修饰符和类型 字段 说明 private Object2ObjectLinkedOpenHashMap<com.mojang.datafixers.util.Pair<BlockPos,PlayerActionC2SPacket.Action>,Vec3d>ClientPlayerInteractionManager. unacknowledgedPlayerActions返回Vec3d的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 Vec3dClientPlayerEntity. method_30951(float float2)参数类型为Vec3d的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 voidClientPlayerEntity. move(MovementType movementType, Vec3d movement) -
net.minecraft.client.particle中Vec3d的使用
参数类型为Vec3d的net.minecraft.client.particle中的构造器 构造器 说明 EmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge, Vec3d velocity)ItemPickupParticle(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity, Vec3d velocity) -
net.minecraft.client.render中Vec3d的使用
声明为Vec3d的net.minecraft.client.render中的字段 修饰符和类型 字段 说明 private Vec3dWorldRenderer. lastCloudsColorprivate Vec3dCamera. pos返回Vec3d的net.minecraft.client.render中的方法 修饰符和类型 方法 说明 abstract Vec3dSkyProperties. adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.Vec3dSkyProperties.End. adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.Vec3dSkyProperties.Nether. adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.Vec3dSkyProperties.Overworld. adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.Vec3dCamera. getPos()参数类型为Vec3d的net.minecraft.client.render中的方法 修饰符和类型 方法 说明 abstract Vec3dSkyProperties. adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.Vec3dSkyProperties.End. adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.Vec3dSkyProperties.Nether. adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.Vec3dSkyProperties.Overworld. adjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.voidWorldRenderer. method_32133(MatrixStack matrixStack, Vec3d vec3d, Matrix4f matrix4f)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 voidCamera. setPos(Vec3d pos) -
net.minecraft.client.render.block.entity中Vec3d的使用
参数类型为Vec3d的net.minecraft.client.render.block.entity中的方法 修饰符和类型 方法 说明 booleanBeaconBlockEntityRenderer. method_33892(BeaconBlockEntity beaconBlockEntity, Vec3d vec3d)default booleanBlockEntityRenderer. method_33892(T t, Vec3d vec3d) -
net.minecraft.client.render.chunk中Vec3d的使用
声明为Vec3d的net.minecraft.client.render.chunk中的字段 修饰符和类型 字段 说明 private Vec3dChunkBuilder. cameraPosition返回Vec3d的net.minecraft.client.render.chunk中的方法 修饰符和类型 方法 说明 Vec3dChunkBuilder. getCameraPosition()参数类型为Vec3d的net.minecraft.client.render.chunk中的方法 修饰符和类型 方法 说明 voidChunkBuilder. setCameraPosition(Vec3d cameraPosition) -
net.minecraft.client.render.debug中Vec3d的使用
声明为Vec3d的net.minecraft.client.render.debug中的字段 修饰符和类型 字段 说明 Vec3dGameEventDebugRenderer.Entry. field_28260参数类型为Vec3d的net.minecraft.client.render.debug中的构造器 构造器 说明 Entry(long long2, GameEvent gameEvent, Vec3d vec3d) -
net.minecraft.client.render.entity中Vec3d的使用
返回Vec3d的net.minecraft.client.render.entity中的方法 修饰符和类型 方法 说明 private Vec3dGuardianEntityRenderer. fromLerpedPosition(LivingEntity entity, double yOffset, float delta)Vec3dEndermanEntityRenderer. getPositionOffset(EndermanEntity endermanEntity, float float2)Vec3dEntityRenderer. getPositionOffset(T entity, float tickDelta)Vec3dItemFrameEntityRenderer. getPositionOffset(T t, float float2)Vec3dPlayerEntityRenderer. getPositionOffset(AbstractClientPlayerEntity abstractClientPlayerEntity, float float2)Vec3dShulkerEntityRenderer. getPositionOffset(ShulkerEntity shulkerEntity, float float2) -
net.minecraft.client.sound中Vec3d的使用
声明为Vec3d的net.minecraft.client.sound中的字段 修饰符和类型 字段 说明 private Vec3dSoundListener. pos返回Vec3d的net.minecraft.client.sound中的方法 修饰符和类型 方法 说明 Vec3dSoundListener. getPos()参数类型为Vec3d的net.minecraft.client.sound中的方法 修饰符和类型 方法 说明 voidSoundListener. setPosition(Vec3d position)voidSource. setPosition(Vec3d vec3d) -
net.minecraft.client.world中Vec3d的使用
返回Vec3d的net.minecraft.client.world中的方法 修饰符和类型 方法 说明 Vec3dClientWorld. getCloudsColor(float tickDelta)Vec3dClientWorld. method_23777(Vec3d vec3d, float float2)参数类型为Vec3d的net.minecraft.client.world中的方法 修饰符和类型 方法 说明 Vec3dClientWorld. method_23777(Vec3d vec3d, float float2) -
net.minecraft.command中Vec3d的使用
类型参数类型为Vec3d的net.minecraft.command中的字段 修饰符和类型 字段 说明 static BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. ARBITRARYstatic BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. FURTHESTstatic BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. NEARESTprivate Function<Vec3d,Vec3d>EntitySelector. positionOffsetprivate Function<Vec3d,Vec3d>EntitySelector. positionOffsetstatic BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. RANDOMprivate BiConsumer<Vec3d,List<? extends Entity>>EntitySelector. sorterprivate BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. sorter返回变量类型为Vec3d的类型的net.minecraft.command中的方法 修饰符和类型 方法 说明 BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. getSorter()参数类型为Vec3d的net.minecraft.command中的方法 修饰符和类型 方法 说明 private voidEntitySelector. 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)类型变量类型为Vec3d的net.minecraft.command中的方法参数 修饰符和类型 方法 说明 voidEntitySelectorReader. setSorter(BiConsumer<Vec3d,List<? extends Entity>> sorter)类型变量类型为Vec3d的net.minecraft.command中的构造器参数 构造器 说明 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) -
net.minecraft.command.argument中Vec3d的使用
类型参数类型为Vec3d的net.minecraft.command.argument中的字段 修饰符和类型 字段 说明 private BiFunction<Vec3d,Entity,Vec3d>EntityAnchorArgumentType.EntityAnchor. offsetprivate BiFunction<Vec3d,Entity,Vec3d>EntityAnchorArgumentType.EntityAnchor. offset返回Vec3d的net.minecraft.command.argument中的方法 修饰符和类型 方法 说明 static Vec3dVec3ArgumentType. getVec3(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)Vec3dEntityAnchorArgumentType.EntityAnchor. positionAt(Entity entity)Vec3dEntityAnchorArgumentType.EntityAnchor. positionAt(ServerCommandSource serverCommandSource)Vec3dDefaultPosArgument. toAbsolutePos(ServerCommandSource source)Vec3dLookingPosArgument. toAbsolutePos(ServerCommandSource source)Vec3dPosArgument. toAbsolutePos(ServerCommandSource source)类型变量类型为Vec3d的net.minecraft.command.argument中的构造器参数 构造器 说明 EntityAnchor(String id, BiFunction<Vec3d,Entity,Vec3d> offset)EntityAnchor(String id, BiFunction<Vec3d,Entity,Vec3d> offset) -
net.minecraft.entity中Vec3d的使用
声明为Vec3d的net.minecraft.entity中的字段 修饰符和类型 字段 说明 protected Vec3dEntity. movementMultiplierprivate Vec3dEntity. posprivate Vec3dEntity. trackedPositionprivate Vec3dEntity. velocity返回Vec3d的net.minecraft.entity中的方法 修饰符和类型 方法 说明 static 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 @Nullable Vec3dDismounting. findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos)Vec3dEntity. getCameraPosVec(float tickDelta)Vec3dEntity. getClientCameraPosVec(float tickDelta)Vec3dEntity. getEyePos()Vec3dEntity. getLeashOffset()Vec3dEntity. getLerpedPos(float delta)Vec3dEntity. getOppositeRotationVector(float tickDelta)protected Vec3dEntity. getOppositeRotationVector(float pitch, float yaw)protected static Vec3dEntity. getPassengerDismountOffset(double vehicleWidth, double passengerWidth, float passengerYaw)Vec3dEntity. getPos()Vec3dEntity. getRotationVec(float tickDelta)Vec3dEntity. getRotationVecClient()Vec3dEntity. getRotationVector()protected Vec3dEntity. getRotationVector(float pitch, float yaw)Vec3dEntity. getTrackedPosition()Vec3dEntity. getVelocity()Vec3dLivingEntity. method_26317(double double2, boolean bool, Vec3d vec3d)Vec3dLivingEntity. method_26318(Vec3d vec3d, float float2)Vec3dEntity. 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)Vec3dEntity. updatePassengerForDismount(LivingEntity passenger)参数类型为Vec3d的net.minecraft.entity中的方法 修饰符和类型 方法 说明 static 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)BoxEntityDimensions. getBoxAt(Vec3d pos)default Vec3fCrossbowUser. getProjectileLaunchVelocity(LivingEntity entity, Vec3d positionDelta, float multishotSpray)ActionResultEntity. interactAt(PlayerEntity player, Vec3d hitPos, Hand hand)voidEntity. lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)voidLivingEntity. lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)Vec3dLivingEntity. method_26317(double double2, boolean bool, Vec3d vec3d)Vec3dLivingEntity. 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)static doubleEntity. squaredHorizontalLength(Vec3d vector)default booleanItemSteerable. travel(MobEntity entity, SaddledComponent saddledEntity, Vec3d movementInput)voidLivingEntity. travel(Vec3d movementInput)voidEntity. updateTrackedPosition(Vec3d pos)voidEntity. updateVelocity(float speed, Vec3d movementInput)private static booleanExperienceOrbEntity. wasMergedIntoExistingOrb(ServerWorld world, Vec3d pos, int amount) -
net.minecraft.entity.ai中Vec3d的使用
返回Vec3d的net.minecraft.entity.ai中的方法 修饰符和类型 方法 说明 static @Nullable Vec3dAboveGroundTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, double x, double z, float angle, int maxAboveSolid, int minAboveSolid)static @Nullable Vec3dFuzzyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange)static @Nullable Vec3dFuzzyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer)static @Nullable Vec3dNoPenaltySolidTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, double rangeAngle)static @Nullable Vec3dNoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange)static @Nullable Vec3dNoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction)static @Nullable Vec3dNoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange)static @Nullable Vec3dNoWaterTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange)static @Nullable Vec3dFuzzyTargeting. findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start)static @Nullable Vec3dFuzzyTargeting. findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end)private static @Nullable Vec3dFuzzyTargeting. findValid(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction, boolean posTargetInRange)static @Nullable Vec3dFuzzyPositions. 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.static @Nullable Vec3dFuzzyPositions. guessBestPathTarget(PathAwareEntity entity, Supplier<BlockPos> factory)CallsFuzzyPositions.guessBest(Supplier, ToDoubleFunction)with theentity's path finding favor as thescorer.参数类型为Vec3d的net.minecraft.entity.ai中的方法 修饰符和类型 方法 说明 static @Nullable Vec3dNoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction)static @Nullable Vec3dNoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange)static @Nullable Vec3dNoWaterTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange)static @Nullable Vec3dFuzzyTargeting. findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start)static @Nullable Vec3dFuzzyTargeting. findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end)private static @Nullable Vec3dFuzzyTargeting. findValid(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction, boolean posTargetInRange) -
net.minecraft.entity.ai.brain中Vec3d的使用
声明为Vec3d的net.minecraft.entity.ai.brain中的字段 修饰符和类型 字段 说明 private Vec3dBlockPosLookTarget. pos返回Vec3d的net.minecraft.entity.ai.brain中的方法 修饰符和类型 方法 说明 Vec3dBlockPosLookTarget. getPos()Vec3dEntityLookTarget. getPos()Vec3dLookTarget. getPos()参数类型为Vec3d的net.minecraft.entity.ai.brain中的构造器 构造器 说明 WalkTarget(Vec3d pos, float speed, int completionRange) -
net.minecraft.entity.ai.brain.task中Vec3d的使用
类型参数类型为Vec3d的net.minecraft.entity.ai.brain.task中的字段 修饰符和类型 字段 说明 private Function<T,Vec3d>GoToRememberedPositionTask. posRetriever返回Vec3d的net.minecraft.entity.ai.brain.task中的方法 修饰符和类型 方法 说明 private @Nullable Vec3dSeekSkyTask. findNearbySky(ServerWorld world, LivingEntity entity)private Vec3dGoToRememberedPositionTask. getPos(PathAwareEntity entity)static @Nullable Vec3dLookTargetUtil. method_33193(PathAwareEntity pathAwareEntity, int int2, int int3)protected Vec3dAquaticStrollTask. method_33201(PathAwareEntity pathAwareEntity)protected @Nullable Vec3dStrollTask. method_33201(PathAwareEntity pathAwareEntity)参数类型为Vec3d的net.minecraft.entity.ai.brain.task中的方法 修饰符和类型 方法 说明 static voidLookTargetUtil. give(LivingEntity entity, ItemStack stack, Vec3d targetLocation)private static voidGoToRememberedPositionTask. setWalkTarget(PathAwareEntity entity, Vec3d pos, float speed)类型变量类型为Vec3d的net.minecraft.entity.ai.brain.task中的构造器参数 构造器 说明 GoToRememberedPositionTask(MemoryModuleType<T> memoryType, float speed, int range, boolean requiresWalkTarget, Function<T,Vec3d> posRetriever) -
net.minecraft.entity.ai.control中Vec3d的使用
参数类型为Vec3d的net.minecraft.entity.ai.control中的方法 修饰符和类型 方法 说明 voidLookControl. lookAt(Vec3d direction) -
net.minecraft.entity.ai.goal中Vec3d的使用
返回Vec3d的net.minecraft.entity.ai.goal中的方法 修饰符和类型 方法 说明 private @Nullable Vec3dFlyOntoTreeGoal. getTreeTarget()protected @Nullable Vec3dFlyOntoTreeGoal. getWanderTarget()protected @Nullable Vec3dIronGolemWanderAroundGoal. getWanderTarget()protected @Nullable Vec3dSwimAroundGoal. getWanderTarget()protected @Nullable Vec3dWanderAroundFarGoal. getWanderTarget()protected @Nullable Vec3dWanderAroundGoal. getWanderTarget()protected @Nullable Vec3dWanderAroundPointOfInterestGoal. getWanderTarget()protected @Nullable Vec3dEscapeSunlightGoal. locateShadedPos()private @Nullable Vec3dIronGolemWanderAroundGoal. method_27925()private @Nullable Vec3dIronGolemWanderAroundGoal. method_27926()private @Nullable Vec3dIronGolemWanderAroundGoal. method_27927() -
net.minecraft.entity.ai.pathing中Vec3d的使用
声明为Vec3d的net.minecraft.entity.ai.pathing中的字段 修饰符和类型 字段 说明 protected Vec3dEntityNavigation. pathStartPos返回Vec3d的net.minecraft.entity.ai.pathing中的方法 修饰符和类型 方法 说明 Vec3dPath. getNodePosition(Entity entity)Vec3dPath. 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 purposesprotected Vec3dSwimNavigation. getPos()The position to act as if the entity is at for pathfinding purposesVec3dPathNode. getVec3d()参数类型为Vec3d的net.minecraft.entity.ai.pathing中的方法 修饰符和类型 方法 说明 private booleanMobNavigation. 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 booleanMobNavigation. allVisibleAreSafe(int centerX, int centerY, int centerZ, int xSize, int ySize, int zSize, 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. method_27799(Vec3d vec3d) -
net.minecraft.entity.boss中Vec3d的使用
参数类型为Vec3d的net.minecraft.entity.boss中的方法 修饰符和类型 方法 说明 voidWitherEntity. slowMovement(BlockState state, Vec3d multiplier) -
net.minecraft.entity.boss.dragon中Vec3d的使用
返回Vec3d的net.minecraft.entity.boss.dragon中的方法 修饰符和类型 方法 说明 Vec3dEnderDragonEntity. getRotationVectorFromPhase(float tickDelta) -
net.minecraft.entity.boss.dragon.phase中Vec3d的使用
声明为Vec3d的net.minecraft.entity.boss.dragon.phase中的字段 修饰符和类型 字段 说明 private Vec3dChargingPlayerPhase. pathTargetprivate Vec3dHoldingPatternPhase. pathTargetprivate Vec3dLandingApproachPhase. pathTargetprivate Vec3dStrafePlayerPhase. pathTargetprivate Vec3dTakeoffPhase. pathTargetprivate Vec3dDyingPhase. targetprivate Vec3dHoverPhase. targetprivate Vec3dLandingPhase. target返回Vec3d的net.minecraft.entity.boss.dragon.phase中的方法 修饰符和类型 方法 说明 @Nullable Vec3dAbstractPhase. getPathTarget()@Nullable Vec3dChargingPlayerPhase. getPathTarget()@Nullable Vec3dDyingPhase. getPathTarget()@Nullable Vec3dHoldingPatternPhase. getPathTarget()@Nullable Vec3dHoverPhase. getPathTarget()@Nullable Vec3dLandingApproachPhase. getPathTarget()@Nullable Vec3dLandingPhase. getPathTarget()@Nullable Vec3dPhase. getPathTarget()@Nullable Vec3dStrafePlayerPhase. getPathTarget()@Nullable Vec3dTakeoffPhase. getPathTarget()参数类型为Vec3d的net.minecraft.entity.boss.dragon.phase中的方法 修饰符和类型 方法 说明 voidChargingPlayerPhase. setPathTarget(Vec3d pathTarget) -
net.minecraft.entity.damage中Vec3d的使用
返回Vec3d的net.minecraft.entity.damage中的方法 修饰符和类型 方法 说明 @Nullable Vec3dDamageSource. getPosition()@Nullable Vec3dEntityDamageSource. getPosition() -
net.minecraft.entity.decoration中Vec3d的使用
返回Vec3d的net.minecraft.entity.decoration中的方法 修饰符和类型 方法 说明 Vec3dArmorStandEntity. getClientCameraPosVec(float tickDelta)Vec3dLeashKnotEntity. method_30951(float float2)参数类型为Vec3d的net.minecraft.entity.decoration中的方法 修饰符和类型 方法 说明 ActionResultArmorStandEntity. interactAt(PlayerEntity player, Vec3d hitPos, Hand hand)voidAbstractDecorationEntity. move(MovementType movementType, Vec3d movement)voidItemFrameEntity. move(MovementType movementType, Vec3d movement)private EquipmentSlotArmorStandEntity. slotFromPosition(Vec3d vec3d)voidArmorStandEntity. travel(Vec3d movementInput) -
net.minecraft.entity.mob中Vec3d的使用
声明为Vec3d的net.minecraft.entity.mob中的字段 修饰符和类型 字段 说明 private Vec3d[][]IllusionerEntity. field_7297private Vec3dPhantomEntity. targetPosition返回Vec3d的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 private static Vec3dPiglinBrain. findGround(PiglinEntity piglin)Vec3dShulkerEntity. getVelocity()private @Nullable Vec3dDrownedEntity.WanderAroundOnSurfaceGoal. getWanderTarget()Vec3d[]IllusionerEntity. method_7065(float float2)返回变量类型为Vec3d的类型的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 Optional<Vec3d>ShulkerEntity. method_33352(float float2)参数类型为Vec3d的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 private 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)voidDrownedEntity. travel(Vec3d movementInput)voidFlyingEntity. travel(Vec3d movementInput)voidGuardianEntity. travel(Vec3d movementInput)private booleanGhastEntity.GhastMoveControl. willCollide(Vec3d direction, int steps) -
net.minecraft.entity.passive中Vec3d的使用
声明为Vec3d的net.minecraft.entity.passive中的字段 修饰符和类型 字段 说明 private Vec3dBeeEntity.PollinateGoal. nextTargetprivate Vec3dPandaEntity. playingJump返回Vec3d的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 private Vec3dSquidEntity. applyBodyRotations(Vec3d shootVector)Vec3dBeeEntity. getLeashOffset()Vec3dFoxEntity. getLeashOffset()Vec3dIronGolemEntity. getLeashOffset()Vec3dLlamaEntity. getLeashOffset()Vec3dOcelotEntity. getLeashOffset()Vec3dParrotEntity. getLeashOffset()Vec3dPigEntity. getLeashOffset()Vec3dRabbitEntity. getLeashOffset()Vec3dSnowGolemEntity. getLeashOffset()Vec3dStriderEntity. getLeashOffset()Vec3dWolfEntity. getLeashOffset()private @Nullable Vec3dBeeEntity.BeeWanderAroundGoal. getRandomLocation()private @Nullable Vec3dHorseBaseEntity. method_27930(Vec3d vec3d, LivingEntity livingEntity)Vec3dMerchantEntity. method_30951(float float2)Vec3dHorseBaseEntity. updatePassengerForDismount(LivingEntity passenger)Vec3dPigEntity. updatePassengerForDismount(LivingEntity passenger)Vec3dStriderEntity. updatePassengerForDismount(LivingEntity passenger)参数类型为Vec3d的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 private Vec3dSquidEntity. applyBodyRotations(Vec3d shootVector)private @Nullable Vec3dHorseBaseEntity. method_27930(Vec3d vec3d, LivingEntity livingEntity)voidPigEntity. setMovementInput(Vec3d movementInput)voidStriderEntity. setMovementInput(Vec3d movementInput)voidAxolotlEntity. travel(Vec3d movementInput)voidDolphinEntity. travel(Vec3d movementInput)voidFishEntity. travel(Vec3d movementInput)voidHorseBaseEntity. travel(Vec3d movementInput)voidPigEntity. travel(Vec3d movementInput)voidSquidEntity. travel(Vec3d movementInput)voidStriderEntity. travel(Vec3d movementInput)voidTurtleEntity. travel(Vec3d movementInput) -
net.minecraft.entity.player中Vec3d的使用
返回Vec3d的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 protected Vec3dPlayerEntity. adjustMovementForSneaking(Vec3d movement, MovementType type)Vec3dPlayerEntity. method_30951(float float2)返回变量类型为Vec3d的类型的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 static Optional<Vec3d>PlayerEntity. findRespawnPosition(ServerWorld world, BlockPos pos, float float2, boolean bool, boolean bool2)参数类型为Vec3d的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 protected Vec3dPlayerEntity. adjustMovementForSneaking(Vec3d movement, MovementType type)voidPlayerEntity. slowMovement(BlockState state, Vec3d multiplier)voidPlayerEntity. travel(Vec3d movementInput) -
net.minecraft.entity.projectile中Vec3d的使用
参数类型为Vec3d的net.minecraft.entity.projectile中的方法 修饰符和类型 方法 说明 protected @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)voidPersistentProjectileEntity. move(MovementType movementType, Vec3d movement)static @Nullable EntityHitResultProjectileUtil. raycast(Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate, double double2) -
net.minecraft.entity.vehicle中Vec3d的使用
返回Vec3d的net.minecraft.entity.vehicle中的方法 修饰符和类型 方法 说明 Vec3dCommandBlockMinecartEntity.CommandExecutor. getPos()protected Vec3dAbstractMinecartEntity. positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)protected Vec3dBoatEntity. positionInPortal(Direction.Axis portalAxis, PortalUtil.Rectangle portalRect)@Nullable Vec3dAbstractMinecartEntity. snapPositionToRail(double x, double y, double z)@Nullable Vec3dAbstractMinecartEntity. 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.Vec3dAbstractMinecartEntity. updatePassengerForDismount(LivingEntity passenger)Vec3dBoatEntity. updatePassengerForDismount(LivingEntity passenger) -
net.minecraft.fluid中Vec3d的使用
返回Vec3d的net.minecraft.fluid中的方法 修饰符和类型 方法 说明 Vec3dEmptyFluid. getVelocity(BlockView world, BlockPos pos, FluidState state)Vec3dFlowableFluid. getVelocity(BlockView world, BlockPos pos, FluidState state)protected abstract Vec3dFluid. getVelocity(BlockView world, BlockPos pos, FluidState state)Vec3dFluidState. getVelocity(BlockView world, BlockPos pos) -
net.minecraft.item中Vec3d的使用
返回Vec3d的net.minecraft.item中的方法 修饰符和类型 方法 说明 Vec3dItemUsageContext. getHitPos()参数类型为Vec3d的net.minecraft.item中的方法 修饰符和类型 方法 说明 Optional<MobEntity>SpawnEggItem. spawnBaby(PlayerEntity user, MobEntity entity, EntityType<? extends MobEntity> entityType, ServerWorld world, Vec3d pos, ItemStack stack) -
net.minecraft.loot.context中Vec3d的使用
类型参数类型为Vec3d的net.minecraft.loot.context中的字段 修饰符和类型 字段 说明 static LootContextParameter<Vec3d>LootContextParameters. ORIGIN -
net.minecraft.network.packet.c2s.play中Vec3d的使用
声明为Vec3d的net.minecraft.network.packet.c2s.play中的字段 修饰符和类型 字段 说明 private Vec3dPlayerInteractEntityC2SPacket.InteractAtHandler. pos参数类型为Vec3d的net.minecraft.network.packet.c2s.play中的方法 修饰符和类型 方法 说明 voidPlayerInteractEntityC2SPacket.Handler. interactAt(Hand hand, Vec3d pos)static PlayerInteractEntityC2SPacketPlayerInteractEntityC2SPacket. interactAt(Entity entity, boolean playerSneaking, Hand hand, Vec3d pos)参数类型为Vec3d的net.minecraft.network.packet.c2s.play中的构造器 构造器 说明 InteractAtHandler(Hand hand, Vec3d pos) -
net.minecraft.network.packet.s2c.play中Vec3d的使用
返回Vec3d的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 Vec3dEntityS2CPacket. calculateDeltaPosition(Vec3d orig)static Vec3dEntityS2CPacket. decodePacketCoordinates(long x, long y, long z)@Nullable Vec3dLookAtS2CPacket. getTargetPosition(World world)参数类型为Vec3d的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 Vec3dEntityS2CPacket. calculateDeltaPosition(Vec3d orig)参数类型为Vec3d的net.minecraft.network.packet.s2c.play中的构造器 构造器 说明 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) -
net.minecraft.predicate.entity中Vec3d的使用
参数类型为Vec3d的net.minecraft.predicate.entity中的方法 修饰符和类型 方法 说明 booleanDamageSourcePredicate. test(ServerWorld world, Vec3d pos, DamageSource damageSource)booleanEntityPredicate. test(ServerWorld world, @Nullable Vec3d pos, @Nullable Entity entity) -
net.minecraft.server.command中Vec3d的使用
声明为Vec3d的net.minecraft.server.command中的字段 修饰符和类型 字段 说明 private Vec3dServerCommandSource. positionprivate Vec3dTeleportCommand.LookTarget. targetPos返回Vec3d的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 Vec3dServerCommandSource. getPosition()参数类型为Vec3d的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 private 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, CompoundTag nbt, boolean initialize)private static intLootCommand. executeSpawn(ServerCommandSource source, Vec3d pos, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender)ServerCommandSourceServerCommandSource. withLookingAt(Vec3d position)ServerCommandSourceServerCommandSource. withPosition(Vec3d position)参数类型为Vec3d的net.minecraft.server.command中的构造器 构造器 说明 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) -
net.minecraft.server.network中Vec3d的使用
声明为Vec3d的net.minecraft.server.network中的字段 修饰符和类型 字段 说明 private @Nullable Vec3dServerPlayerEntity. enteredNetherPosprivate Vec3dServerPlayerEntity. levitationStartPosprivate @Nullable Vec3dServerPlayNetworkHandler. requestedTeleportPosprivate Vec3dEntityTrackerEntry. velocity返回Vec3d的net.minecraft.server.network中的方法 修饰符和类型 方法 说明 Vec3dEntityTrackerEntry. getLastPos()Decodes lastX/Y/Z into a position vector参数类型为Vec3d的net.minecraft.server.network中的方法 修饰符和类型 方法 说明 voidServerPlayerEntity. lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) -
net.minecraft.structure中Vec3d的使用
声明为Vec3d的net.minecraft.structure中的字段 修饰符和类型 字段 说明 Vec3dStructure.StructureEntityInfo. pos返回Vec3d的net.minecraft.structure中的方法 修饰符和类型 方法 说明 static Vec3dStructure. transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)参数类型为Vec3d的net.minecraft.structure中的方法 修饰符和类型 方法 说明 static Vec3dStructure. transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)参数类型为Vec3d的net.minecraft.structure中的构造器 构造器 说明 StructureEntityInfo(Vec3d pos, BlockPos blockPos, CompoundTag nbt) -
net.minecraft.test中Vec3d的使用
返回Vec3d的net.minecraft.test中的方法 修饰符和类型 方法 说明 Vec3dTestContext. getAbsolute(Vec3d pos)参数类型为Vec3d的net.minecraft.test中的方法 修饰符和类型 方法 说明 Vec3dTestContext. getAbsolute(Vec3d pos)<E extends Entity>
ETestContext. spawnEntity(EntityType<E> type, Vec3d pos)<E extends MobEntity>
ETestContext. spawnMob(EntityType<E> type, Vec3d pos) -
net.minecraft.util中Vec3d的使用
返回Vec3d的net.minecraft.util中的方法 修饰符和类型 方法 说明 Vec3dCubicSampler.RgbFetcher. fetch(int x, int y, int z)static Vec3dCubicSampler. sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher)参数类型为Vec3d的net.minecraft.util中的方法 修饰符和类型 方法 说明 static Vec3dCubicSampler. sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher) -
net.minecraft.util.hit中Vec3d的使用
声明为Vec3d的net.minecraft.util.hit中的字段 修饰符和类型 字段 说明 protected Vec3dHitResult. pos返回Vec3d的net.minecraft.util.hit中的方法 修饰符和类型 方法 说明 Vec3dHitResult. getPos()参数类型为Vec3d的net.minecraft.util.hit中的方法 修饰符和类型 方法 说明 static BlockHitResultBlockHitResult. createMissed(Vec3d pos, Direction side, BlockPos blockPos)参数类型为Vec3d的net.minecraft.util.hit中的构造器 构造器 说明 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) -
net.minecraft.util.math中Vec3d的使用
声明为Vec3d的net.minecraft.util.math中的字段 修饰符和类型 字段 说明 static Vec3dVec3d. ZERO返回Vec3d的net.minecraft.util.math中的方法 修饰符和类型 方法 说明 Vec3dVec3d. add(double x, double y, double z)Vec3dVec3d. add(Vec3d vec)Vec3dVec3d. crossProduct(Vec3d vec)Vec3dVec3d. floorAlongAxes(EnumSet<Direction.Axis> axes)static Vec3dVec3d. fromPolar(float pitch, float yaw)static Vec3dVec3d. fromPolar(Vec2f polar)Vec3dBox. getCenter()static Vec3dMathHelper. method_34946(Vec3d vec3d, Vec3d vec3d2, Vec3d vec3d3, Vec3d vec3d4, double double2)Vec3dVec3d. method_35590(Vec3d vec3d, double double2)Vec3dVec3d. multiply(double mult)Vec3dVec3d. multiply(double multX, double multY, double multZ)Vec3dVec3d. multiply(Vec3d mult)Vec3dVec3d. negate()Vec3dVec3d. normalize()static Vec3dVec3d. of(Vec3i vec)static Vec3dVec3d. ofBottomCenter(Vec3i vec)static Vec3dVec3d. ofCenter(Vec3i vec)static Vec3dVec3d. ofCenter(Vec3i vec, double deltaY)Vec3dVec3d. reverseSubtract(Vec3d vec)Vec3dVec3d. rotateX(float angle)Vec3dVec3d. rotateY(float angle)Vec3dVec3d. rotateZ(float angle)Vec3dVec3d. subtract(double x, double y, double z)Vec3dVec3d. subtract(Vec3d vec)static Vec3dVec3d. unpackRgb(int rgb)返回变量类型为Vec3d的类型的net.minecraft.util.math中的方法 修饰符和类型 方法 说明 Optional<Vec3d>Box. raycast(Vec3d min, Vec3d max)参数类型为Vec3d的net.minecraft.util.math中的方法 修饰符和类型 方法 说明 Vec3dVec3d. add(Vec3d vec)booleanBox. contains(Vec3d vec)Vec3dVec3d. crossProduct(Vec3d vec)doubleVec3d. distanceTo(Vec3d vec)doubleVec3d. dotProduct(Vec3d vec)static BoxBox. from(Vec3d vec3d)booleanBox. intersects(Vec3d from, Vec3d to)static booleanMathHelper. method_34945(Vec3d vec3d, Vec3d vec3d2, Box box)static Vec3dMathHelper. method_34946(Vec3d vec3d, Vec3d vec3d2, Vec3d vec3d3, Vec3d vec3d4, double double2)Vec3dVec3d. method_35590(Vec3d vec3d, double double2)Vec3dVec3d. multiply(Vec3d mult)static BoxBox. of(Vec3d center, double dx, double dy, double dz)BoxBox. offset(Vec3d vec3d)static @Nullable BlockHitResultBox. raycast(Iterable<Box> boxes, Vec3d from, Vec3d to, BlockPos pos)Optional<Vec3d>Box. raycast(Vec3d min, Vec3d max)Vec3dVec3d. reverseSubtract(Vec3d vec)doubleVec3d. squaredDistanceTo(Vec3d vec)BoxBox. stretch(Vec3d scale)Vec3dVec3d. subtract(Vec3d vec)private static @Nullable DirectionBox. traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double xDelta, double yDelta, double zDelta)参数类型为Vec3d的net.minecraft.util.math中的构造器 构造器 说明 BlockPos(Vec3d pos)Box(Vec3d pos1, Vec3d pos2)Vec3f(Vec3d other) -
net.minecraft.util.shape中Vec3d的使用
返回变量类型为Vec3d的类型的net.minecraft.util.shape中的方法 修饰符和类型 方法 说明 Optional<Vec3d>VoxelShape. method_33661(Vec3d vec3d)参数类型为Vec3d的net.minecraft.util.shape中的方法 修饰符和类型 方法 说明 Optional<Vec3d>VoxelShape. method_33661(Vec3d vec3d)@Nullable BlockHitResultVoxelShape. raycast(Vec3d start, Vec3d end, BlockPos pos) -
net.minecraft.village中Vec3d的使用
返回Vec3d的net.minecraft.village中的方法 修饰符和类型 方法 说明 private @Nullable Vec3dZombieSiegeManager. getSpawnVector(ServerWorld world, BlockPos pos) -
net.minecraft.world中Vec3d的使用
声明为Vec3d的net.minecraft.world中的字段 修饰符和类型 字段 说明 private Vec3dBlockStateRaycastContext. endprivate Vec3dRaycastContext. endVec3dTeleportTarget. positionprivate Vec3dBlockStateRaycastContext. startprivate Vec3dRaycastContext. startVec3dTeleportTarget. velocity返回Vec3d的net.minecraft.world中的方法 修饰符和类型 方法 说明 Vec3dBlockStateRaycastContext. getEnd()Vec3dRaycastContext. getEnd()abstract Vec3dCommandBlockExecutor. getPos()Vec3dBlockStateRaycastContext. getStart()Vec3dRaycastContext. getStart()返回变量类型为Vec3d的类型的net.minecraft.world中的方法 修饰符和类型 方法 说明 default Optional<Vec3d>CollisionView. method_33594(@Nullable Entity entity, VoxelShape voxelShape, Vec3d vec3d, double double2, double double3, double double4)参数类型为Vec3d的net.minecraft.world中的方法 修饰符和类型 方法 说明 default Optional<Vec3d>CollisionView. 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)参数类型为Vec3d的net.minecraft.world中的构造器 构造器 说明 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) -
net.minecraft.world.dimension中Vec3d的使用
返回Vec3d的net.minecraft.world.dimension中的方法 修饰符和类型 方法 说明 static Vec3dAreaHelper. entityPosInPortal(PortalUtil.Rectangle portalRect, Direction.Axis portalAxis, Vec3d entityPos, EntityDimensions entityDimensions)参数类型为Vec3d的net.minecraft.world.dimension中的方法 修饰符和类型 方法 说明 static 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) -
net.minecraft.world.explosion中Vec3d的使用
类型参数类型为Vec3d的net.minecraft.world.explosion中的字段 修饰符和类型 字段 说明 private Map<PlayerEntity,Vec3d>Explosion. affectedPlayers返回变量类型为Vec3d的类型的net.minecraft.world.explosion中的方法 修饰符和类型 方法 说明 Map<PlayerEntity,Vec3d>Explosion. getAffectedPlayers()参数类型为Vec3d的net.minecraft.world.explosion中的方法 修饰符和类型 方法 说明 static floatExplosion. getExposure(Vec3d source, Entity entity) -
net.minecraft.world.gen.feature中Vec3d的使用
声明为Vec3d的net.minecraft.world.gen.feature中的字段 修饰符和类型 字段 说明 private @Nullable Vec3dLargeDripstoneFeature.WindModifier. wind
-