类 DummyFetchRateLimiter
- java.lang.Object
-
- net.minecraft.client.realms.gui.DummyFetchRateLimiter
-
- 所有已实现的接口:
FetchRateLimiter
@Environment(CLIENT) public class DummyFetchRateLimiter extends Object implements FetchRateLimiter
A fetch rate limiter that does nothing.- Mappings:
Namespace Name official dssintermediary net/minecraft/class_5783named net/minecraft/client/realms/gui/DummyFetchRateLimiter
-
-
构造器概要
构造器 构造器 说明 DummyFetchRateLimiter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 longgetRemainingPeriod()Returns the time left before the next scheduled run of the tracked task.voidonRun()Notifies the tracker that the tracked task is run.
-
-
-
方法详细资料
-
onRun
public void onRun()
Notifies the tracker that the tracked task is run.- 指定者:
onRun在接口中FetchRateLimiter- Mappings:
Namespace Name Mixin selector official aLdsu;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.- 指定者:
getRemainingPeriod在接口中FetchRateLimiter- Mappings:
Namespace Name Mixin selector official bLdsu;b()Jintermediary method_33422Lnet/minecraft/class_5785;method_33422()Jnamed getRemainingPeriodLnet/minecraft/client/realms/gui/FetchRateLimiter;getRemainingPeriod()J
-
-