public class ZombieAttackGoal extends MeleeAttackGoal
attacker, attackInterval, attackTick| コンストラクタと説明 |
|---|
ZombieAttackGoal(ZombieEntity zombieIn,
double speedIn,
boolean longMemoryIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
resetTask()
Reset the task's internal state.
|
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
|
checkAndPerformAttack, getAttackReachSqr, shouldContinueExecuting, shouldExecutegetMutexFlags, isPreemptible, setMutexFlags, toStringpublic ZombieAttackGoal(ZombieEntity zombieIn, double speedIn, boolean longMemoryIn)
public void startExecuting()
startExecuting クラス内 MeleeAttackGoalpublic void resetTask()
resetTask クラス内 MeleeAttackGoalpublic void tick()
tick クラス内 MeleeAttackGoal