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 TypeMethodDescriptionbooleanLivingEntity.canAttack(LivingEntity livingentity, TargetingConditions condition) -
Uses of TargetingConditions in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as TargetingConditionsModifier and TypeFieldDescriptionprivate final TargetingConditionsPrepareRamNearestTarget.ramTargetingprivate final TargetingConditionsRamTarget.ramTargetingConstructors in net.minecraft.world.entity.ai.behavior with parameters of type TargetingConditionsModifierConstructorDescriptionPrepareRamNearestTarget(ToIntFunction<E> getCooldownOnFall, int minRamDistance, int maxRamDistance, float walkSpeed, TargetingConditions ramTargeting, int ramPrepareTime, Function<E, SoundEvent> getPrepareRamSound) RamTarget(Function<Goat, UniformInt> getTimeBetweenRams, TargetingConditions ramTargeting, float speed, ToDoubleFunction<Goat> getKnockbackForce, Function<Goat, SoundEvent> getImpactSound, Function<Goat, SoundEvent> getHornBreakSound) -
Uses of TargetingConditions in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal declared as TargetingConditionsModifier and TypeFieldDescriptionprivate final TargetingConditionsAvoidEntityGoal.avoidEntityTargetingprivate final TargetingConditionsBegGoal.begTargetingprotected final TargetingConditionsLookAtPlayerGoal.lookAtContextprivate static final TargetingConditionsOfferFlowerGoal.OFFER_TARGER_CONTEXTprivate static final TargetingConditionsBreedGoal.PARTNER_TARGETINGprivate final TargetingConditionsTemptGoal.targetingConditionsprivate static final TargetingConditionsTemptGoal.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 TargetingConditionsDefendVillageTargetGoal.attackTargetingprivate static final TargetingConditionsHurtByTargetGoal.HURT_BY_TARGETINGprotected TargetingConditionsNearestAttackableTargetGoal.targetConditionsThis filter is applied to the Entity search.Methods in net.minecraft.world.entity.ai.goal.target with parameters of type TargetingConditionsModifier and TypeMethodDescriptionprotected booleanTargetGoal.canAttack(LivingEntity potentialTarget, TargetingConditions targetPredicate) 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 TargetingConditionsSensor.ATTACK_TARGET_CONDITIONSprivate static final TargetingConditionsprivate static final TargetingConditionsprivate static final TargetingConditionsprivate static final TargetingConditionsSensor.TARGET_CONDITIONSprivate static final TargetingConditionsprivate static final TargetingConditionsTemptingSensor.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 TargetingConditionsTargetingConditions.forCombat()static TargetingConditionsTargetingConditions.forNonCombat()TargetingConditions.ignoreInvisibilityTesting()TargetingConditions.ignoreLineOfSight()TargetingConditions.range(double distance) TargetingConditions.selector(Predicate<LivingEntity> customPredicate) -
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 TargetingConditionsFox.FoxBehaviorGoal.alertableTargeting(package private) static final TargetingConditionsPanda.BREED_TARGETING(package private) static final TargetingConditionsDolphin.SWIM_WITH_PLAYER_TARGETING(package private) static final TargetingConditionsPufferfish.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 TargetingConditionsGoatAi.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 TargetingConditionsAbstractHorse.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 TargetingConditionsEnderDragon.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 TargetingConditionsDragonSittingScanningPhase.CHARGE_TARGETINGprivate static final TargetingConditionsDragonLandingApproachPhase.NEAR_EGG_TARGETINGprivate static final TargetingConditionsDragonHoldingPatternPhase.NEW_TARGET_TARGETINGprivate final TargetingConditionsDragonSittingScanningPhase.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 TargetingConditionsWitherBoss.TARGETING_CONDITIONS -
Uses of TargetingConditions in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as TargetingConditionsModifier and TypeFieldDescriptionprivate final TargetingConditionsPhantom.PhantomAttackPlayerTargetGoal.attackTargetingprivate final TargetingConditionsEnderMan.EndermanLookForPlayerGoal.continueAggroTargetConditionsprivate final TargetingConditionsVex.VexCopyOwnerTargetGoal.copyOwnerTargetingprivate final TargetingConditionsEnderMan.EndermanLookForPlayerGoal.startAggroTargetConditionsprivate final TargetingConditionsEvoker.EvokerSummonSpellGoal.vexCountTargetingprivate final TargetingConditionsEvoker.EvokerWololoSpellGoal.wololoTargeting -
Uses of TargetingConditions in net.minecraft.world.entity.raid
Fields in net.minecraft.world.entity.raid declared as TargetingConditionsModifier and TypeFieldDescriptionfinal TargetingConditionsRaider.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> entityClazz, TargetingConditions entityPredicate, LivingEntity entity, AABB area) EntityGetter.getNearbyPlayers(TargetingConditions predicate, LivingEntity target, AABB area) default <T extends LivingEntity>
TEntityGetter.getNearestEntity(Class<? extends T> entityClazz, TargetingConditions conditions, LivingEntity target, double x, double y, double z, AABB boundingBox) default <T extends LivingEntity>
TEntityGetter.getNearestEntity(List<? extends T> entities, TargetingConditions predicate, LivingEntity target, double x, double y, double z) default PlayerEntityGetter.getNearestPlayer(TargetingConditions predicate, double x, double y, double z) default PlayerEntityGetter.getNearestPlayer(TargetingConditions predicate, LivingEntity target) default PlayerEntityGetter.getNearestPlayer(TargetingConditions predicate, LivingEntity target, double x, double y, double z)