Package net.minecraft.client.util
Class MonitorTracker
java.lang.Object
net.minecraft.client.util.MonitorTracker
@Environment(CLIENT) public class MonitorTracker extends Object
- Mappings:
Namespace Name official dla
intermediary net/minecraft/class_323
named net/minecraft/client/util/MonitorTracker
-
Field Summary
Fields Modifier and Type Field Description private MonitorFactory
monitorFactory
private Long2ObjectMap<Monitor>
pointerToMonitorMap
-
Constructor Summary
Constructors Constructor Description MonitorTracker(MonitorFactory monitorFactory)
-
Method Summary
Modifier and Type Method Description static int
clamp(int value, int min, int max)
Monitor
getMonitor(long long2)
Monitor
getMonitor(Window window)
private void
handleMonitorEvent(long monitor, int event)
void
stop()
-
Field Details
-
pointerToMonitorMap
- Mappings:
Namespace Name Mixin selector official a
Ldla;a:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
intermediary field_1993
Lnet/minecraft/class_323;field_1993:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
named pointerToMonitorMap
Lnet/minecraft/client/util/MonitorTracker;pointerToMonitorMap:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
monitorFactory
- Mappings:
Namespace Name Mixin selector official b
Ldla;b:Ldkx;
intermediary field_1991
Lnet/minecraft/class_323;field_1991:Lnet/minecraft/class_3676;
named monitorFactory
Lnet/minecraft/client/util/MonitorTracker;monitorFactory:Lnet/minecraft/client/util/MonitorFactory;
-
-
Constructor Details
-
MonitorTracker
- Mappings:
Namespace Name Mixin selector official <init>
Ldla;<init>(Ldkx;)V
intermediary <init>
Lnet/minecraft/class_323;<init>(Lnet/minecraft/class_3676;)V
named <init>
Lnet/minecraft/client/util/MonitorTracker;<init>(Lnet/minecraft/client/util/MonitorFactory;)V
-
-
Method Details
-
handleMonitorEvent
private void handleMonitorEvent(long monitor, int event)- Mappings:
Namespace Name Mixin selector official a
Ldla;a(JI)V
intermediary method_1683
Lnet/minecraft/class_323;method_1683(JI)V
named handleMonitorEvent
Lnet/minecraft/client/util/MonitorTracker;handleMonitorEvent(JI)V
-
getMonitor
- Mappings:
Namespace Name Mixin selector official a
Ldla;a(J)Ldkw;
intermediary method_1680
Lnet/minecraft/class_323;method_1680(J)Lnet/minecraft/class_313;
named getMonitor
Lnet/minecraft/client/util/MonitorTracker;getMonitor(J)Lnet/minecraft/client/util/Monitor;
-
getMonitor
- Mappings:
Namespace Name Mixin selector official a
Ldla;a(Ldle;)Ldkw;
intermediary method_1681
Lnet/minecraft/class_323;method_1681(Lnet/minecraft/class_1041;)Lnet/minecraft/class_313;
named getMonitor
Lnet/minecraft/client/util/MonitorTracker;getMonitor(Lnet/minecraft/client/util/Window;)Lnet/minecraft/client/util/Monitor;
-
clamp
public static int clamp(int value, int min, int max)- Mappings:
Namespace Name Mixin selector official a
Ldla;a(III)I
intermediary method_15991
Lnet/minecraft/class_323;method_15991(III)I
named clamp
Lnet/minecraft/client/util/MonitorTracker;clamp(III)I
-
stop
public void stop()- Mappings:
Namespace Name Mixin selector official a
Ldla;a()V
intermediary method_15992
Lnet/minecraft/class_323;method_15992()V
named stop
Lnet/minecraft/client/util/MonitorTracker;stop()V
-