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