类的使用
net.minecraft.entity.ai.TargetPredicate
-
-
net.minecraft.entity中TargetPredicate的使用
参数类型为TargetPredicate的net.minecraft.entity中的方法 修饰符和类型 方法 说明 booleanLivingEntity. isTarget(LivingEntity entity, TargetPredicate predicate) -
net.minecraft.entity.ai中TargetPredicate的使用
声明为TargetPredicate的net.minecraft.entity.ai中的字段 修饰符和类型 字段 说明 static TargetPredicateTargetPredicate. DEFAULT返回TargetPredicate的net.minecraft.entity.ai中的方法 修饰符和类型 方法 说明 TargetPredicateTargetPredicate. copy()TargetPredicateTargetPredicate. ignoreDistanceScalingFactor()TargetPredicateTargetPredicate. ignoreEntityTargetRules()TargetPredicateTargetPredicate. includeHidden()TargetPredicateTargetPredicate. includeInvulnerable()TargetPredicateTargetPredicate. includeTeammates()TargetPredicateTargetPredicate. setBaseMaxDistance(double baseMaxDistance)TargetPredicateTargetPredicate. setPredicate(@Nullable Predicate<LivingEntity> predicate) -
net.minecraft.entity.ai.brain.sensor中TargetPredicate的使用
声明为TargetPredicate的net.minecraft.entity.ai.brain.sensor中的字段 修饰符和类型 字段 说明 private static TargetPredicateSensor. TARGET_PREDICATEprivate static TargetPredicateSensor. TARGET_PREDICATE_IGNORE_DISTANCE_SCALINGprivate static TargetPredicateTemptationsSensor. TEMPTER_PREDICATE -
net.minecraft.entity.ai.goal中TargetPredicate的使用
声明为TargetPredicate的net.minecraft.entity.ai.goal中的字段 修饰符和类型 字段 说明 private static TargetPredicateIronGolemLookGoal. CLOSE_VILLAGER_PREDICATEprivate TargetPredicateTemptGoal. predicateprotected TargetPredicateFollowTargetGoal. targetPredicateprotected TargetPredicateLookAtEntityGoal. targetPredicateprivate TargetPredicateTrackIronGolemTargetGoal. targetPredicateprivate static TargetPredicateTemptGoal. TEMPTING_ENTITY_PREDICATEprivate static TargetPredicateRevengeGoal. VALID_AVOIDABLES_PREDICATEprivate static TargetPredicateAnimalMateGoal. VALID_MATE_PREDICATEprivate TargetPredicateWolfBegGoal. validPlayerPredicateprivate TargetPredicateFleeEntityGoal. withinRangePredicate参数类型为TargetPredicate的net.minecraft.entity.ai.goal中的方法 修饰符和类型 方法 说明 protected booleanTrackTargetGoal. canTrack(@Nullable LivingEntity target, TargetPredicate targetPredicate) -
net.minecraft.entity.boss中TargetPredicate的使用
声明为TargetPredicate的net.minecraft.entity.boss中的字段 修饰符和类型 字段 说明 private static TargetPredicateWitherEntity. HEAD_TARGET_PREDICATE -
net.minecraft.entity.boss.dragon中TargetPredicate的使用
声明为TargetPredicate的net.minecraft.entity.boss.dragon中的字段 修饰符和类型 字段 说明 private static TargetPredicateEnderDragonEntity. CLOSE_PLAYER_PREDICATE -
net.minecraft.entity.boss.dragon.phase中TargetPredicate的使用
声明为TargetPredicate的net.minecraft.entity.boss.dragon.phase中的字段 修饰符和类型 字段 说明 private TargetPredicateSittingScanningPhase. CLOSE_PLAYER_PREDICATEprivate static TargetPredicateSittingScanningPhase. PLAYER_WITHIN_RANGE_PREDICATEprivate static TargetPredicateHoldingPatternPhase. PLAYERS_IN_RANGE_PREDICATEprivate static TargetPredicateLandingApproachPhase. PLAYERS_IN_RANGE_PREDICATE -
net.minecraft.entity.mob中TargetPredicate的使用
声明为TargetPredicate的net.minecraft.entity.mob中的字段 修饰符和类型 字段 说明 private TargetPredicateEvokerEntity.SummonVexGoal. closeVexPredicateprivate TargetPredicateEvokerEntity.WololoGoal. convertibleSheepPredicateprivate TargetPredicatePhantomEntity.FindTargetGoal. PLAYERS_IN_RANGE_PREDICATEprivate TargetPredicateEndermanEntity.TeleportTowardsPlayerGoal. staringPlayerPredicateprivate TargetPredicateVexEntity.TrackOwnerTargetGoal. TRACK_OWNER_PREDICATEprivate TargetPredicateEndermanEntity.TeleportTowardsPlayerGoal. validTargetPredicate -
net.minecraft.entity.passive中TargetPredicate的使用
声明为TargetPredicate的net.minecraft.entity.passive中的字段 修饰符和类型 字段 说明 private static TargetPredicatePandaEntity. ASK_FOR_BAMBOO_TARGETprivate static TargetPredicateBatEntity. CLOSE_PLAYER_PREDICATEprivate static TargetPredicateDolphinEntity. CLOSE_PLAYER_PREDICATEprivate static TargetPredicateHorseBaseEntity. PARENT_HORSE_PREDICATEprivate TargetPredicateFoxEntity.CalmDownGoal. WORRIABLE_ENTITY_PREDICATE -
net.minecraft.entity.raid中TargetPredicate的使用
声明为TargetPredicate的net.minecraft.entity.raid中的字段 修饰符和类型 字段 说明 TargetPredicateRaiderEntity.PatrolApproachGoal. closeRaiderPredicate -
net.minecraft.world中TargetPredicate的使用
参数类型为TargetPredicate的net.minecraft.world中的方法 修饰符和类型 方法 说明 default <T extends LivingEntity>
TEntityView. getClosestEntity(Class<? extends T> entityClass, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z, Box box)default <T extends LivingEntity>
TEntityView. getClosestEntity(List<? extends T> entityList, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z)default @Nullable PlayerEntityEntityView. getClosestPlayer(TargetPredicate targetPredicate, double x, double y, double z)default @Nullable PlayerEntityEntityView. getClosestPlayer(TargetPredicate targetPredicate, LivingEntity entity)default @Nullable PlayerEntityEntityView. getClosestPlayer(TargetPredicate targetPredicate, LivingEntity entity, double x, double y, double z)default List<PlayerEntity>EntityView. getPlayers(TargetPredicate targetPredicate, LivingEntity entity, Box box)default <T extends LivingEntity>
List<T>EntityView. getTargets(Class<T> entityClass, TargetPredicate targetPredicate, LivingEntity targetingEntity, Box box)
-