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

public class HurtByTargetGoal

extends TargetGoal

cce
net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal
net.minecraft.class_1399
net.minecraft.entity.ai.goal.RevengeGoal
net.minecraft.src.C_737_
net.minecraft.world.entity.ai.goal.target.PathfinderGoalHurtByTarget

Field summary

Modifier and TypeField
private static final TargetingConditions
a
HURT_BY_TARGETING
field_18091
VALID_AVOIDABLES_PREDICATE
f_26032_
private static final int
b
ALERT_RANGE_Y
field_30230
BOX_VERTICAL_EXPANSION
f_148150_
private boolean
c
alertSameType
field_6639
groupRevenge
f_26033_
private int
d
timestamp
field_6638
lastAttackedTime
f_26034_
private final Class<?>[]
i
toIgnoreDamage
field_6637
noRevengeTypes
f_26035_
private Class<?>[]
j
toIgnoreAlert
field_6640
noHelpTypes
f_26036_

Constructor summary

ModifierConstructor
public (PathfinderMob mob, Class<?>... noRevengeTypes)

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
canStart()
m_8036_()
public HurtByTargetGoal
a(Class<?>... arg0)
setAlertOthers(Class<?>... arg0)
method_6318(Class<?>... arg0)
setGroupRevenge(Class<?>... noHelpTypes)
m_26044_(Class<?>... arg0)
public void
d()
start()
method_6269()
start()
m_8056_()
protected void
h()
alertOthers()
method_6317()
callSameTypeForRevenge()
m_26047_()
protected void
a(btp arg0, btn arg1)
alertOther(Mob arg0, LivingEntity arg1)
method_6319(class_1308 arg0, class_1309 arg1)
setMobEntityTarget(MobEntity mob, LivingEntity target)
m_5766_(C_526_ p_26043_, C_524_ arg1)