Uses of Class
net.minecraft.entity.ai.TargetPredicate
Packages that use TargetPredicate
Package
Description
-
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()static TargetPredicateTargetPredicate.createAttackable()static TargetPredicateTargetPredicate.createNonAttackable()TargetPredicate.ignoreDistanceScalingFactor()TargetPredicate.setBaseMaxDistance(double baseMaxDistance)TargetPredicate.setPredicate(@Nullable Predicate<LivingEntity> predicate)TargetPredicate.visibleOnly() -
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.field_33762private static TargetPredicateSensor.field_33763private static TargetPredicateSensor.TARGET_PREDICATEprivate static TargetPredicateprivate static TargetPredicateTemptationsSensor.TEMPTER_PREDICATE -
Uses of TargetPredicate in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as TargetPredicateModifier and TypeFieldDescriptionprivate TargetPredicatePrepareRamTask.targetPredicateprivate TargetPredicateRamImpactTask.targetPredicateConstructors in net.minecraft.entity.ai.brain.task with parameters of type TargetPredicateModifierConstructorDescriptionPrepareRamTask(ToIntFunction<E> cooldownFactory, int minDistance, int maxDistance, float speed, TargetPredicate targetPredicate, int prepareTime, Function<E,SoundEvent> soundFactory)Creates a ram preparation task.RamImpactTask(Function<E,UniformIntProvider> cooldownRangeFactory, TargetPredicate targetPredicate, ToIntFunction<E> damage, float speed, ToDoubleFunction<E> strengthMultiplierFactory, Function<E,SoundEvent> soundFactory) -
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 TypeFieldDescription(package private) static TargetPredicatePandaEntity.ASK_FOR_BAMBOO_TARGET(package private) static TargetPredicatePufferfishEntity.BLOW_UP_TARGET_PREDICATEprivate static TargetPredicateBatEntity.CLOSE_PLAYER_PREDICATE(package private) static TargetPredicateDolphinEntity.CLOSE_PLAYER_PREDICATEprivate static TargetPredicateHorseBaseEntity.PARENT_HORSE_PREDICATEprivate static TargetPredicateGoatBrain.RAM_TARGET_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)