net.minecraft.entity.ai.goal

public class BowAttackGoal

extends Goal

ui
net.minecraft.class_2973
net.minecraft.entity.ai.goal.BowAttackGoal
net.minecraft.entity.ai.EntityAIAttackRangedBow

Field summary

Modifier and TypeField
private final SkeletonEntity
a
field_14584
mob
entity
private final double
b
field_14585
speed
moveSpeedAmp
private int
c
field_14586
attackInterval
attackCooldown
private final float
d
field_14587
maxDistance
maxAttackDistance
private int
e
field_14588
attackCountdown
attackTime
private int
f
field_14589
targetVisibleTicks
seeTime
private boolean
g
field_14590
strafeRight
strafingClockwise
private boolean
h
field_14591
strafeBack
strafingBackwards
private int
i
field_14592
targetDodgeTicks
strafingTime

Constructor summary

ModifierConstructor
public (SkeletonEntity mob, double speed, int attackInterval, float maxDistance)

Method summary

Modifier and TypeMethod
public void
b(int arg0)
method_13101(int arg0)
setAttackInterval(int attackInterval)
setAttackCooldown(int arg0)
public boolean
a()
method_2742()
canStart()
shouldExecute()
protected boolean
f()
method_13102()
canDoRangedAttack()
isBowInMainhand()
public boolean
b()
method_2744()
shouldContinue()
continueExecuting()
public void
c()
method_2747()
start()
startExecuting()
public void
d()
method_2745()
stop()
resetTask()
public void
e()
method_2746()
tick()
updateTask()