net.minecraft.world.entity.ai.goal

public class RangedAttackGoal

extends Goal

bjn
net.minecraft.world.entity.ai.goal.RangedAttackGoal
net.minecraft.class_1381
net.minecraft.entity.ai.goal.ProjectileAttackGoal
net.minecraft.src.C_717_
net.minecraft.world.entity.ai.goal.PathfinderGoalArrowAttack

字段概要

修饰符与类型字段
private final Mob
a
mob
field_6583
mob
f_25757_
private final RangedAttackMob
b
rangedAttackMob
field_6582
owner
f_25758_
private LivingEntity
c
target
field_6580
target
f_25759_
private int
d
attackTime
field_6581
updateCountdownTicks
f_25760_
private final double
e
speedModifier
field_6586
mobSpeed
f_25761_
private int
f
seeTime
field_6579
seenTargetTicks
f_25762_
private final int
g
attackIntervalMin
field_6578
minIntervalTicks
f_25763_
private final int
h
attackIntervalMax
field_6577
maxIntervalTicks
f_25764_
private final float
i
attackRadius
field_6585
maxShootRange
f_25765_
private final float
j
attackRadiusSqr
field_6584
squaredMaxShootRange
f_25766_

构造函数概要

修饰符构造函数
public (RangedAttackMob mob, double mobSpeed, int intervalTicks, float maxShootRange)
public (RangedAttackMob mob, double mobSpeed, int minIntervalTicks, int maxIntervalTicks, float maxShootRange)

方法概要

修饰符与类型方法
public boolean
a()
canUse()
method_6264()
canStart()
m_8036_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
public boolean
E_()
requiresUpdateEveryTick()
method_38846()
shouldRunEveryTick()
m_183429_()
public void
e()
tick()
method_6268()
tick()
m_8037_()