net.minecraft.world.entity.ai.behavior

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

extends Behavior<E>

asa
net.minecraft.world.entity.ai.behavior.CrossbowAttack
net.minecraft.class_4810
net.minecraft.entity.ai.brain.task.CrossbowAttackTask
net.minecraft.entity.ai.brain.task.ShootTargetTask
net.minecraft.server.v1_16_R3.BehaviorCrossbowAttack

Field summary

Modifier and TypeField
private int
b
attackDelay
field_22293
chargingCooldown
field_233885_b_
private CrossbowAttack$CrossbowState
c
crossbowState
field_22294
state
field_233886_c_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(aag arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_24570(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
func_212832_a_(ServerWorld arg0, E arg1)
protected boolean
a(aag 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)
func_212834_g_(ServerWorld arg0, E arg1, long arg2)
protected void
b(aag 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)
func_212833_d_(ServerWorld arg0, E arg1, long arg2)
protected void
c(aag 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)
func_212835_f_(ServerWorld arg0, E arg1, long arg2)
private void
a(E arg0, aqm arg1)
crossbowAttack(E arg0, LivingEntity arg1)
method_24569(E arg0, class_1309 arg1)
tickState(E entity, LivingEntity target)
func_233888_a_(E arg0, LivingEntity arg1)
private void
b(aqn arg0, aqm arg1)
lookAtTarget(Mob arg0, LivingEntity arg1)
method_24572(class_1308 arg0, class_1309 arg1)
setLookTarget(MobEntity entity, LivingEntity target)
func_233889_b_(MobEntity arg0, LivingEntity arg1)
private static LivingEntity
a(aqm arg0)
getAttackTarget(LivingEntity arg0)
method_24568(class_1309 arg0)
getAttackTarget(LivingEntity entity)
func_233887_a_(LivingEntity arg0)