class PolarBearEntity.HurtByTargetGoal extends HurtByTargetGoal
goalOwner, shouldCheckSight, target, unseenMemoryTicks
Constructor and Description |
---|
HurtByTargetGoal() |
Modifier and Type | Method and Description |
---|---|
protected void |
setAttackTarget(MobEntity mobIn,
LivingEntity targetIn) |
void |
startExecuting() |
alertOthers, setCallsForHelp, shouldExecute
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
public void startExecuting()
startExecuting
in class HurtByTargetGoal
protected void setAttackTarget(MobEntity mobIn, LivingEntity targetIn)
setAttackTarget
in class HurtByTargetGoal