net.minecraft.entity.ai.goal

public class ProjectileAttackGoal

extends Goal

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

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 final double
e
field_6858
speed
entityMoveSpeed
private int
f
field_3451
seenTargetTicks
seeTime
private final int
g
field_6140
minCooldown
attackIntervalMin
private final int
h
field_3453
maxCooldown
maxRangedAttackTime
private final float
i
field_6141
attackRange
attackRadius
private final 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()