net.minecraft.world.entity.ai.behavior

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

extends Behavior<E>

All mapped superinterfaces:

BehaviorControl

bok
net.minecraft.world.entity.ai.behavior.CrossbowAttack
net.minecraft.class_4810
net.minecraft.unmapped.C_ucaswceb
net.minecraft.entity.ai.brain.task.CrossbowAttackTask
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
c
TIMEOUT
field_30114
f_utyklqfy
RUN_TIME
RUN_TIME
f_147479_
private int
d
attackDelay
field_22293
f_hizcfcuj
chargingCooldown
chargingCooldown
f_22771_
private CrossbowAttack$CrossbowState
e
crossbowState
field_22294
f_qovytzgi
state
state
f_22772_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(and arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_24570(class_3218 arg0, E arg1)
m_yhcvlfxw(C_bdwnwhiu arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_22779_, E arg1)
protected boolean
a(and arg0, E arg1, long arg2)
canStillUse(ServerLevel arg0, E arg1, long arg2)
method_24571(class_3218 arg0, E arg1, long arg2)
m_kxgjginz(C_bdwnwhiu arg0, E arg1, long arg2)
shouldKeepRunning(ServerWorld 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(and arg0, E arg1, long arg2)
tick(ServerLevel arg0, E arg1, long arg2)
method_24573(class_3218 arg0, E arg1, long arg2)
m_ptinnrgr(C_bdwnwhiu arg0, E arg1, long arg2)
keepRunning(ServerWorld 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(and arg0, E arg1, long arg2)
stop(ServerLevel arg0, E arg1, long arg2)
method_24574(class_3218 arg0, E arg1, long arg2)
m_pclthzom(C_bdwnwhiu arg0, E arg1, long arg2)
finishRunning(ServerWorld 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, bml arg1)
crossbowAttack(E arg0, LivingEntity arg1)
method_24569(E arg0, class_1309 arg1)
m_blojhnav(E arg0, C_usxaxydn arg1)
tickState(E entity, LivingEntity target)
tickState(E entity, LivingEntity target)
m_22786_(E p_22788_, C_524_ arg1)
private void
b(bmn arg0, bml arg1)
lookAtTarget(Mob arg0, LivingEntity arg1)
method_24572(class_1308 arg0, class_1309 arg1)
m_cxngjjdv(C_dxkfswlz arg0, C_usxaxydn arg1)
setLookTarget(MobEntity entity, LivingEntity target)
setLookTarget(MobEntity entity, LivingEntity target)
m_22797_(C_526_ p_22799_, C_524_ arg1)
private static LivingEntity
b(bml arg0)
getAttackTarget(LivingEntity arg0)
method_24568(class_1309 arg0)
m_gklyxivo(C_usxaxydn arg0)
getAttackTarget(LivingEntity entity)
getAttackTarget(LivingEntity entity)
m_22784_(C_524_ p_22785_)