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

public class HurtByTargetGoal

extends TargetGoal

cew
net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal
net.minecraft.class_1399
net.minecraft.entity.ai.goal.RevengeGoal
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
private static final int
b
ALERT_RANGE_Y
field_30230
BOX_VERTICAL_EXPANSION
private boolean
c
alertSameType
field_6639
groupRevenge
private int
d
timestamp
field_6638
lastAttackedTime
private final Class<?>[]
i
toIgnoreDamage
field_6637
noRevengeTypes
private Class<?>[]
j
toIgnoreAlert
field_6640
noHelpTypes

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
canStart()
public HurtByTargetGoal
a(Class<?>... arg0)
setAlertOthers(Class<?>... arg0)
method_6318(Class<?>... arg0)
setGroupRevenge(Class<?>... noHelpTypes)
public void
d()
start()
method_6269()
start()
protected void
h()
alertOthers()
method_6317()
callSameTypeForRevenge()
protected void
a(bwi arg0, bwg arg1)
alertOther(Mob arg0, LivingEntity arg1)
method_6319(class_1308 arg0, class_1309 arg1)
setMobEntityTarget(MobEntity mob, LivingEntity target)