Class MonitorTracker

java.lang.Object
net.minecraft.client.util.MonitorTracker

@Environment(CLIENT) public class MonitorTracker extends Object
Mappings:
Namespace Name
official dra
intermediary net/minecraft/class_323
named net/minecraft/client/util/MonitorTracker
  • Field Details

    • pointerToMonitorMap

      private final Long2ObjectMap<Monitor> pointerToMonitorMap
      Mappings:
      Namespace Name Mixin selector
      official a Ldra;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

      private final MonitorFactory monitorFactory
      Mappings:
      Namespace Name Mixin selector
      official b Ldra;b:Ldqx;
      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

      public MonitorTracker(MonitorFactory monitorFactory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldra;<init>(Ldqx;)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 Ldra;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

      @Nullable public @Nullable Monitor getMonitor(long pointer)
      Mappings:
      Namespace Name Mixin selector
      official a Ldra;a(J)Ldqw;
      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

      @Nullable public @Nullable Monitor getMonitor(Window window)
      Mappings:
      Namespace Name Mixin selector
      official a Ldra;a(Ldrc;)Ldqw;
      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 Ldra;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 Ldra;a()V
      intermediary method_15992 Lnet/minecraft/class_323;method_15992()V
      named stop Lnet/minecraft/client/util/MonitorTracker;stop()V