net.minecraft.entity.ai.goal

public class ProjectileAttackGoal

extends Goal

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

Field summary

Modifier and TypeField
private final MobEntity
mob
field_6583
mob
private final RangedAttackMob
rangedAttackMob
field_6582
owner
private LivingEntity
target
field_6580
target
private int
attackTime
field_6581
updateCountdownTicks
private final double
speedModifier
field_6586
mobSpeed
private int
seeTime
field_6579
seenTargetTicks
private final int
attackIntervalMin
field_6578
minIntervalTicks
private final int
attackIntervalMax
field_6577
maxIntervalTicks
private final float
attackRadius
field_6585
maxShootRange
private final float
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
canUse()
method_6264()
canStart()
public boolean
canContinueToUse()
method_6266()
shouldContinue()
public void
stop()
method_6270()
stop()
public boolean
requiresUpdateEveryTick()
method_38846()
shouldRunEveryTick()
public void
tick()
method_6268()
tick()