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

public class NearestAttackableTargetGoal<T extends LivingEntity>

extends TargetGoal

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

Field summary

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

Constructor summary

ModifierConstructor
public (Mob mob, Class<T> targetClass, boolean checkVisibility)
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()
m_8036_()
protected AABB
a(double arg0)
getTargetSearchArea(double arg0)
method_6321(double arg0)
m_dmjczyej(double arg0)
getSearchBox(double distance)
m_7255_(double arg0)
protected void
g()
findTarget()
method_18415()
m_ufzrmdxm()
findClosestTarget()
m_26073_()
public void
c()
start()
method_6269()
m_koalcxuy()
start()
m_8056_()
public void
a(atu arg0)
setTarget(LivingEntity arg0)
method_24632(class_1309 arg0)
m_yqzrtkes(C_usxaxydn arg0)
setTargetEntity(LivingEntity targetEntity)
m_26070_(C_524_ arg0)