Class RangedAttackGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RangedAttackGoal
- Direct Known Subclasses:
Drowned.DrownedTridentAttackGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private float
private float
private int
private Mob
private RangedAttackMob
private int
private double
private LivingEntity
-
Constructor Summary
ConstructorDescriptionRangedAttackGoal(RangedAttackMob p_25768_, double p_25769_, int p_25770_, float p_25771_)
RangedAttackGoal(RangedAttackMob p_25773_, double p_25774_, int p_25775_, int p_25776_, float p_25777_)
-
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
-
RangedAttackGoal
public RangedAttackGoal(RangedAttackMob p_25773_, double p_25774_, int p_25775_, int p_25776_, float p_25777_)
-
-
Method Details