Class GatherPOITask.RetryMarker
- java.lang.Object
-
- net.minecraft.entity.ai.brain.task.GatherPOITask.RetryMarker
-
- Enclosing class:
- GatherPOITask
static class GatherPOITask.RetryMarker extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
currentDelay
private long
nextScheduledAttemptTimestamp
private long
previousAttemptTimestamp
private java.util.Random
random
-
Constructor Summary
Constructors Constructor Description RetryMarker(java.util.Random p_i241233_1_, long p_i241233_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isStillValid(long p_241371_1_)
void
markAttempt(long p_241370_1_)
boolean
shouldRetry(long p_241372_1_)
java.lang.String
toString()
-