net.minecraft.world.entity.ai.goal

public class MeleeAttackGoal

extends Goal

app
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_15_R1.PathfinderGoalMeleeAttack

Field summary

Modifier and TypeField
protected final PathfinderMob
a
mob
field_6503
mob
field_75441_b
protected int
b
attackTime
field_6505
ticksUntilAttack
field_75439_d
private final double
d
speedModifier
field_6500
speed
field_75440_e
private final boolean
e
trackTarget
field_6502
pauseWhenMobIdle
field_75437_f
private Path
f
path
field_6509
path
field_75438_g
private int
g
timeToRecalcPath
field_6501
updateCountdownTicks
field_75445_i
private double
h
pathedTargetX
field_6508
targetX
field_151497_i
private double
i
pathedTargetY
field_6507
targetY
field_151495_j
private double
j
pathedTargetZ
field_6506
targetZ
field_151496_k
protected final int
c
attackInterval
field_6504
attackIntervalTicks
field_188493_g
private long
k
lastUpdate
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(akz 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 double
a(akz arg0)
getAttackReachSqr(LivingEntity arg0)
method_6289(class_1309 arg0)
getSquaredMaxAttackDistance(LivingEntity entity)
func_179512_a(LivingEntity arg0)