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 eddintermediary net/minecraft/class_5783named net/minecraft/client/realms/gui/DummyFetchRateLimiter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the time left before the next scheduled run of the tracked task.voidonRun()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:
onRunin interfaceFetchRateLimiter- Mappings:
Namespace Name Mixin selector official aLedf;a()Vintermediary method_33421Lnet/minecraft/class_5785;method_33421()Vnamed onRunLnet/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:
getRemainingPeriodin interfaceFetchRateLimiter- Returns:
- the time left before the next scheduled run of the tracked task
- Mappings:
Namespace Name Mixin selector official bLedf;b()Jintermediary method_33422Lnet/minecraft/class_5785;method_33422()Jnamed getRemainingPeriodLnet/minecraft/client/realms/gui/FetchRateLimiter;getRemainingPeriod()J
-