net.minecraft.world.entity.ai.behavior

public class MeleeAttack

extends Behavior<Mob>

awk
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.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
f_23510_

Constructor summary

ModifierConstructor
public (int interval)

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, atv 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)
m_6114_(C_12_ p_23522_, C_526_ arg1)
private boolean
a(atv arg0)
isHoldingUsableProjectileWeapon(Mob arg0)
method_25942(class_1308 arg0)
m_njoxpzqb(C_dxkfswlz arg0)
isHoldingUsableRangedWeapon(MobEntity entity)
m_23527_(C_526_ arg0)
protected void
a(abr arg0, atv 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)
m_6735_(C_12_ p_23525_, C_526_ p_23526_, long arg2)
private LivingEntity
b(atv arg0)
getAttackTarget(Mob arg0)
method_25944(class_1308 arg0)
m_awimvcbi(C_dxkfswlz arg0)
getAttackTarget(MobEntity entity)
m_23532_(C_526_ arg0)