Class GatherPOITask.RetryMarker

java.lang.Object
net.minecraft.entity.ai.brain.task.GatherPOITask.RetryMarker
Enclosing class:
GatherPOITask

static class GatherPOITask.RetryMarker extends Object
  • Field Details

    • random

      private final Random random
    • previousAttemptTimestamp

      private long previousAttemptTimestamp
    • nextScheduledAttemptTimestamp

      private long nextScheduledAttemptTimestamp
    • currentDelay

      private int currentDelay
  • Constructor Details

    • RetryMarker

      RetryMarker(Random p_i241233_1_, long p_i241233_2_)
  • Method Details

    • markAttempt

      public void markAttempt(long p_241370_1_)
    • isStillValid

      public boolean isStillValid(long p_241371_1_)
    • shouldRetry

      public boolean shouldRetry(long p_241372_1_)
    • toString

      public String toString()
      Overrides:
      toString in class Object