net.minecraft.entity.ai.goal

public class BowAttackGoal<T extends MonsterEntity extends RangedAttackMob>

extends Goal

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

Field summary

Modifier and TypeField
private final T
a
field_16544
mob
field_188499_a
entity
private final double
b
field_14585
speed
field_188500_b
moveSpeedAmp
private int
c
field_14586
attackInterval
field_188501_c
attackCooldown
private final float
d
field_14587
maxDistance
field_188502_d
maxAttackDistance
private int
e
field_14588
attackCountdown
field_188503_e
attackTime
private int
f
field_14589
targetVisibleTicks
field_188504_f
seeTime
private boolean
g
field_14590
strafeRight
field_188505_g
strafingClockwise
private boolean
h
field_14591
strafeBack
field_188506_h
strafingBackwards
private int
i
field_14592
targetDodgeTicks
field_188507_i
strafingTime

Constructor summary

ModifierConstructor
public (T arg0, double arg1, int attackInterval, float maxDistance)

Method summary

Modifier and TypeMethod
public void
b(int arg0)
method_13101(int arg0)
setAttackInterval(int attackInterval)
func_189428_b(int arg0)
setAttackCooldown(int arg0)
public boolean
a()
method_2742()
canStart()
func_75250_a()
shouldExecute()
protected boolean
f()
method_13102()
canDoRangedAttack()
func_188498_f()
isBowInMainhand()
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()
updateTask()