Package net.minecraft.client.realms.gui
Class DummyFetchRateLimiter
java.lang.Object
net.minecraft.client.realms.gui.DummyFetchRateLimiter
- All Implemented Interfaces:
FetchRateLimiter
A fetch rate limiter that does nothing.
- Mappings:
Namespace Name official dvt
intermediary net/minecraft/class_5783
named net/minecraft/client/realms/gui/DummyFetchRateLimiter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the time left before the next scheduled run of the tracked task.void
onRun()
Notifies the tracker that the tracked task is run.
-
Constructor Details
-
DummyFetchRateLimiter
public DummyFetchRateLimiter()
-
-
Method Details
-
onRun
public void onRun()Notifies the tracker that the tracked task is run.- Specified by:
onRun
in interfaceFetchRateLimiter
- Mappings:
Namespace Name Mixin selector official a
Ldvv;a()V
intermediary method_33421
Lnet/minecraft/class_5785;method_33421()V
named onRun
Lnet/minecraft/client/realms/gui/FetchRateLimiter;onRun()V
-
getRemainingPeriod
public long getRemainingPeriod()Returns the time left before the next scheduled run of the tracked task.- Specified by:
getRemainingPeriod
in interfaceFetchRateLimiter
- Returns:
- the time left before the next scheduled run of the tracked task
- Mappings:
Namespace Name Mixin selector official b
Ldvv;b()J
intermediary method_33422
Lnet/minecraft/class_5785;method_33422()J
named getRemainingPeriod
Lnet/minecraft/client/realms/gui/FetchRateLimiter;getRemainingPeriod()J
-