net.minecraft.world.entity.ai.goal

public class MeleeAttackGoal

extends Goal

auq
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
net.minecraft.class_1366
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.server.v1_16_R1.PathfinderGoalMeleeAttack

Field summary

Modifier and TypeField
protected final PathfinderMob
a
mob
field_6503
mob
field_75441_b
private final double
b
speedModifier
field_6500
speed
field_75440_e
private final boolean
c
followingTargetEvenIfNotSeen
field_6502
pauseWhenMobIdle
field_75437_f
private Path
d
path
field_6509
path
field_75438_g
private double
e
pathedTargetX
field_6508
targetX
field_151497_i
private double
f
pathedTargetY
field_6507
targetY
field_151495_j
private double
g
pathedTargetZ
field_6506
targetZ
field_151496_k
private int
h
ticksUntilNextPathRecalculation
field_6501
updateCountdownTicks
field_75445_i
private int
i
ticksUntilNextAttack
field_24667
field_24667
field_234037_i_
private final int
j
attackInterval
field_6504
attackIntervalTicks
field_188493_g
private long
k
lastCanUseCheck
field_19200
lastUpdateTime
field_220720_k

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
func_75250_a()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
func_75253_b()
public void
c()
start()
method_6269()
start()
func_75249_e()
public void
d()
stop()
method_6270()
stop()
func_75251_c()
public void
e()
tick()
method_6268()
tick()
func_75246_d()
protected void
a(aoy arg0, double arg1)
checkAndPerformAttack(LivingEntity arg0, double arg1)
method_6288(class_1309 arg0, double arg1)
attack(LivingEntity target, double squaredDistance)
func_190102_a(LivingEntity arg0, double arg1)
protected void
g()
resetAttackCooldown()
method_28346()
method_28346()
func_234039_g_()
protected boolean
h()
isTimeToAttack()
method_28347()
method_28347()
func_234040_h_()
protected int
j()
getTicksUntilNextAttack()
method_28348()
method_28348()
func_234041_j_()
protected int
k()
getAttackInterval()
method_28349()
method_28349()
func_234042_k_()
protected double
a(aoy arg0)
getAttackReachSqr(LivingEntity arg0)
method_6289(class_1309 arg0)
getSquaredMaxAttackDistance(LivingEntity entity)
func_179512_a(LivingEntity arg0)