net.minecraft.entity.ai.goal

public class MeleeAttackGoal

extends Goal

ahe
net.minecraft.class_905
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.ai.EntityAIAttackMelee
net.minecraft.entity.ai.EntityAIAttackMelee

Field summary

Modifier and TypeField
protected PathFinderMobEntity
a
field_6845
entity
field_75441_b
attacker
protected int
b
field_3534
attackCooldown
field_75439_d
attackTick
private final double
d
field_6846
speed
field_75440_e
speedTowardsTarget
private final boolean
e
field_3536
pauseWhenMobIdle
field_75437_f
longMemory
private Path
f
field_14581
path
field_75438_g
path
private int
g
field_3539
updateCountdownTicks
field_75445_i
delayCounter
private double
h
field_9087
targetX
field_151497_i
targetX
private double
i
field_9088
targetY
field_151495_j
targetY
private double
j
field_9089
targetZ
field_151496_k
targetZ
protected final int
c
field_14582
lastUpdate
field_188493_g
attackInterval

Constructor summary

ModifierConstructor
public (PathFinderMobEntity entity, double speed, boolean pauseWhenMobIdle)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
func_75250_a()
shouldExecute()
public boolean
b()
method_2744()
shouldContinue()
func_75253_b()
shouldContinueExecuting()
public void
c()
method_2747()
start()
func_75249_e()
startExecuting()
public void
d()
method_2745()
stop()
func_75251_c()
resetTask()
public void
e()
method_2746()
tick()
func_75246_d()
tick()
protected void
a(afa arg0, double arg1)
method_13497(class_1699 arg0, double arg1)
tryAttack(LivingEntity target, double distance)
func_190102_a(EntityLivingBase arg0, double arg1)
checkAndPerformAttack(EntityLivingBase enemy, double distToEnemySqr)
protected double
a(afa arg0)
method_11011(class_1699 arg0)
getReach(LivingEntity target)
func_179512_a(EntityLivingBase arg0)
getAttackReachSqr(EntityLivingBase attackTarget)