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

public class NearestAttackableTargetGoal<T extends LivingEntity>

extends TargetGoal

bva
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
net.minecraft.src.C_738_
net.minecraft.world.entity.ai.goal.target.PathfinderGoalNearestAttackableTarget

Field summary

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

Constructor summary

ModifierConstructor
public (Mob mob, Class<T> targetClass, boolean checkVisibility)
public (Mob mob, Class<T> targetClass, boolean checkVisibility, Predicate<LivingEntity> targetPredicate)
public (Mob mob, Class<T> targetClass, boolean checkVisibility, boolean checkCanNavigate)
public (Mob mob, Class<T> targetClass, int reciprocalChance, boolean checkVisibility, boolean checkCanNavigate, Predicate<LivingEntity> targetPredicate)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
m_njsjilur()
canStart()
canStart()
m_8036_()
protected AABB
a(double arg0)
getTargetSearchArea(double arg0)
method_6321(double arg0)
m_dmjczyej(double arg0)
getSearchBox(double distance)
getSearchBox(double distance)
m_7255_(double arg0)
protected void
h()
findTarget()
method_18415()
m_ufzrmdxm()
findClosestTarget()
findClosestTarget()
m_26073_()
public void
c()
start()
method_6269()
m_koalcxuy()
start()
start()
m_8056_()
public void
a(bml arg0)
setTarget(LivingEntity arg0)
method_24632(class_1309 arg0)
m_yqzrtkes(C_usxaxydn arg0)
setTargetEntity(LivingEntity targetEntity)
setTargetEntity(LivingEntity targetEntity)
m_26070_(C_524_ arg0)