public class EntityAIAttackRanged extends EntityAIBase
| Modifier and Type | Field and Description |
|---|---|
private int |
attackIntervalMin |
private float |
attackRadius |
private EntityLivingBase |
attackTarget |
private EntityLiving |
entityHost |
private double |
entityMoveSpeed |
private float |
maxAttackDistance |
private int |
maxRangedAttackTime |
private IRangedAttackMob |
rangedAttackEntityHost |
private int |
rangedAttackTime |
private int |
seeTime |
| Constructor and Description |
|---|
EntityAIAttackRanged(IRangedAttackMob attacker,
double movespeed,
int maxAttackTime,
float maxAttackDistanceIn) |
EntityAIAttackRanged(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 |
updateTask() |
getMutexBits, isInterruptible, setMutexBits, startExecutingprivate final EntityLiving entityHost
private final IRangedAttackMob rangedAttackEntityHost
private EntityLivingBase attackTarget
private int rangedAttackTime
private final double entityMoveSpeed
private int seeTime
private final int attackIntervalMin
private final int maxRangedAttackTime
private final float attackRadius
private final float maxAttackDistance
public EntityAIAttackRanged(IRangedAttackMob attacker, double movespeed, int maxAttackTime, float maxAttackDistanceIn)
public EntityAIAttackRanged(IRangedAttackMob attacker, double movespeed, int p_i1650_4_, int maxAttackTime, float maxAttackDistanceIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic boolean shouldContinueExecuting()
shouldContinueExecuting in class EntityAIBasepublic void resetTask()
resetTask in class EntityAIBasepublic void updateTask()
updateTask in class EntityAIBase