net.minecraft.world.entity.ai.behavior

public class MeleeAttack

extends Behavior<Mob>

arh
net.minecraft.world.entity.ai.behavior.MeleeAttack
net.minecraft.class_4816
net.minecraft.entity.ai.brain.task.MeleeAttackTask
net.minecraft.entity.ai.brain.task.AttackTargetTask
net.minecraft.server.v1_16_R1.BehaviorAttack

Field summary

Modifier and TypeField
private final int
b
cooldownBetweenAttacks
field_22308
interval
field_233920_b_

Constructor summary

ModifierConstructor
public (int interval)

Method summary

Modifier and TypeMethod
protected boolean
a(zd arg0, aoz arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_24588(class_3218 arg0, class_1308 arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
func_212832_a_(ServerWorld arg0, MobEntity arg1)
private boolean
a(aoz arg0)
isHoldingUsableProjectileWeapon(Mob arg0)
method_25942(class_1308 arg0)
method_25942(MobEntity arg0)
func_233921_a_(MobEntity arg0)
protected void
a(zd arg0, aoz arg1, long arg2)
start(ServerLevel arg0, Mob arg1, long arg2)
method_24590(class_3218 arg0, class_1308 arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
func_212831_a_(ServerWorld arg0, MobEntity arg1, long arg2)
private LivingEntity
b(aoz arg0)
getAttackTarget(Mob arg0)
method_25944(class_1308 arg0)
method_25944(MobEntity arg0)
func_233923_b_(MobEntity arg0)