Uses of Class
net.minecraft.entity.ai.TargetPredicate
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of TargetPredicate in net.minecraft.entity.ai
Modifier and TypeMethodDescriptionTargetPredicate.copy()
static TargetPredicate
TargetPredicate.createAttackable()
static TargetPredicate
TargetPredicate.createNonAttackable()
TargetPredicate.ignoreDistanceScalingFactor()
TargetPredicate.ignoreVisibility()
TargetPredicate.setBaseMaxDistance
(double baseMaxDistance) TargetPredicate.setPredicate
(@Nullable TargetPredicate.EntityPredicate predicate) -
Uses of TargetPredicate in net.minecraft.entity.ai.brain.sensor
Modifier and TypeFieldDescriptionprivate static final TargetPredicate
Sensor.ATTACKABLE_TARGET_PREDICATE
private static final TargetPredicate
private static final TargetPredicate
private static final TargetPredicate
private static final TargetPredicate
Sensor.TARGET_PREDICATE
private static final TargetPredicate
private static final TargetPredicate
TemptationsSensor.TEMPTER_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate final TargetPredicate
PrepareRamTask.targetPredicate
private final TargetPredicate
RamImpactTask.targetPredicate
ModifierConstructorDescriptionPrepareRamTask
(ToIntFunction<E> cooldownFactory, int minDistance, int maxDistance, float speed, TargetPredicate targetPredicate, int prepareTime, Function<E, SoundEvent> soundFactory) Creates a ram preparation task.RamImpactTask
(Function<GoatEntity, UniformIntProvider> cooldownRangeFactory, TargetPredicate targetPredicate, float speed, ToDoubleFunction<GoatEntity> strengthMultiplierFactory, Function<GoatEntity, SoundEvent> impactSoundFactory, Function<GoatEntity, SoundEvent> hornBreakSoundFactory) -
Uses of TargetPredicate in net.minecraft.entity.ai.goal
Modifier and TypeFieldDescriptionprivate static final TargetPredicate
IronGolemLookGoal.CLOSE_VILLAGER_PREDICATE
private final TargetPredicate
TemptGoal.predicate
protected TargetPredicate
ActiveTargetGoal.targetPredicate
protected final TargetPredicate
LookAtEntityGoal.targetPredicate
private final TargetPredicate
TrackIronGolemTargetGoal.targetPredicate
private static final TargetPredicate
TemptGoal.TEMPTING_ENTITY_PREDICATE
private static final TargetPredicate
RevengeGoal.VALID_AVOIDABLES_PREDICATE
private static final TargetPredicate
AnimalMateGoal.VALID_MATE_PREDICATE
private final TargetPredicate
WolfBegGoal.validPlayerPredicate
private final TargetPredicate
FleeEntityGoal.withinRangePredicate
Modifier and TypeMethodDescriptionprivate TargetPredicate
ActiveTargetGoal.getAndUpdateTargetPredicate()
Modifier and TypeMethodDescriptionprotected boolean
TrackTargetGoal.canTrack
(@Nullable LivingEntity target, TargetPredicate targetPredicate) -
Uses of TargetPredicate in net.minecraft.entity.boss
Modifier and TypeFieldDescriptionprivate static final TargetPredicate
WitherEntity.HEAD_TARGET_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.boss.dragon
Modifier and TypeFieldDescriptionprivate static final TargetPredicate
EnderDragonEntity.CLOSE_PLAYER_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.boss.dragon.phase
Modifier and TypeFieldDescriptionprivate final TargetPredicate
SittingScanningPhase.CLOSE_PLAYER_PREDICATE
private static final TargetPredicate
SittingScanningPhase.PLAYER_WITHIN_RANGE_PREDICATE
private static final TargetPredicate
HoldingPatternPhase.PLAYERS_IN_RANGE_PREDICATE
private static final TargetPredicate
LandingApproachPhase.PLAYERS_IN_RANGE_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.mob
Modifier and TypeFieldDescriptionprivate final TargetPredicate
EvokerEntity.SummonVexGoal.closeVexPredicate
private final TargetPredicate
EvokerEntity.WololoGoal.convertibleSheepPredicate
private final TargetPredicate
PhantomEntity.FindTargetGoal.PLAYERS_IN_RANGE_PREDICATE
private final TargetPredicate
EndermanEntity.TeleportTowardsPlayerGoal.staringPlayerPredicate
private final TargetPredicate
VexEntity.TrackOwnerTargetGoal.targetPredicate
private final TargetPredicate
EndermanEntity.TeleportTowardsPlayerGoal.validTargetPredicate
Modifier and TypeMethodDescription(package private) boolean
PhantomEntity.testTargetPredicate
(ServerWorld world, LivingEntity target, TargetPredicate predicate) -
Uses of TargetPredicate in net.minecraft.entity.passive
Modifier and TypeFieldDescription(package private) static final TargetPredicate
PandaEntity.ASK_FOR_BAMBOO_TARGET
(package private) static final TargetPredicate
PufferfishEntity.BLOW_UP_TARGET_PREDICATE
private static final TargetPredicate
BatEntity.CLOSE_PLAYER_PREDICATE
(package private) static final TargetPredicate
DolphinEntity.CLOSE_PLAYER_PREDICATE
private static final TargetPredicate
AbstractHorseEntity.PARENT_HORSE_PREDICATE
private static final TargetPredicate
GoatBrain.RAM_TARGET_PREDICATE
private final TargetPredicate
FoxEntity.CalmDownGoal.WORRIABLE_ENTITY_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.raid
Modifier and TypeFieldDescriptionfinal TargetPredicate
RaiderEntity.PatrolApproachGoal.closeRaiderPredicate
-
Uses of TargetPredicate in net.minecraft.world
Modifier and TypeMethodDescriptiondefault <T extends LivingEntity>
TEntityLookupView.getClosestEntity
(Class<? extends T> clazz, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z, Box box) default <T extends LivingEntity>
TEntityLookupView.getClosestEntity
(List<? extends T> entities, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z) default @Nullable PlayerEntity
EntityLookupView.getClosestPlayer
(TargetPredicate targetPredicate, double x, double y, double z) default @Nullable PlayerEntity
EntityLookupView.getClosestPlayer
(TargetPredicate targetPredicate, LivingEntity entity) default @Nullable PlayerEntity
EntityLookupView.getClosestPlayer
(TargetPredicate targetPredicate, LivingEntity entity, double x, double y, double z) default List
<PlayerEntity> EntityLookupView.getPlayers
(TargetPredicate targetPredicate, LivingEntity entity, Box box) default <T extends LivingEntity>
List<T> EntityLookupView.getTargets
(Class<T> clazz, TargetPredicate targetPredicate, LivingEntity entity, Box box)