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, shouldExecute
getMutexFlags, isPreemptible, setMutexFlags, toString
public ZombieAttackGoal(ZombieEntity zombieIn, double speedIn, boolean longMemoryIn)
public void startExecuting()
startExecuting
クラス内 MeleeAttackGoal
public void resetTask()
resetTask
クラス内 MeleeAttackGoal
public void tick()
tick
クラス内 MeleeAttackGoal