net.minecraft.world.entity.ai.behavior

public class MeleeAttack

extends Behavior<Mob>

bdz
net.minecraft.world.entity.ai.behavior.MeleeAttack
net.minecraft.class_4816
net.minecraft.unmapped.C_gpxkysqi
net.minecraft.entity.ai.brain.task.MeleeAttackTask
net.minecraft.entity.ai.brain.task.MeleeAttackTask
net.minecraft.src.C_604_
net.minecraft.world.entity.ai.behavior.BehaviorAttack

Field summary

Modifier and TypeField
private final int
a
cooldownBetweenAttacks
field_22308
f_itejbvdu
interval
interval
f_23510_

Constructor summary

ModifierConstructor
public (int interval)

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, bbh arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_24588(class_3218 arg0, class_1308 arg1)
m_zqmjmhrh(C_bdwnwhiu arg0, C_dxkfswlz arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
m_6114_(C_12_ p_23522_, C_526_ arg1)
private boolean
a(bbh arg0)
isHoldingUsableProjectileWeapon(Mob arg0)
method_25942(class_1308 arg0)
m_njoxpzqb(C_dxkfswlz arg0)
isHoldingUsableRangedWeapon(MobEntity entity)
isHoldingUsableRangedWeapon(MobEntity entity)
m_23527_(C_526_ arg0)
protected void
a(afo arg0, bbh arg1, long arg2)
start(ServerLevel arg0, Mob arg1, long arg2)
method_24590(class_3218 arg0, class_1308 arg1, long arg2)
m_sdfdvhlg(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
m_6735_(C_12_ p_23525_, C_526_ p_23526_, long arg2)
private LivingEntity
b(bbh arg0)
getAttackTarget(Mob arg0)
method_25944(class_1308 arg0)
m_awimvcbi(C_dxkfswlz arg0)
getAttackTarget(MobEntity entity)
getAttackTarget(MobEntity entity)
m_23532_(C_526_ arg0)