net.minecraft.world.entity.ai.goal.target

public class NearestAttackableTargetGoal<T extends LivingEntity>

extends TargetGoal

cft
net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
net.minecraft.class_1400
net.minecraft.unmapped.C_rxeqeznw
net.minecraft.entity.ai.goal.ActiveTargetGoal
net.minecraft.entity.ai.goal.TargetGoal

Field summary

Modifier and TypeField
private static final int
i
DEFAULT_RANDOM_INTERVAL
field_36304
f_miruxfhs
DEFAULT_RECIPROCAL_CHANCE
DEFAULT_RANDOM_INTERVAL
protected final Class<T>
a
targetType
field_6643
f_uffroykn
targetClass
targetClass
protected final int
b
randomInterval
field_6641
f_eezzkkdf
reciprocalChance
reciprocalChance
protected LivingEntity
c
target
field_6644
f_hlkcxsos
targetEntity
targetEntity
protected TargetingConditions
d
targetConditions
field_6642
f_krqrezbs
targetPredicate
targetPredicate

Constructor summary

ModifierConstructor
public (Mob mob, Class<T> targetClass, boolean checkVisibility)
public (Mob mob, Class<T> targetClass, boolean checkVisibility, TargetingConditions$Selector predicate)
public (Mob mob, Class<T> targetClass, boolean checkVisibility, boolean checkCanNavigate)
public (Mob mob, Class<T> targetClass, int reciprocalChance, boolean checkVisibility, boolean checkCanNavigate, TargetingConditions$Selector targetPredicate)

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
m_njsjilur()
canStart()
canStart()
protected AABB
a(double arg0)
getTargetSearchArea(double arg0)
method_6321(double arg0)
m_dmjczyej(double arg0)
getSearchBox(double distance)
getSearchBox(double distance)
protected void
h()
findTarget()
method_18415()
m_ufzrmdxm()
findClosestTarget()
findClosestTarget()
public void
d()
start()
method_6269()
m_koalcxuy()
start()
start()
public void
a(bxe arg0)
setTarget(LivingEntity arg0)
method_24632(class_1309 arg0)
m_yqzrtkes(C_usxaxydn arg0)
setTargetEntity(LivingEntity targetEntity)
setTargetEntity(LivingEntity targetEntity)
private TargetingConditions
i()
getTargetConditions()
method_61438()
m_wvkdctyc()
getAndUpdateTargetPredicate()
getTargetPredicate()