net.minecraft.entity.ai.goal

public class ProjectileAttackGoal

extends Goal

any
net.minecraft.class_1381
net.minecraft.entity.ai.goal.ProjectileAttackGoal
net.minecraft.entity.ai.goal.ProjectileAttackGoal
net.minecraft.entity.ai.goal.RangedAttackGoal
net.minecraft.entity.ai.goal.RangedAttackGoal

Field summary

Modifier and TypeField
private final MobEntity
a
field_6583
mob
mob
field_75322_b
field_75322_b
private final RangedAttackMob
b
field_6582
owner
rangedAttackMob
field_82641_b
rangedAttackEntityHost
private LivingEntity
c
field_6580
target
target
field_75323_c
field_75323_c
private int
d
field_6581
field_6581
ticksUntilNextAttack
field_75320_d
rangedAttackTime
private final double
e
field_6586
mobSpeed
speed
field_75321_e
entityMoveSpeed
private int
f
field_6579
field_6579
seenTargetTicks
field_75318_f
seeTime
private final int
g
field_6578
field_6578
minCooldown
field_96561_g
attackIntervalMin
private final int
h
field_6577
field_6577
maxCooldown
field_75325_h
maxRangedAttackTime
private final float
i
field_6585
maxShootRange
attackRange
field_96562_i
attackRadius
private final float
j
field_6584
squaredMaxShootRange
squaredAttackRange
field_82642_h
maxAttackDistance

Constructor summary

ModifierConstructor
public (RangedAttackMob mob, double speed, int cooldown, float attackRange)
public (RangedAttackMob mob, double speed, int minCooldown, int maxCooldown, float attackRange)

Method summary

Modifier and TypeMethod
public boolean
a()
method_6264()
canStart()
canStart()
func_75250_a()
shouldExecute()
public boolean
b()
method_6266()
shouldContinue()
shouldContinue()
func_75253_b()
shouldContinueExecuting()
public void
d()
method_6270()
stop()
stop()
func_75251_c()
resetTask()
public void
e()
method_6268()
tick()
tick()
func_75246_d()
tick()