类的使用
net.minecraft.entity.mob.PathAwareEntity
-
使用PathAwareEntity的程序包 程序包 说明 net.minecraft The base package for all Minecraft classes.net.minecraft.entity.ai net.minecraft.entity.ai.brain.sensor net.minecraft.entity.ai.brain.task net.minecraft.entity.ai.goal net.minecraft.entity.boss net.minecraft.entity.mob net.minecraft.entity.passive net.minecraft.entity.raid -
-
net.minecraft中PathAwareEntity的使用
参数类型为PathAwareEntity的net.minecraft中的方法 修饰符和类型 方法 说明 protected voidclass_6028. keepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected voidclass_6028. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected booleanclass_6028. shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) -
net.minecraft.entity.ai中PathAwareEntity的使用
参数类型为PathAwareEntity的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. guessBestPathTarget(PathAwareEntity entity, Supplier<BlockPos> factory)CallsFuzzyPositions.guessBest(Supplier, ToDoubleFunction)with theentity's path finding favor as thescorer.static booleanNavigationConditions. hasPathfindingPenalty(PathAwareEntity entity, BlockPos pos)static booleanNavigationConditions. isHeightInvalid(BlockPos pos, PathAwareEntity entity)static booleanNavigationConditions. isPositionTargetInRange(PathAwareEntity entity, int extraDistance)static booleanNavigationConditions. isPositionTargetOutOfWalkRange(boolean posTargetInRange, PathAwareEntity entity, BlockPos pos)static booleanNavigationConditions. isSolidAt(PathAwareEntity entity, BlockPos pos)static booleanNavigationConditions. isWaterAt(PathAwareEntity entity, BlockPos pos)static BlockPosFuzzyPositions. towardTarget(PathAwareEntity entity, int horizontalRange, Random random, BlockPos fuzz)static @Nullable BlockPosFuzzyTargeting. tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos)static @Nullable BlockPosNoPenaltySolidTargeting. tryMake(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, double rangeAngle, boolean posTargetInRange)private static @Nullable BlockPosNoPenaltyTargeting. tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz)static @Nullable BlockPosFuzzyTargeting. validate(PathAwareEntity entity, BlockPos pos) -
net.minecraft.entity.ai.brain.sensor中PathAwareEntity的使用
参数类型为PathAwareEntity的net.minecraft.entity.ai.brain.sensor中的方法 修饰符和类型 方法 说明 protected voidTemptationsSensor. sense(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) -
net.minecraft.entity.ai.brain.task中PathAwareEntity的使用
参数类型为PathAwareEntity的net.minecraft.entity.ai.brain.task中的方法 修饰符和类型 方法 说明 protected voidTemptTask. finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)private Map<LivingEntity,Integer>PlayWithVillagerBabiesTask. getBabyInteractionTargetCounts(PathAwareEntity entity)private Optional<LivingEntity>PlayWithVillagerBabiesTask. getLeastPopularBabyInteractionTarget(PathAwareEntity entity)private Vec3dGoToRememberedPositionTask. getPos(PathAwareEntity entity)protected floatTemptTask. getSpeed(PathAwareEntity entity)private Optional<PlayerEntity>TemptTask. getTemptingPlayer(PathAwareEntity entity)private Optional<LivingEntity>PlayWithVillagerBabiesTask. getVisibleMob(PathAwareEntity entity)private List<LivingEntity>PlayWithVillagerBabiesTask. getVisibleVillagerBabies(PathAwareEntity entity)private booleanPlayWithVillagerBabiesTask. hasVisibleVillagerBabies(PathAwareEntity entity)private booleanGoToRememberedPositionTask. isWalkTargetPresentAndFar(PathAwareEntity entity)protected voidTemptTask. keepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)static @Nullable Vec3dLookTargetUtil. method_33193(PathAwareEntity pathAwareEntity, int int2, int int3)protected Vec3dAquaticStrollTask. method_33201(PathAwareEntity pathAwareEntity)protected @Nullable Vec3dStrollTask. method_33201(PathAwareEntity pathAwareEntity)protected voidFindPointOfInterestTask. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected voidFindWalkTargetTask. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected voidGoToIfNearbyTask. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected voidGoToNearbyPositionTask. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected voidGoToRememberedPositionTask. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected voidPlayWithVillagerBabiesTask. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected voidSeekWaterTask. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected voidStrollTask. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected voidTemptTask. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected voidWanderIndoorsTask. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)private voidPlayWithVillagerBabiesTask. setGroundTarget(ServerWorld world, PathAwareEntity entity, LivingEntity unusedBaby)private static voidPlayWithVillagerBabiesTask. setPlayTarget(PathAwareEntity entity, LivingEntity target)private static voidGoToRememberedPositionTask. setWalkTarget(PathAwareEntity entity, Vec3d pos, float speed)protected booleanTemptTask. shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)protected booleanAquaticStrollTask. shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)protected booleanFindPointOfInterestTask. shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)protected booleanGoToIfNearbyTask. shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)protected booleanGoToNearbyPositionTask. shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)protected booleanGoToRememberedPositionTask. shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)protected booleanPlayWithVillagerBabiesTask. shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)protected booleanRunAroundAfterRaidTask. shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)protected booleanSeekWaterTask. shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)protected booleanWanderIndoorsTask. shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)private voidFindWalkTargetTask. updateWalkTarget(PathAwareEntity entity)private voidFindWalkTargetTask. updateWalkTarget(PathAwareEntity entity, ChunkSectionPos pos) -
net.minecraft.entity.ai.goal中PathAwareEntity的使用
声明为PathAwareEntity的net.minecraft.entity.ai.goal中的字段 修饰符和类型 字段 说明 private PathAwareEntityAvoidSunlightGoal. mobprivate PathAwareEntityBreatheAirGoal. mobprivate PathAwareEntityChaseBoatGoal. mobprotected PathAwareEntityEscapeDangerGoal. mobprotected PathAwareEntityEscapeSunlightGoal. mobprotected PathAwareEntityFleeEntityGoal. mobprivate PathAwareEntityGoToVillageGoal. mobprivate PathAwareEntityGoToWalkTargetGoal. mobprotected PathAwareEntityMeleeAttackGoal. mobprivate PathAwareEntityMoveIntoWaterGoal. mobprotected PathAwareEntityMoveThroughVillageGoal. mobprotected PathAwareEntityMoveToTargetPosGoal. mobprotected PathAwareEntityTemptGoal. mobprotected PathAwareEntityWanderAroundGoal. mobprivate PathAwareEntityWanderNearTargetGoal. mob参数类型为PathAwareEntity的net.minecraft.entity.ai.goal中的方法 修饰符和类型 方法 说明 protected intGoToOwnerAndPurrGoal. getInterval(PathAwareEntity mob)protected intMoveToTargetPosGoal. getInterval(PathAwareEntity mob)参数类型为PathAwareEntity的net.minecraft.entity.ai.goal中的构造器 构造器 说明 AvoidSunlightGoal(PathAwareEntity mob)BreatheAirGoal(PathAwareEntity mob)ChaseBoatGoal(PathAwareEntity mob)EscapeDangerGoal(PathAwareEntity mob, double speed)EscapeSunlightGoal(PathAwareEntity mob, double speed)FleeEntityGoal(PathAwareEntity mob, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed)FleeEntityGoal(PathAwareEntity fleeingEntity, Class<T> classToFleeFrom, float fleeDistance, double fleeSlowSpeed, double fleeFastSpeed, Predicate<LivingEntity> inclusionSelector)FleeEntityGoal(PathAwareEntity mob, Class<T> fleeFromType, Predicate<LivingEntity> extraInclusionSelector, float distance, double slowSpeed, double fastSpeed, Predicate<LivingEntity> inclusionSelector)FlyOntoTreeGoal(PathAwareEntity mob, double speed)GoToVillageGoal(PathAwareEntity mob, int searchRange)GoToWalkTargetGoal(PathAwareEntity mob, double speed)IronGolemWanderAroundGoal(PathAwareEntity mob, double speed)MeleeAttackGoal(PathAwareEntity mob, double speed, boolean pauseWhenMobIdle)MoveIntoWaterGoal(PathAwareEntity mob)MoveThroughVillageGoal(PathAwareEntity entity, double speed, boolean requiresNighttime, int distance, BooleanSupplier doorPassingThroughGetter)MoveToTargetPosGoal(PathAwareEntity mob, double speed, int range)MoveToTargetPosGoal(PathAwareEntity mob, double speed, int range, int maxYDifference)RevengeGoal(PathAwareEntity mob, Class<?>[] noRevengeTypes)StepAndDestroyBlockGoal(Block targetBlock, PathAwareEntity mob, double speed, int maxYDifference)SwimAroundGoal(PathAwareEntity mob, double speed, int chance)TemptGoal(PathAwareEntity entity, double speed, Ingredient food, boolean canBeScared)WanderAroundFarGoal(PathAwareEntity mob, double speed)WanderAroundFarGoal(PathAwareEntity mob, double speed, float probability)WanderAroundGoal(PathAwareEntity mob, double speed)WanderAroundGoal(PathAwareEntity mob, double speed, int chance)WanderAroundGoal(PathAwareEntity entity, double speed, int chance, boolean bool)WanderAroundPointOfInterestGoal(PathAwareEntity entity, double speed, boolean bool)WanderNearTargetGoal(PathAwareEntity mob, double speed, float maxDistance) -
net.minecraft.entity.boss中PathAwareEntity的使用
net.minecraft.entity.boss中PathAwareEntity的子类 修饰符和类型 类 说明 classWitherEntity -
net.minecraft.entity.mob中PathAwareEntity的使用
net.minecraft.entity.mob中PathAwareEntity的子类 修饰符和类型 类 说明 classAbstractPiglinEntityclassAbstractSkeletonEntityclassBlazeEntityclassCaveSpiderEntityclassCreeperEntityclassDrownedEntityclassElderGuardianEntityclassEndermanEntityclassEndermiteEntityclassEvokerEntityclassGiantEntityclassGuardianEntityclassHoglinEntityclassHostileEntityclassHuskEntityclassIllagerEntityclassIllusionerEntityclassPatrolEntityclassPiglinBruteEntityclassPiglinEntityclassPillagerEntityclassRavagerEntityclassShulkerEntityclassSilverfishEntityclassSkeletonEntityclassSkeletonHorseEntityclassSpellcastingIllagerEntityclassSpiderEntityclassStrayEntityclassVexEntityclassVindicatorEntityclassWaterCreatureEntityclassWitchEntityclassWitherSkeletonEntityclassZoglinEntityclassZombieEntityclassZombieHorseEntityclassZombieVillagerEntityclassZombifiedPiglinEntity声明为PathAwareEntity的net.minecraft.entity.mob中的字段 修饰符和类型 字段 说明 private PathAwareEntityDrownedEntity.WanderAroundOnSurfaceGoal. mob参数类型为PathAwareEntity的net.minecraft.entity.mob中的构造器 构造器 说明 DestroyEggGoal(PathAwareEntity mob, double speed, int maxYDifference)TrackOwnerTargetGoal(PathAwareEntity mob)WanderAroundOnSurfaceGoal(PathAwareEntity mob, double speed)类型变量类型为PathAwareEntity的net.minecraft.entity.mob中的构造器参数 构造器 说明 PathAwareEntity(EntityType<? extends PathAwareEntity> type, World world) -
net.minecraft.entity.passive中PathAwareEntity的使用
net.minecraft.entity.passive中PathAwareEntity的子类 修饰符和类型 类 说明 classAbstractDonkeyEntityclassAnimalEntityclassAxolotlEntityclassBeeEntityclassCatEntityMeow.classChickenEntityclassCodEntityclassCowEntityclassDolphinEntityclassDonkeyEntityclassFishEntityclassFoxEntityclassGlowSquidEntityclassGoatEntityclassGolemEntityclassHorseBaseEntityclassHorseEntityclassIronGolemEntityclassLlamaEntityclassMerchantEntityclassMooshroomEntityclassMuleEntityclassOcelotEntityclassPandaEntityclassParrotEntityclassPassiveEntityclassPigEntityclassPolarBearEntityclassPufferfishEntityclassRabbitEntityclassSalmonEntityclassSchoolingFishEntityclassSheepEntityclassSnowGolemEntityclassSquidEntityclassStriderEntityclassTameableEntityclassTameableShoulderEntityclassTraderLlamaEntityclassTropicalFishEntityclassTurtleEntityclassVillagerEntityclassWanderingTraderEntityclassWolfEntity参数类型为PathAwareEntity的net.minecraft.entity.passive中的构造器 构造器 说明 StingGoal(PathAwareEntity mob, double speed, boolean pauseWhenMobIdle) -
net.minecraft.entity.raid中PathAwareEntity的使用
net.minecraft.entity.raid中PathAwareEntity的子类 修饰符和类型 类 说明 classRaiderEntity
-