net.minecraft.world.entity.ai.goal

public class RangedCrossbowAttackGoal<T extends Monster extends RangedAttackMob, CrossbowAttackMob>

extends Goal

brc
net.minecraft.world.entity.ai.goal.RangedCrossbowAttackGoal
net.minecraft.class_1383
net.minecraft.entity.ai.goal.CrossbowAttackGoal
net.minecraft.src.C_719_
net.minecraft.world.entity.ai.goal.PathfinderGoalCrossbowAttack

Field summary

Modifier and TypeField
public static final UniformInt
a
PATHFINDING_DELAY_RANGE
field_25696
COOLDOWN_RANGE
f_25804_
private final T
b
mob
field_6593
actor
f_25805_
private RangedCrossbowAttackGoal$CrossbowState
c
crossbowState
field_16528
stage
f_25806_
private final double
d
speedModifier
field_6590
speed
f_25807_
private final float
e
attackRadiusSqr
field_6591
squaredRange
f_25808_
private int
f
seeTime
field_6592
seeingTargetTicker
f_25809_
private int
g
attackDelay
field_16529
chargedTicksLeft
f_25810_
private int
h
updatePathDelay
field_25697
cooldown
f_25811_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
m_8036_()
private boolean
h()
isHoldingCrossbow()
method_6310()
isEntityHoldingCrossbow()
m_25821_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
private boolean
i()
isValidTarget()
method_19996()
hasAliveTarget()
m_25822_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
public boolean
Q_()
requiresUpdateEveryTick()
method_38846()
shouldRunEveryTick()
m_183429_()
public void
e()
tick()
method_6268()
tick()
m_8037_()
private boolean
k()
canRun()
method_16352()
isUncharged()
m_25823_()