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, shouldExecutegetTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringpublic void startExecuting()
startExecuting in class HurtByTargetGoalprotected void setAttackTarget(MobEntity mobIn, LivingEntity targetIn)
setAttackTarget in class HurtByTargetGoal