net.minecraft.world.entity.ai.goal

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

extends Goal

cef
net.minecraft.world.entity.ai.goal.RangedCrossbowAttackGoal
net.minecraft.class_1383
net.minecraft.entity.ai.goal.CrossbowAttackGoal
net.minecraft.world.entity.ai.goal.PathfinderGoalCrossbowAttack

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
canStart()
private boolean
h()
isHoldingCrossbow()
method_6310()
isEntityHoldingCrossbow()
public boolean
c()
canContinueToUse()
method_6266()
shouldContinue()
private boolean
i()
isValidTarget()
method_19996()
hasAliveTarget()
public void
e()
stop()
method_6270()
stop()
public boolean
V_()
requiresUpdateEveryTick()
method_38846()
shouldRunEveryTick()
public void
a()
tick()
method_6268()
tick()
private boolean
k()
canRun()
method_16352()
isUncharged()