com.mojang.realmsclient.gui.task

public class IntervalBasedStartupDelay

implements RestartDelayCalculator

dtu
com.mojang.realmsclient.gui.task.IntervalBasedStartupDelay
net.minecraft.class_5782
net.minecraft.client.realms.gui.BasicFetchRateLimiter
net.minecraft.src.C_141560_

Field summary

Modifier and TypeField
private final Duration
a
interval
field_28449
period
f_167559_
private final Supplier<Clock>
b
clock
field_28450
clock
f_167560_
private Instant
c
lastStartedTimestamp
field_28451
lastRun
f_167561_

Constructor summary

ModifierConstructor
public (Duration period)
protected (Duration period, Supplier<Clock> clock)

Method summary

Modifier and TypeMethod
public void
a()
markExecutionStart()
method_33421()
onRun()
m_142685_()
public long
b()
getNextDelayMs()
method_33422()
getRemainingPeriod()
m_142678_()