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, shouldContinueExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringpublic OwnerHurtByTargetGoal(TameableEntity theDefendingTameableIn)
public boolean shouldExecute()
shouldExecute クラス内 Goalpublic void startExecuting()
startExecuting クラス内 TargetGoal