Class AcquirePoi.JitteredLinearRetry
java.lang.Object
net.minecraft.world.entity.ai.behavior.AcquirePoi.JitteredLinearRetry
- Enclosing class:
- AcquirePoi
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate static final intprivate static final intprivate longprivate longprivate final RandomSource
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisStillValid(long p_22383_) voidmarkAttempt(long p_22381_) booleanshouldRetry(long p_22385_) toString()
- 
Field Details- 
MIN_INTERVAL_INCREASEprivate static final int MIN_INTERVAL_INCREASE- See Also:
 
- 
MAX_INTERVAL_INCREASEprivate static final int MAX_INTERVAL_INCREASE- See Also:
 
- 
MAX_RETRY_PATHFINDING_INTERVALprivate static final int MAX_RETRY_PATHFINDING_INTERVAL- See Also:
 
- 
random
- 
previousAttemptTimestampprivate long previousAttemptTimestamp
- 
nextScheduledAttemptTimestampprivate long nextScheduledAttemptTimestamp
- 
currentDelayprivate int currentDelay
 
- 
- 
Constructor Details- 
JitteredLinearRetryJitteredLinearRetry(RandomSource p_217111_, long p_217112_) 
 
- 
- 
Method Details