net.minecraft.world.entity.ai.targeting

public class TargetingConditions

cgx
net.minecraft.world.entity.ai.targeting.TargetingConditions
net.minecraft.class_4051
net.minecraft.unmapped.C_cjtyhinh
net.minecraft.entity.ai.TargetPredicate
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
f_rymqmfew
DEFAULT
DEFAULT
f_26872_
private static final double
b
MIN_VISIBILITY_DISTANCE_FOR_INVISIBLE_TARGET
field_30263
f_rtvkhhex
MIN_DISTANCE
MIN_DISTANCE
f_148347_
private final boolean
c
isCombat
field_33720
f_kbglltlu
attackable
attackable
f_148348_
private double
d
range
field_18093
f_fdydzvuf
baseMaxDistance
baseMaxDistance
f_26873_
private boolean
e
checkLineOfSight
field_33721
f_mbqczqbm
respectsVisibility
respectsVisibility
f_148349_
private boolean
f
testInvisible
field_18098
f_qfbdlwep
useDistanceScalingFactor
useDistanceScalingFactor
f_26878_
private TargetingConditions$Selector
g
selector
field_28405
f_thokpgso
predicate
predicate
f_26879_

Constructor summary

ModifierConstructor
private (boolean attackable)

Method summary

Modifier and TypeMethod
public static TargetingConditions
a()
forCombat()
method_36625()
m_yfzxwnuz()
createAttackable()
createAttackable()
m_148352_()
public static TargetingConditions
b()
forNonCombat()
method_36626()
m_ilkmyxqb()
createNonAttackable()
createNonAttackable()
m_148353_()
public TargetingConditions
c()
copy()
method_33335()
m_umtotvzf()
copy()
copy()
m_148354_()
public TargetingConditions
a(double arg0)
range(double arg0)
method_18418(double arg0)
m_sxmcwehx(double arg0)
setBaseMaxDistance(double baseMaxDistance)
setBaseMaxDistance(double baseMaxDistance)
m_26883_(double arg0)
public TargetingConditions
d()
ignoreLineOfSight()
method_36627()
m_agtoaesw()
ignoreVisibility()
ignoreVisibility()
m_148355_()
public TargetingConditions
e()
ignoreInvisibilityTesting()
method_18424()
m_zqhzrtuw()
ignoreDistanceScalingFactor()
ignoreDistanceScalingFactor()
m_26893_()
public TargetingConditions
a(cgx$a arg0)
selector(TargetingConditions$Selector arg0)
method_18420(class_4051$class_10254 arg0)
m_gqimohkp(C_cjtyhinh$C_cqgaarcf arg0)
setPredicate(TargetPredicate$EntityPredicate predicate)
setPredicate(TargetPredicate$Selector predicate)
m_26888_(C_780_$C_345669_ arg0)
public boolean
a(ash arg0, bwg arg1, bwg arg2)
test(ServerLevel arg0, LivingEntity arg1, LivingEntity arg2)
method_18419(class_3218 arg0, class_1309 arg1, class_1309 arg2)
m_ilqjbnec(C_bdwnwhiu arg0, C_usxaxydn arg1, C_usxaxydn arg2)
test(ServerWorld world, LivingEntity tester, LivingEntity target)
test(ServerWorld world, LivingEntity baseEntity, LivingEntity targetEntity)
m_26885_(C_12_ p_26886_, C_524_ p_26887_, C_524_ arg2)