net.minecraft.world.entity.ai.goal

public class MeleeAttackGoal

extends Goal

caz
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
net.minecraft.class_1366
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.src.C_703_
net.minecraft.world.entity.ai.goal.PathfinderGoalMeleeAttack

Field summary

Modifier and TypeField
protected final PathfinderMob
a
mob
field_6503
mob
f_25540_
private final double
b
speedModifier
field_6500
speed
f_25541_
private final boolean
c
followingTargetEvenIfNotSeen
field_6502
pauseWhenMobIdle
f_25542_
private Path
d
path
field_6509
path
f_25543_
private double
e
pathedTargetX
field_6508
targetX
f_25544_
private double
f
pathedTargetY
field_6507
targetY
f_25545_
private double
g
pathedTargetZ
field_6506
targetZ
f_25546_
private int
h
ticksUntilNextPathRecalculation
field_6501
updateCountdownTicks
f_25547_
private int
i
ticksUntilNextAttack
field_24667
cooldown
f_25548_
private final int
j
attackInterval
field_6504
attackIntervalTicks
f_25549_
private long
k
lastCanUseCheck
field_19200
lastUpdateTime
f_25550_
private static final long
l
COOLDOWN_BETWEEN_CAN_USE_CHECKS
field_30218
MAX_ATTACK_TIME
f_148125_

Constructor summary

ModifierConstructor
public (PathfinderMob mob, double speed, boolean pauseWhenMobIdle)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
m_8036_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
start()
m_8056_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
public boolean
R_()
requiresUpdateEveryTick()
method_38846()
shouldRunEveryTick()
m_183429_()
public void
e()
tick()
method_6268()
tick()
m_8037_()
protected void
a(btr arg0)
checkAndPerformAttack(LivingEntity arg0)
method_6288(class_1309 arg0)
attack(LivingEntity target)
m_6739_(C_524_ arg0)
protected void
h()
resetAttackCooldown()
method_28346()
resetCooldown()
m_25563_()
protected boolean
i()
isTimeToAttack()
method_28347()
isCooledDown()
m_25564_()
protected boolean
b(btr arg0)
canPerformAttack(LivingEntity arg0)
method_53715(class_1309 arg0)
canAttack(LivingEntity target)
m_295195_(C_524_ arg0)
protected int
k()
getTicksUntilNextAttack()
method_28348()
getCooldown()
m_25565_()
protected int
l()
getAttackInterval()
method_28349()
getMaxCooldown()
m_25566_()