net.minecraft.world.entity.ai.targeting

public class TargetingConditions

bqk
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 Predicate<LivingEntity>
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(Predicate<bfx> arg0)
selector(Predicate<LivingEntity> arg0)
method_18420(Predicate<class_1309> arg0)
m_gqimohkp(Predicate<C_usxaxydn> arg0)
setPredicate(Predicate<LivingEntity> predicate)
setPredicate(Predicate<LivingEntity> predicate)
m_26888_(Predicate<C_524_> arg0)
public boolean
a(bfx arg0, bfx arg1)
test(LivingEntity arg0, LivingEntity arg1)
method_18419(class_1309 arg0, class_1309 arg1)
m_ilqjbnec(C_usxaxydn arg0, C_usxaxydn arg1)
test(LivingEntity baseEntity, LivingEntity targetEntity)
test(LivingEntity baseEntity, LivingEntity targetEntity)
m_26885_(C_524_ p_26887_, C_524_ arg1)