Uses of Class
net.minecraft.entity.ai.TargetPredicate
Packages that use TargetPredicate
Package
Description
The base package for all Minecraft classes.
-
Uses of TargetPredicate in net.minecraft
Fields in net.minecraft declared as TargetPredicateModifier and TypeFieldDescriptionprivate TargetPredicateclass_6336.field_33466private TargetPredicateclass_6338.field_33477Constructors in net.minecraft with parameters of type TargetPredicateModifierConstructorDescriptionclass_6336(int int2, int int3, int int4, float float2, TargetPredicate targetPredicate, int int5, Function<E,SoundEvent> function)class_6338(UniformIntProvider uniformIntProvider, TargetPredicate targetPredicate, Function<E,Integer> function, float float2, Function<E,Float> function2, Function<E,SoundEvent> function3) -
Uses of TargetPredicate in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type TargetPredicateModifier and TypeMethodDescriptionbooleanLivingEntity.isTarget(LivingEntity entity, TargetPredicate predicate) -
Uses of TargetPredicate in net.minecraft.entity.ai
Fields in net.minecraft.entity.ai declared as TargetPredicateMethods in net.minecraft.entity.ai that return TargetPredicateModifier and TypeMethodDescriptionTargetPredicate.copy()TargetPredicate.ignoreDistanceScalingFactor()TargetPredicate.ignoreEntityTargetRules()TargetPredicate.includeHidden()TargetPredicate.includeInvulnerable()TargetPredicate.includeTeammates()TargetPredicate.setBaseMaxDistance(double baseMaxDistance)TargetPredicate.setPredicate(@Nullable Predicate<LivingEntity> predicate) -
Uses of TargetPredicate in net.minecraft.entity.ai.brain.sensor
Fields in net.minecraft.entity.ai.brain.sensor declared as TargetPredicateModifier and TypeFieldDescriptionprivate static TargetPredicateSensor.TARGET_PREDICATEprivate static TargetPredicateprivate static TargetPredicateTemptationsSensor.TEMPTER_PREDICATE -
Uses of TargetPredicate in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as TargetPredicateModifier and TypeFieldDescriptionprivate 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.withinRangePredicateMethods in net.minecraft.entity.ai.goal with parameters of type TargetPredicateModifier and TypeMethodDescriptionprotected booleanTrackTargetGoal.canTrack(@Nullable LivingEntity target, TargetPredicate targetPredicate) -
Uses of TargetPredicate in net.minecraft.entity.boss
Fields in net.minecraft.entity.boss declared as TargetPredicateModifier and TypeFieldDescriptionprivate static TargetPredicateWitherEntity.HEAD_TARGET_PREDICATE -
Uses of TargetPredicate in net.minecraft.entity.boss.dragon
Fields in net.minecraft.entity.boss.dragon declared as TargetPredicateModifier and TypeFieldDescriptionprivate static TargetPredicateEnderDragonEntity.CLOSE_PLAYER_PREDICATE -
Uses of TargetPredicate in net.minecraft.entity.boss.dragon.phase
Fields in net.minecraft.entity.boss.dragon.phase declared as TargetPredicateModifier and TypeFieldDescriptionprivate TargetPredicateSittingScanningPhase.CLOSE_PLAYER_PREDICATEprivate static TargetPredicateSittingScanningPhase.PLAYER_WITHIN_RANGE_PREDICATEprivate static TargetPredicateHoldingPatternPhase.PLAYERS_IN_RANGE_PREDICATEprivate static TargetPredicateLandingApproachPhase.PLAYERS_IN_RANGE_PREDICATE -
Uses of TargetPredicate in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as TargetPredicateModifier and TypeFieldDescriptionprivate TargetPredicateEvokerEntity.SummonVexGoal.closeVexPredicateprivate TargetPredicateEvokerEntity.WololoGoal.convertibleSheepPredicateprivate TargetPredicatePhantomEntity.FindTargetGoal.PLAYERS_IN_RANGE_PREDICATEprivate TargetPredicateEndermanEntity.TeleportTowardsPlayerGoal.staringPlayerPredicateprivate TargetPredicateVexEntity.TrackOwnerTargetGoal.TRACK_OWNER_PREDICATEprivate TargetPredicateEndermanEntity.TeleportTowardsPlayerGoal.validTargetPredicate -
Uses of TargetPredicate in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as TargetPredicateModifier and TypeFieldDescriptionprivate static TargetPredicatePandaEntity.ASK_FOR_BAMBOO_TARGETprivate static TargetPredicateBatEntity.CLOSE_PLAYER_PREDICATEprivate static TargetPredicateDolphinEntity.CLOSE_PLAYER_PREDICATEprivate static TargetPredicateGoatBrain.field_33500private static TargetPredicateHorseBaseEntity.PARENT_HORSE_PREDICATEprivate TargetPredicateFoxEntity.CalmDownGoal.WORRIABLE_ENTITY_PREDICATE -
Uses of TargetPredicate in net.minecraft.entity.raid
Fields in net.minecraft.entity.raid declared as TargetPredicate -
Uses of TargetPredicate in net.minecraft.world
Methods in net.minecraft.world with parameters of type TargetPredicateModifier and TypeMethodDescriptiondefault <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)