net.minecraft.world.entity.ai.goal

public class MeleeAttackGoal

extends Goal

biz
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
net.minecraft.class_1366
net.minecraft.unmapped.C_iaznzguw
net.minecraft.entity.ai.goal.MeleeAttackGoal
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
f_ovocbqdm
mob
mob
f_25540_
private final double
b
speedModifier
field_6500
f_exjicira
speed
speed
f_25541_
private final boolean
c
followingTargetEvenIfNotSeen
field_6502
f_vttlrirn
pauseWhenMobIdle
pauseWhenMobIdle
f_25542_
private Path
d
path
field_6509
f_zmjdbnlb
path
path
f_25543_
private double
e
pathedTargetX
field_6508
f_hjykpopj
targetX
targetX
f_25544_
private double
f
pathedTargetY
field_6507
f_hayvekwd
targetY
targetY
f_25545_
private double
g
pathedTargetZ
field_6506
f_geqmiwpm
targetZ
targetZ
f_25546_
private int
h
ticksUntilNextPathRecalculation
field_6501
f_imwdxxgl
updateCountdownTicks
updateCountdownTicks
f_25547_
private int
i
ticksUntilNextAttack
field_24667
f_tpwmofhr
cooldown
cooldown
f_25548_
private final int
j
attackInterval
field_6504
f_dbfmckio
attackIntervalTicks
attackIntervalTicks
f_25549_
private long
k
lastCanUseCheck
field_19200
f_hefjfqap
lastUpdateTime
lastUpdateTime
f_25550_
private static final long
l
COOLDOWN_BETWEEN_CAN_USE_CHECKS
field_30218
f_idugpcuc
MAX_ATTACK_TIME
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()
m_njsjilur()
canStart()
canStart()
m_8036_()
public boolean
b()
canContinueToUse()
method_6266()
m_trsyngvn()
shouldContinue()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
m_koalcxuy()
start()
start()
m_8056_()
public void
d()
stop()
method_6270()
m_vtbcctlg()
stop()
stop()
m_8041_()
public boolean
E_()
requiresUpdateEveryTick()
method_38846()
m_eujpslgi()
shouldRunEveryTick()
requiresUpdateEveryTick()
m_183429_()
public void
e()
tick()
method_6268()
m_nfnryldq()
tick()
tick()
m_8037_()
protected void
a(bcc arg0, double arg1)
checkAndPerformAttack(LivingEntity arg0, double arg1)
method_6288(class_1309 arg0, double arg1)
m_xzpsghvt(C_usxaxydn arg0, double arg1)
attack(LivingEntity target, double squaredDistance)
attack(LivingEntity target, double squaredDistance)
m_6739_(C_524_ p_25558_, double arg1)
protected void
h()
resetAttackCooldown()
method_28346()
m_wjzlqejb()
resetCooldown()
resetCooldown()
m_25563_()
protected boolean
i()
isTimeToAttack()
method_28347()
m_iegnfzxq()
isCooledDown()
isCooledDown()
m_25564_()
protected int
k()
getTicksUntilNextAttack()
method_28348()
m_fwqfylqg()
getCooldown()
getCooldown()
m_25565_()
protected int
l()
getAttackInterval()
method_28349()
m_igzpjbjs()
getMaxCooldown()
getMaxCooldown()
m_25566_()
protected double
a(bcc arg0)
getAttackReachSqr(LivingEntity arg0)
method_6289(class_1309 arg0)
m_ypsmzpdc(C_usxaxydn arg0)
getSquaredMaxAttackDistance(LivingEntity entity)
getSquaredMaxAttackDistance(LivingEntity entity)
m_6639_(C_524_ arg0)