net.minecraft.world.entity.ai.goal

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

extends Goal

cbp
net.minecraft.world.entity.ai.goal.RangedCrossbowAttackGoal
net.minecraft.class_1383
net.minecraft.unmapped.C_berirjmt
net.minecraft.entity.ai.goal.CrossbowAttackGoal
net.minecraft.entity.ai.goal.CrossbowAttackGoal
net.minecraft.src.C_719_
net.minecraft.world.entity.ai.goal.PathfinderGoalBowShoot

Field summary

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

Constructor summary

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

Method summary

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