Package net.minecraft.entity.ai.goal
Class RangedAttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.RangedAttackGoal
- Direct Known Subclasses:
DrownedEntity.TridentAttackGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final float
private final float
private int
private final MobEntity
private final IRangedAttackMob
private int
private final double
private LivingEntity
-
Constructor Summary
ConstructorDescriptionRangedAttackGoal
(IRangedAttackMob p_i1649_1_, double p_i1649_2_, int p_i1649_4_, float p_i1649_5_) RangedAttackGoal
(IRangedAttackMob p_i1650_1_, double p_i1650_2_, int p_i1650_4_, int p_i1650_5_, float p_i1650_6_) -
Method Summary
-
Field Details
-
mob
-
rangedAttackMob
-
target
-
attackTime
private int attackTime -
speedModifier
private final double speedModifier -
seeTime
private int seeTime -
attackIntervalMin
private final int attackIntervalMin -
attackIntervalMax
private final int attackIntervalMax -
attackRadius
private final float attackRadius -
attackRadiusSqr
private final float attackRadiusSqr
-
-
Constructor Details
-
RangedAttackGoal
public RangedAttackGoal(IRangedAttackMob p_i1649_1_, double p_i1649_2_, int p_i1649_4_, float p_i1649_5_) -
RangedAttackGoal
public RangedAttackGoal(IRangedAttackMob p_i1650_1_, double p_i1650_2_, int p_i1650_4_, int p_i1650_5_, float p_i1650_6_)
-
-
Method Details