Uses of Class
net.minecraft.world.entity.ai.targeting.TargetingConditions
Packages that use TargetingConditions
Package
Description
-
Uses of TargetingConditions in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type TargetingConditionsModifier and TypeMethodDescriptionboolean
LivingEntity.canAttack
(LivingEntity pLivingentity, TargetingConditions pCondition) -
Uses of TargetingConditions in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as TargetingConditionsModifier and TypeFieldDescriptionprivate final TargetingConditions
PrepareRamNearestTarget.ramTargeting
private final TargetingConditions
RamTarget.ramTargeting
Constructors in net.minecraft.world.entity.ai.behavior with parameters of type TargetingConditionsModifierConstructorDescriptionPrepareRamNearestTarget
(ToIntFunction<E> pGetCooldownOnFall, int pMinRamDistance, int pMaxRamDistance, float pWalkSpeed, TargetingConditions pRamTargeting, int pRamPrepareTime, Function<E, SoundEvent> pGetPrepareRamSound) RamTarget
(Function<Goat, UniformInt> pGetTimeBetweenRams, TargetingConditions pRamTargeting, float pSpeed, ToDoubleFunction<Goat> pGetKnockbackForce, Function<Goat, SoundEvent> pGetImpactSound, Function<Goat, SoundEvent> pGetHornBreakSound) -
Uses of TargetingConditions in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal declared as TargetingConditionsModifier and TypeFieldDescriptionprivate final TargetingConditions
AvoidEntityGoal.avoidEntityTargeting
private final TargetingConditions
BegGoal.begTargeting
protected final TargetingConditions
LookAtPlayerGoal.lookAtContext
private static final TargetingConditions
OfferFlowerGoal.OFFER_TARGER_CONTEXT
private static final TargetingConditions
BreedGoal.PARTNER_TARGETING
private final TargetingConditions
TemptGoal.targetingConditions
private static final TargetingConditions
TemptGoal.TEMP_TARGETING
-
Uses of TargetingConditions in net.minecraft.world.entity.ai.goal.target
Fields in net.minecraft.world.entity.ai.goal.target declared as TargetingConditionsModifier and TypeFieldDescriptionprivate final TargetingConditions
DefendVillageTargetGoal.attackTargeting
private static final TargetingConditions
HurtByTargetGoal.HURT_BY_TARGETING
protected TargetingConditions
NearestAttackableTargetGoal.targetConditions
This filter is applied to the Entity search.Methods in net.minecraft.world.entity.ai.goal.target with parameters of type TargetingConditionsModifier and TypeMethodDescriptionprotected boolean
TargetGoal.canAttack
(LivingEntity pPotentialTarget, TargetingConditions pTargetPredicate) Checks if this is a suitable target. -
Uses of TargetingConditions in net.minecraft.world.entity.ai.sensing
Fields in net.minecraft.world.entity.ai.sensing declared as TargetingConditionsModifier and TypeFieldDescriptionprivate static final TargetingConditions
Sensor.ATTACK_TARGET_CONDITIONS
private static final TargetingConditions
private static final TargetingConditions
private static final TargetingConditions
private static final TargetingConditions
Sensor.TARGET_CONDITIONS
private static final TargetingConditions
private static final TargetingConditions
TemptingSensor.TEMPT_TARGETING
-
Uses of TargetingConditions in net.minecraft.world.entity.ai.targeting
Fields in net.minecraft.world.entity.ai.targeting declared as TargetingConditionsMethods in net.minecraft.world.entity.ai.targeting that return TargetingConditionsModifier and TypeMethodDescriptionTargetingConditions.copy()
static TargetingConditions
TargetingConditions.forCombat()
static TargetingConditions
TargetingConditions.forNonCombat()
TargetingConditions.ignoreInvisibilityTesting()
TargetingConditions.ignoreLineOfSight()
TargetingConditions.range
(double pDistance) TargetingConditions.selector
(Predicate<LivingEntity> pCustomPredicate) -
Uses of TargetingConditions in net.minecraft.world.entity.ambient
Fields in net.minecraft.world.entity.ambient declared as TargetingConditions -
Uses of TargetingConditions in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as TargetingConditionsModifier and TypeFieldDescriptionprivate final TargetingConditions
Fox.FoxBehaviorGoal.alertableTargeting
(package private) static final TargetingConditions
Panda.BREED_TARGETING
(package private) static final TargetingConditions
Dolphin.SWIM_WITH_PLAYER_TARGETING
(package private) static final TargetingConditions
Pufferfish.targetingConditions
-
Uses of TargetingConditions in net.minecraft.world.entity.animal.goat
Fields in net.minecraft.world.entity.animal.goat declared as TargetingConditionsModifier and TypeFieldDescriptionprivate static final TargetingConditions
GoatAi.RAM_TARGET_CONDITIONS
-
Uses of TargetingConditions in net.minecraft.world.entity.animal.horse
Fields in net.minecraft.world.entity.animal.horse declared as TargetingConditionsModifier and TypeFieldDescriptionprivate static final TargetingConditions
AbstractHorse.MOMMY_TARGETING
-
Uses of TargetingConditions in net.minecraft.world.entity.boss.enderdragon
Fields in net.minecraft.world.entity.boss.enderdragon declared as TargetingConditionsModifier and TypeFieldDescriptionprivate static final TargetingConditions
EnderDragon.CRYSTAL_DESTROY_TARGETING
-
Uses of TargetingConditions in net.minecraft.world.entity.boss.enderdragon.phases
Fields in net.minecraft.world.entity.boss.enderdragon.phases declared as TargetingConditionsModifier and TypeFieldDescriptionprivate static final TargetingConditions
DragonSittingScanningPhase.CHARGE_TARGETING
private static final TargetingConditions
DragonLandingApproachPhase.NEAR_EGG_TARGETING
private static final TargetingConditions
DragonHoldingPatternPhase.NEW_TARGET_TARGETING
private final TargetingConditions
DragonSittingScanningPhase.scanTargeting
-
Uses of TargetingConditions in net.minecraft.world.entity.boss.wither
Fields in net.minecraft.world.entity.boss.wither declared as TargetingConditionsModifier and TypeFieldDescriptionprivate static final TargetingConditions
WitherBoss.TARGETING_CONDITIONS
-
Uses of TargetingConditions in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as TargetingConditionsModifier and TypeFieldDescriptionprivate final TargetingConditions
Phantom.PhantomAttackPlayerTargetGoal.attackTargeting
private final TargetingConditions
EnderMan.EndermanLookForPlayerGoal.continueAggroTargetConditions
private final TargetingConditions
Vex.VexCopyOwnerTargetGoal.copyOwnerTargeting
private final TargetingConditions
EnderMan.EndermanLookForPlayerGoal.startAggroTargetConditions
private final TargetingConditions
Evoker.EvokerSummonSpellGoal.vexCountTargeting
private final TargetingConditions
Evoker.EvokerWololoSpellGoal.wololoTargeting
-
Uses of TargetingConditions in net.minecraft.world.entity.raid
Fields in net.minecraft.world.entity.raid declared as TargetingConditionsModifier and TypeFieldDescriptionfinal TargetingConditions
Raider.HoldGroundAttackGoal.shoutTargeting
-
Uses of TargetingConditions in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type TargetingConditionsModifier and TypeMethodDescriptiondefault <T extends LivingEntity>
List<T> EntityGetter.getNearbyEntities
(Class<T> pEntityClazz, TargetingConditions pEntityPredicate, LivingEntity pEntity, AABB pArea) EntityGetter.getNearbyPlayers
(TargetingConditions pPredicate, LivingEntity pTarget, AABB pArea) default <T extends LivingEntity>
TEntityGetter.getNearestEntity
(Class<? extends T> pEntityClazz, TargetingConditions pConditions, LivingEntity pTarget, double pX, double pY, double pZ, AABB pBoundingBox) default <T extends LivingEntity>
TEntityGetter.getNearestEntity
(List<? extends T> pEntities, TargetingConditions pPredicate, LivingEntity pTarget, double pX, double pY, double pZ) default Player
EntityGetter.getNearestPlayer
(TargetingConditions pPredicate, double pX, double pY, double pZ) default Player
EntityGetter.getNearestPlayer
(TargetingConditions pPredicate, LivingEntity pTarget) default Player
EntityGetter.getNearestPlayer
(TargetingConditions pPredicate, LivingEntity pTarget, double pX, double pY, double pZ)