public class OwnerHurtByTargetGoal extends TargetGoal
goalOwner, shouldCheckSight, target, unseenMemoryTicks
Constructor and Description |
---|
OwnerHurtByTargetGoal(TameableEntity theDefendingTameableIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute() |
void |
startExecuting() |
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick
public OwnerHurtByTargetGoal(TameableEntity theDefendingTameableIn)
public boolean shouldExecute()
shouldExecute
in class Goal
public void startExecuting()
startExecuting
in class TargetGoal