net.minecraft.world.entity.ai.goal

public class MeleeAttackGoal

extends Goal

cfy
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
net.minecraft.class_1366

Field summary

Modifier and TypeField
protected final PathfinderMob
a
mob
field_6503
private final double
b
speedModifier
field_6500
private final boolean
c
followingTargetEvenIfNotSeen
field_6502
private Path
d
path
field_6509
private double
e
pathedTargetX
field_6508
private double
f
pathedTargetY
field_6507
private double
g
pathedTargetZ
field_6506
private int
h
ticksUntilNextPathRecalculation
field_6501
private int
i
ticksUntilNextAttack
field_24667
private final int
j
attackInterval
field_6504
private long
k
lastCanUseCheck
field_19200
private static final long
l
COOLDOWN_BETWEEN_CAN_USE_CHECKS
field_30218

Constructor summary

ModifierConstructor
public (PathfinderMob arg0, double arg1, boolean arg2)

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
public boolean
c()
canContinueToUse()
method_6266()
public void
d()
start()
method_6269()
public void
e()
stop()
method_6270()
public boolean
V_()
requiresUpdateEveryTick()
method_38846()
public void
a()
tick()
method_6268()
protected void
a(bys arg0)
checkAndPerformAttack(LivingEntity arg0)
method_6288(class_1309 arg0)
protected void
h()
resetAttackCooldown()
method_28346()
protected boolean
i()
isTimeToAttack()
method_28347()
protected boolean
b(bys arg0)
canPerformAttack(LivingEntity arg0)
method_53715(class_1309 arg0)
protected int
k()
getTicksUntilNextAttack()
method_28348()
protected int
l()
getAttackInterval()
method_28349()