net.minecraft.world.entity.ai.behavior

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

extends Behavior<E>

All mapped superinterfaces:

BehaviorControl

byh
net.minecraft.world.entity.ai.behavior.CrossbowAttack
net.minecraft.class_4810
net.minecraft.entity.ai.brain.task.CrossbowAttackTask
net.minecraft.world.entity.ai.behavior.BehaviorCrossbowAttack

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(ash arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_24570(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
protected boolean
a(ash 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)
protected void
b(ash 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)
protected void
c(ash 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)
private void
a(E arg0, bwg arg1)
crossbowAttack(E arg0, LivingEntity arg1)
method_24569(E arg0, class_1309 arg1)
tickState(E entity, LivingEntity target)
private void
b(bwi arg0, bwg arg1)
lookAtTarget(Mob arg0, LivingEntity arg1)
method_24572(class_1308 arg0, class_1309 arg1)
setLookTarget(MobEntity entity, LivingEntity target)
private static LivingEntity
b(bwg arg0)
getAttackTarget(LivingEntity arg0)
method_24568(class_1309 arg0)
getAttackTarget(LivingEntity entity)