public class OwnerHurtByTargetGoal extends TargetGoal
goalOwner, shouldCheckSight, target, unseenMemoryTicks
コンストラクタと説明 |
---|
OwnerHurtByTargetGoal(TameableEntity theDefendingTameableIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
shouldExecute()
Returns whether execution should begin.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
public OwnerHurtByTargetGoal(TameableEntity theDefendingTameableIn)
public boolean shouldExecute()
shouldExecute
クラス内 Goal
public void startExecuting()
startExecuting
クラス内 TargetGoal