Class MonitorTracker

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lehd;a:Lorg/slf4j/Logger;
      intermediary field_37266 Lnet/minecraft/class_323;field_37266:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/util/MonitorTracker;LOGGER:Lorg/slf4j/Logger;
    • pointerToMonitorMap

      private final Long2ObjectMap<Monitor> pointerToMonitorMap
      Mappings:
      Namespace Name Mixin selector
      official b Lehd;b: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 c Lehd;c:Lehb;
      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> Lehd;<init>(Lehb;)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 Lehd;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 Lehd;a(J)Leha;
      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 Lehd;a(Lehf;)Leha;
      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 Lehd;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 Lehd;a()V
      intermediary method_15992 Lnet/minecraft/class_323;method_15992()V
      named stop Lnet/minecraft/client/util/MonitorTracker;stop()V