net.minecraft.entity.ai.goal

public class BowAttackGoal<T extends HostileEntity extends RangedAttackMob>

extends Goal

net.minecraft.world.entity.ai.goal.RangedBowAttackGoal
net.minecraft.class_1380
net.minecraft.entity.ai.goal.BowAttackGoal

Field summary

Modifier and TypeField
private final T
mob
field_6576
actor
private final double
speedModifier
field_6569
speed
private int
attackIntervalMin
field_6575
attackInterval
private final float
attackRadiusSqr
field_6570
squaredRange
private int
attackTime
field_6574
cooldown
private int
seeTime
field_6572
targetSeeingTicker
private boolean
strafingClockwise
field_6573
movingToLeft
private boolean
strafingBackwards
field_6571
backward
private int
strafingTime
field_6568
combatTicks

Constructor summary

ModifierConstructor
public (T actor, double speed, int attackInterval, float range)

Method summary

Modifier and TypeMethod
public void
setMinAttackInterval(int ticks)
method_6305(int arg0)
setAttackInterval(int attackInterval)
public boolean
canUse()
method_6264()
canStart()
protected boolean
isHoldingBow()
method_6306()
isHoldingBow()
public boolean
canContinueToUse()
method_6266()
shouldContinue()
public void
start()
method_6269()
start()
public void
stop()
method_6270()
stop()
public boolean
requiresUpdateEveryTick()
method_38846()
shouldRunEveryTick()
public void
tick()
method_6268()
tick()