net.minecraft.world.entity.ai.behavior

public class CrossbowAttack<E extends Mob extends CrossbowAttackMob, T extends LivingEntity>

extends Behavior<E>

bcy
net.minecraft.world.entity.ai.behavior.CrossbowAttack
net.minecraft.class_4810
net.minecraft.entity.ai.brain.task.CrossbowAttackTask
net.minecraft.src.C_577_
net.minecraft.world.entity.ai.behavior.BehaviorCrossbowAttack

Field summary

Modifier and TypeField
private static final int
a
TIMEOUT
field_30114
RUN_TIME
f_147479_
private int
d
attackDelay
field_22293
chargingCooldown
f_22771_
private CrossbowAttack$CrossbowState
e
crossbowState
field_22294
state
f_22772_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_24570(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_22779_, E arg1)
protected boolean
a(afo arg0, E arg1, long arg2)
canStillUse(ServerLevel arg0, E arg1, long arg2)
method_24571(class_3218 arg0, E arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, E arg1, long arg2)
m_6737_(C_12_ p_22782_, E p_22783_, long arg2)
protected void
b(afo arg0, E arg1, long arg2)
tick(ServerLevel arg0, E arg1, long arg2)
method_24573(class_3218 arg0, E arg1, long arg2)
keepRunning(ServerWorld arg0, E arg1, long arg2)
m_6725_(C_12_ p_22795_, E p_22796_, long arg2)
protected void
c(afo arg0, E arg1, long arg2)
stop(ServerLevel arg0, E arg1, long arg2)
method_24574(class_3218 arg0, E arg1, long arg2)
finishRunning(ServerWorld arg0, E arg1, long arg2)
m_6732_(C_12_ p_22806_, E p_22807_, long arg2)
private void
a(E arg0, bbf arg1)
crossbowAttack(E arg0, LivingEntity arg1)
method_24569(E arg0, class_1309 arg1)
tickState(E entity, LivingEntity target)
m_22786_(E p_22788_, C_524_ arg1)
private void
b(bbh arg0, bbf arg1)
lookAtTarget(Mob arg0, LivingEntity arg1)
method_24572(class_1308 arg0, class_1309 arg1)
setLookTarget(MobEntity entity, LivingEntity target)
m_22797_(C_526_ p_22799_, C_524_ arg1)
private static LivingEntity
a(bbf arg0)
getAttackTarget(LivingEntity arg0)
method_24568(class_1309 arg0)
getAttackTarget(LivingEntity entity)
m_22784_(C_524_ p_22785_)