public class RangedBowAttackGoal<T extends MonsterEntity & IRangedAttackMob> extends Goal
| コンストラクタと説明 | 
|---|
| RangedBowAttackGoal(T mob,
                   double moveSpeedAmpIn,
                   int attackCooldownIn,
                   float maxAttackDistanceIn) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| protected boolean | isBowInMainhand() | 
| void | resetTask()Reset the task's internal state. | 
| void | setAttackCooldown(int attackCooldownIn) | 
| boolean | shouldContinueExecuting()Returns whether an in-progress EntityAIBase should continue executing | 
| boolean | shouldExecute()Returns whether execution should begin. | 
| void | startExecuting()Execute a one shot task or start executing a continuous task | 
| void | tick()Keep ticking a continuous task that has already been started | 
getMutexFlags, isPreemptible, setMutexFlags, toStringpublic RangedBowAttackGoal(T mob, double moveSpeedAmpIn, int attackCooldownIn, float maxAttackDistanceIn)
public void setAttackCooldown(int attackCooldownIn)
public boolean shouldExecute()
shouldExecute クラス内 Goalprotected boolean isBowInMainhand()
public boolean shouldContinueExecuting()
shouldContinueExecuting クラス内 Goalpublic void startExecuting()
startExecuting クラス内 Goalpublic void resetTask()