net.minecraft.entity.ai.goal

public class MeleeAttackGoal

extends Goal

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

Field summary

Modifier and TypeField
World
a
field_3531
world
world
protected PathFinderMobEntity
b
field_6845
entity
attacker
protected int
c
field_3534
attackCooldown
attackTick
double
d
field_6846
speed
speedTowardsTarget
boolean
e
field_3536
pauseWhenMobIdle
longMemory
Path
f
field_14581
path
entityPathEntity
private int
h
field_3539
updateCountdownTicks
delayCounter
private double
i
field_9087
targetX
targetX
private double
j
field_9088
targetY
targetY
private double
k
field_9089
targetZ
targetZ
protected final int
g
field_14582
lastUpdate
attackInterval

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
shouldExecute()
public boolean
b()
method_2744()
shouldContinue()
shouldContinueExecuting()
public void
c()
method_2747()
start()
startExecuting()
public void
d()
method_2745()
stop()
resetTask()
public void
e()
method_2746()
tick()
updateTask()
protected void
a(sw arg0, double arg1)
method_13497(class_1699 arg0, double arg1)
tryAttack(LivingEntity target, double distance)
checkAndPerformAttack(EntityLivingBase arg0, double arg1)
protected double
a(sw arg0)
method_11011(class_1699 arg0)
getReach(LivingEntity target)
getAttackReachSqr(EntityLivingBase attackTarget)