net.minecraft.world.entity.ai.targeting

public class TargetingConditions

bda
net.minecraft.world.entity.ai.targeting.TargetingConditions
net.minecraft.class_4051
net.minecraft.entity.ai.TargetPredicate
net.minecraft.src.C_780_
net.minecraft.world.entity.ai.targeting.PathfinderTargetCondition

Field summary

Modifier and TypeField
public static final TargetingConditions
a
DEFAULT
field_18092
DEFAULT
f_26872_
private static final double
b
MIN_VISIBILITY_DISTANCE_FOR_INVISIBLE_TARGET
field_30263
MIN_DISTANCE
f_148347_
private final boolean
c
isCombat
field_33720
attackable
f_148348_
private double
d
range
field_18093
baseMaxDistance
f_26873_
private boolean
e
checkLineOfSight
field_33721
respectsVisibility
f_148349_
private boolean
f
testInvisible
field_18098
useDistanceScalingFactor
f_26878_
private Predicate<LivingEntity>
g
selector
field_28405
predicate
f_26879_

Constructor summary

ModifierConstructor
private (boolean attackable)

Method summary

Modifier and TypeMethod
public static TargetingConditions
a()
forCombat()
method_36625()
createAttackable()
m_148352_()
public static TargetingConditions
b()
forNonCombat()
method_36626()
createNonAttackable()
m_148353_()
public TargetingConditions
c()
copy()
method_33335()
copy()
m_148354_()
public TargetingConditions
a(double arg0)
range(double arg0)
method_18418(double arg0)
setBaseMaxDistance(double baseMaxDistance)
m_26883_(double arg0)
public TargetingConditions
d()
ignoreLineOfSight()
method_36627()
ignoreVisibility()
m_148355_()
public TargetingConditions
e()
ignoreInvisibilityTesting()
method_18424()
ignoreDistanceScalingFactor()
m_26893_()
public TargetingConditions
a(Predicate<atu> arg0)
selector(Predicate<LivingEntity> arg0)
method_18420(Predicate<class_1309> arg0)
setPredicate(Predicate<LivingEntity> predicate)
m_26888_(Predicate<C_524_> arg0)
public boolean
a(atu arg0, atu arg1)
test(LivingEntity arg0, LivingEntity arg1)
method_18419(class_1309 arg0, class_1309 arg1)
test(LivingEntity baseEntity, LivingEntity targetEntity)
m_26885_(C_524_ p_26887_, C_524_ arg1)