net.minecraft.entity.ai.goal

public class ProjectileAttackGoal

extends Goal

yd
net.minecraft.class_885
net.minecraft.entity.ai.goal.ProjectileAttackGoal
net.minecraft.entity.ai.EntityAIAttackRanged
net.minecraft.entity.ai.EntityAIAttackRanged

Field summary

Modifier and TypeField
private final MobEntity
a
field_3447
mob
field_75322_b
entityHost
private final RangedAttackMob
b
field_5357
rangedAttackMob
field_82641_b
rangedAttackEntityHost
private LivingEntity
c
field_6857
target
field_75323_c
attackTarget
private int
d
field_3449
ticksUntilNextAttack
field_75320_d
rangedAttackTime
private final double
e
field_6858
speed
field_75321_e
entityMoveSpeed
private int
f
field_3451
seenTargetTicks
field_75318_f
seeTime
private final int
g
field_6140
minCooldown
field_96561_g
attackIntervalMin
private final int
h
field_3453
maxCooldown
field_75325_h
maxRangedAttackTime
private final float
i
field_6141
attackRange
field_96562_i
attackRadius
private final float
j
field_5358
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_2742()
canStart()
func_75250_a()
shouldExecute()
public boolean
b()
method_2744()
shouldContinue()
func_75253_b()
shouldContinueExecuting()
public void
d()
method_2745()
stop()
func_75251_c()
resetTask()
public void
e()
method_2746()
tick()
func_75246_d()
updateTask()