net.minecraft.world.entity.ai.goal

public class RangedAttackGoal

extends Goal

cdf
net.minecraft.world.entity.ai.goal.RangedAttackGoal
net.minecraft.class_1381
net.minecraft.entity.ai.goal.ProjectileAttackGoal
net.minecraft.world.entity.ai.goal.PathfinderGoalArrowAttack

Field summary

Modifier and TypeField
private final Mob
a
mob
field_6583
mob
private final RangedAttackMob
b
rangedAttackMob
field_6582
owner
private LivingEntity
c
target
field_6580
target
private int
d
attackTime
field_6581
updateCountdownTicks
private final double
e
speedModifier
field_6586
mobSpeed
private int
f
seeTime
field_6579
seenTargetTicks
private final int
g
attackIntervalMin
field_6578
minIntervalTicks
private final int
h
attackIntervalMax
field_6577
maxIntervalTicks
private final float
i
attackRadius
field_6585
maxShootRange
private final float
j
attackRadiusSqr
field_6584
squaredMaxShootRange

Constructor summary

ModifierConstructor
public (RangedAttackMob mob, double mobSpeed, int intervalTicks, float maxShootRange)
public (RangedAttackMob mob, double mobSpeed, int minIntervalTicks, int maxIntervalTicks, float maxShootRange)

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
canStart()
public boolean
c()
canContinueToUse()
method_6266()
shouldContinue()
public void
e()
stop()
method_6270()
stop()
public boolean
V_()
requiresUpdateEveryTick()
method_38846()
shouldRunEveryTick()
public void
a()
tick()
method_6268()
tick()