net.minecraft.entity.ai.goal

public class ProjectileAttackGoal

extends Goal

sa
net.minecraft.class_885
net.minecraft.entity.ai.goal.ProjectileAttackGoal
net.minecraft.entity.ai.EntityAIArrowAttack

Field summary

Modifier and TypeField
private final MobEntity
a
field_3447
mob
entityHost
private final RangedAttackMob
b
field_5357
rangedAttackMob
rangedAttackEntityHost
private LivingEntity
c
field_6857
target
attackTarget
private int
d
field_3449
ticksUntilNextAttack
rangedAttackTime
private double
e
field_6858
speed
entityMoveSpeed
private int
f
field_3451
seenTargetTicks
field_75318_f
private int
g
field_6140
minCooldown
field_96561_g
private int
h
field_3453
maxCooldown
maxRangedAttackTime
private float
i
field_6141
attackRange
field_96562_i
private float
j
field_5358
squaredAttackRange
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()
shouldExecute()
public boolean
b()
method_2744()
shouldContinue()
continueExecuting()
public void
d()
method_2745()
stop()
resetTask()
public void
e()
method_2746()
tick()
updateTask()