net.minecraft.world.entity.ai.targeting

public class TargetingConditions

axs
net.minecraft.world.entity.ai.targeting.TargetingConditions
net.minecraft.class_4051
net.minecraft.entity.ai.TargetPredicate
net.minecraft.entity.EntityPredicate
net.minecraft.server.v1_16_R1.PathfinderTargetCondition

Field summary

Modifier and TypeField
public static final TargetingConditions
a
DEFAULT
field_18092
DEFAULT
field_221016_a
private double
b
range
field_18093
baseMaxDistance
field_221017_b
private boolean
c
allowInvulnerable
field_18094
includeInvulnerable
field_221018_c
private boolean
d
allowSameTeam
field_18095
includeTeammates
field_221019_d
private boolean
e
allowUnseeable
field_18096
includeHidden
field_221020_e
private boolean
f
allowNonAttackable
field_18097
ignoreEntityTargetRules
field_221021_f
private boolean
g
testInvisible
field_18098
useDistanceScalingFactor
field_221022_g
private Predicate<LivingEntity>
h
selector
field_18099
predicate
field_221023_h

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public TargetingConditions
a(double arg0)
range(double arg0)
method_18418(double arg0)
setBaseMaxDistance(double baseMaxDistance)
func_221013_a(double arg0)
public TargetingConditions
a()
allowInvulnerable()
method_18417()
includeInvulnerable()
func_221008_a()
public TargetingConditions
b()
allowSameTeam()
method_18421()
includeTeammates()
func_221011_b()
public TargetingConditions
c()
allowUnseeable()
method_18422()
includeHidden()
func_221014_c()
public TargetingConditions
d()
allowNonAttackable()
method_18423()
ignoreEntityTargetRules()
func_221009_d()
public TargetingConditions
e()
ignoreInvisibilityTesting()
method_18424()
ignoreDistanceScalingFactor()
func_221010_e()
public TargetingConditions
a(Predicate<aoy> arg0)
selector(Predicate<LivingEntity> arg0)
method_18420(Predicate<class_1309> arg0)
setPredicate(Predicate<LivingEntity> predicate)
func_221012_a(Predicate<LivingEntity> arg0)
public boolean
a(aoy arg0, aoy arg1)
test(LivingEntity arg0, LivingEntity arg1)
method_18419(class_1309 arg0, class_1309 arg1)
test(LivingEntity baseEntity, LivingEntity targetEntity)
func_221015_a(LivingEntity arg0, LivingEntity arg1)