net.minecraft.world.entity.ai.targeting

public class TargetingConditions

cfz
net.minecraft.world.entity.ai.targeting.TargetingConditions
net.minecraft.class_4051
net.minecraft.entity.ai.TargetPredicate
net.minecraft.world.entity.ai.targeting.PathfinderTargetCondition

Field summary

Modifier and TypeField
public static final TargetingConditions
a
DEFAULT
field_18092
DEFAULT
private static final double
b
MIN_VISIBILITY_DISTANCE_FOR_INVISIBLE_TARGET
field_30263
MIN_DISTANCE
private final boolean
c
isCombat
field_33720
attackable
private double
d
range
field_18093
baseMaxDistance
private boolean
e
checkLineOfSight
field_33721
respectsVisibility
private boolean
f
testInvisible
field_18098
useDistanceScalingFactor
private TargetingConditions$Selector
g
selector
field_28405
predicate

Constructor summary

ModifierConstructor
private (boolean attackable)

Method summary

Modifier and TypeMethod
public static TargetingConditions
a()
forCombat()
method_36625()
createAttackable()
public static TargetingConditions
b()
forNonCombat()
method_36626()
createNonAttackable()
public TargetingConditions
c()
copy()
method_33335()
copy()
public TargetingConditions
a(double arg0)
range(double arg0)
method_18418(double arg0)
setBaseMaxDistance(double baseMaxDistance)
public TargetingConditions
d()
ignoreLineOfSight()
method_36627()
ignoreVisibility()
public TargetingConditions
e()
ignoreInvisibilityTesting()
method_18424()
ignoreDistanceScalingFactor()
public TargetingConditions
a(cfz$a arg0)
selector(TargetingConditions$Selector arg0)
method_18420(class_4051$class_10254 arg0)
setPredicate(TargetPredicate$EntityPredicate predicate)
public boolean
a(ard arg0, bvi arg1, bvi arg2)
test(ServerLevel arg0, LivingEntity arg1, LivingEntity arg2)
method_18419(class_3218 arg0, class_1309 arg1, class_1309 arg2)
test(ServerWorld world, LivingEntity tester, LivingEntity target)