Uses of Class
net.minecraft.entity.ai.TargetPredicate
-
Uses of TargetPredicate in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type TargetPredicate Modifier and Type Method Description boolean
LivingEntity. isTarget(LivingEntity entity, TargetPredicate predicate)
-
Uses of TargetPredicate in net.minecraft.entity.ai
Fields in net.minecraft.entity.ai declared as TargetPredicate Modifier and Type Field Description static TargetPredicate
TargetPredicate. DEFAULT
Methods in net.minecraft.entity.ai that return TargetPredicate Modifier and Type Method Description TargetPredicate
TargetPredicate. copy()
TargetPredicate
TargetPredicate. ignoreDistanceScalingFactor()
TargetPredicate
TargetPredicate. ignoreEntityTargetRules()
TargetPredicate
TargetPredicate. includeHidden()
TargetPredicate
TargetPredicate. includeInvulnerable()
TargetPredicate
TargetPredicate. includeTeammates()
TargetPredicate
TargetPredicate. setBaseMaxDistance(double baseMaxDistance)
TargetPredicate
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 TargetPredicate Modifier and Type Field Description private static TargetPredicate
Sensor. TARGET_PREDICATE
private static TargetPredicate
Sensor. TARGET_PREDICATE_IGNORE_DISTANCE_SCALING
private static TargetPredicate
TemptationsSensor. TEMPTER_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as TargetPredicate Modifier and Type Field Description private static TargetPredicate
IronGolemLookGoal. CLOSE_VILLAGER_PREDICATE
private TargetPredicate
TemptGoal. predicate
protected TargetPredicate
FollowTargetGoal. targetPredicate
protected TargetPredicate
LookAtEntityGoal. targetPredicate
private TargetPredicate
TrackIronGolemTargetGoal. targetPredicate
private static TargetPredicate
TemptGoal. TEMPTING_ENTITY_PREDICATE
private static TargetPredicate
RevengeGoal. VALID_AVOIDABLES_PREDICATE
private static TargetPredicate
AnimalMateGoal. VALID_MATE_PREDICATE
private TargetPredicate
WolfBegGoal. validPlayerPredicate
private TargetPredicate
FleeEntityGoal. withinRangePredicate
Methods in net.minecraft.entity.ai.goal with parameters of type TargetPredicate Modifier and Type Method Description protected boolean
TrackTargetGoal. canTrack(@Nullable LivingEntity target, TargetPredicate targetPredicate)
-
Uses of TargetPredicate in net.minecraft.entity.boss
Fields in net.minecraft.entity.boss declared as TargetPredicate Modifier and Type Field Description private static TargetPredicate
WitherEntity. HEAD_TARGET_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.boss.dragon
Fields in net.minecraft.entity.boss.dragon declared as TargetPredicate Modifier and Type Field Description private static TargetPredicate
EnderDragonEntity. CLOSE_PLAYER_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.boss.dragon.phase
Fields in net.minecraft.entity.boss.dragon.phase declared as TargetPredicate Modifier and Type Field Description private TargetPredicate
SittingScanningPhase. CLOSE_PLAYER_PREDICATE
private static TargetPredicate
SittingScanningPhase. PLAYER_WITHIN_RANGE_PREDICATE
private static TargetPredicate
HoldingPatternPhase. PLAYERS_IN_RANGE_PREDICATE
private static TargetPredicate
LandingApproachPhase. PLAYERS_IN_RANGE_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as TargetPredicate Modifier and Type Field Description private TargetPredicate
EvokerEntity.SummonVexGoal. closeVexPredicate
private TargetPredicate
EvokerEntity.WololoGoal. convertibleSheepPredicate
private TargetPredicate
PhantomEntity.FindTargetGoal. PLAYERS_IN_RANGE_PREDICATE
private TargetPredicate
EndermanEntity.TeleportTowardsPlayerGoal. staringPlayerPredicate
private TargetPredicate
VexEntity.TrackOwnerTargetGoal. TRACK_OWNER_PREDICATE
private TargetPredicate
EndermanEntity.TeleportTowardsPlayerGoal. validTargetPredicate
-
Uses of TargetPredicate in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as TargetPredicate Modifier and Type Field Description private static TargetPredicate
PandaEntity. ASK_FOR_BAMBOO_TARGET
private static TargetPredicate
BatEntity. CLOSE_PLAYER_PREDICATE
private static TargetPredicate
DolphinEntity. CLOSE_PLAYER_PREDICATE
private static TargetPredicate
HorseBaseEntity. PARENT_HORSE_PREDICATE
private TargetPredicate
FoxEntity.CalmDownGoal. WORRIABLE_ENTITY_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.raid
Fields in net.minecraft.entity.raid declared as TargetPredicate Modifier and Type Field Description TargetPredicate
RaiderEntity.PatrolApproachGoal. closeRaiderPredicate
-
Uses of TargetPredicate in net.minecraft.world
Methods in net.minecraft.world with parameters of type TargetPredicate Modifier and Type Method Description 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 PlayerEntity
EntityView. getClosestPlayer(TargetPredicate targetPredicate, double x, double y, double z)
default @Nullable PlayerEntity
EntityView. getClosestPlayer(TargetPredicate targetPredicate, LivingEntity entity)
default @Nullable PlayerEntity
EntityView. 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)