类 RangedAttackGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RangedAttackGoal
直接已知子类:
Drowned.DrownedTridentAttackGoal

public class RangedAttackGoal extends Goal
  • 字段详细资料

    • mob

      private final Mob mob
    • rangedAttackMob

      private final RangedAttackMob rangedAttackMob
    • target

      @Nullable private LivingEntity 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
  • 构造器详细资料

    • RangedAttackGoal

      public RangedAttackGoal(RangedAttackMob p_25768_, double p_25769_, int p_25770_, float p_25771_)
    • RangedAttackGoal

      public RangedAttackGoal(RangedAttackMob p_25773_, double p_25774_, int p_25775_, int p_25776_, float p_25777_)
  • 方法详细资料

    • canUse

      public boolean canUse()
      指定者:
      canUse 在类中 Goal
    • canContinueToUse

      public boolean canContinueToUse()
      覆盖:
      canContinueToUse 在类中 Goal
    • stop

      public void stop()
      覆盖:
      stop 在类中 Goal
    • requiresUpdateEveryTick

      public boolean requiresUpdateEveryTick()
      覆盖:
      requiresUpdateEveryTick 在类中 Goal
    • tick

      public void tick()
      覆盖:
      tick 在类中 Goal