public class RangedAttackGoal extends Goal
| Constructor and Description |
|---|
RangedAttackGoal(IRangedAttackMob attacker,
double movespeed,
int maxAttackTime,
float maxAttackDistanceIn) |
RangedAttackGoal(IRangedAttackMob attacker,
double movespeed,
int p_i1650_4_,
int maxAttackTime,
float maxAttackDistanceIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
tick() |
getMutexFlags, isPreemptible, setMutexFlags, startExecutingpublic RangedAttackGoal(IRangedAttackMob attacker, double movespeed, int maxAttackTime, float maxAttackDistanceIn)
public RangedAttackGoal(IRangedAttackMob attacker, double movespeed, int p_i1650_4_, int maxAttackTime, float maxAttackDistanceIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goal