Uses of Class
net.minecraft.entity.ai.TargetPredicate
Package
Description
-
Uses of TargetPredicate in net.minecraft.entity
Modifier and TypeMethodDescriptionboolean
LivingEntity.isTarget(LivingEntity entity, TargetPredicate predicate)
-
Uses of TargetPredicate in net.minecraft.entity.ai
Modifier and TypeMethodDescriptionTargetPredicate.copy()
static TargetPredicate
TargetPredicate.createAttackable()
static TargetPredicate
TargetPredicate.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
Modifier and TypeFieldDescriptionprivate static TargetPredicate
Sensor.field_33762
private static TargetPredicate
Sensor.field_33763
private static TargetPredicate
Sensor.TARGET_PREDICATE
private static TargetPredicate
private static TargetPredicate
TemptationsSensor.TEMPTER_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate TargetPredicate
PrepareRamTask.targetPredicate
private 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<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
Modifier and TypeFieldDescriptionprivate 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
Modifier and TypeMethodDescriptionprotected boolean
TrackTargetGoal.canTrack(@Nullable LivingEntity target, TargetPredicate targetPredicate)
-
Uses of TargetPredicate in net.minecraft.entity.boss
Modifier and TypeFieldDescriptionprivate static TargetPredicate
WitherEntity.HEAD_TARGET_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.boss.dragon
Modifier and TypeFieldDescriptionprivate static TargetPredicate
EnderDragonEntity.CLOSE_PLAYER_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.boss.dragon.phase
Modifier and TypeFieldDescriptionprivate 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
Modifier and TypeFieldDescriptionprivate 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
Modifier and TypeFieldDescription(package private) static TargetPredicate
PandaEntity.ASK_FOR_BAMBOO_TARGET
(package private) static TargetPredicate
PufferfishEntity.BLOW_UP_TARGET_PREDICATE
private static TargetPredicate
BatEntity.CLOSE_PLAYER_PREDICATE
(package private) static TargetPredicate
DolphinEntity.CLOSE_PLAYER_PREDICATE
private static TargetPredicate
HorseBaseEntity.PARENT_HORSE_PREDICATE
private static TargetPredicate
GoatBrain.RAM_TARGET_PREDICATE
private TargetPredicate
FoxEntity.CalmDownGoal.WORRIABLE_ENTITY_PREDICATE
-
Uses of TargetPredicate in net.minecraft.entity.raid
-
Uses of TargetPredicate in net.minecraft.world
Modifier 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 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)