类 AcquirePoi.JitteredLinearRetry

java.lang.Object
net.minecraft.world.entity.ai.behavior.AcquirePoi.JitteredLinearRetry
封闭类:
AcquirePoi

static class AcquirePoi.JitteredLinearRetry extends Object
  • 字段详细资料

    • MIN_INTERVAL_INCREASE

      private static final int MIN_INTERVAL_INCREASE
      另请参阅:
    • MAX_INTERVAL_INCREASE

      private static final int MAX_INTERVAL_INCREASE
      另请参阅:
    • MAX_RETRY_PATHFINDING_INTERVAL

      private static final int MAX_RETRY_PATHFINDING_INTERVAL
      另请参阅:
    • random

      private final RandomSource random
    • previousAttemptTimestamp

      private long previousAttemptTimestamp
    • nextScheduledAttemptTimestamp

      private long nextScheduledAttemptTimestamp
    • currentDelay

      private int currentDelay
  • 构造器详细资料

    • JitteredLinearRetry

      JitteredLinearRetry(RandomSource p_217111_, long p_217112_)
  • 方法详细资料

    • markAttempt

      public void markAttempt(long p_22381_)
    • isStillValid

      public boolean isStillValid(long p_22383_)
    • shouldRetry

      public boolean shouldRetry(long p_22385_)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object