Class MonitorTracker

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

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

    • LOGGER

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

      private final Long2ObjectMap<Monitor> pointerToMonitorMap
      Mappings:
      Namespace Name Mixin selector
      named pointerToMonitorMap Lnet/minecraft/client/util/MonitorTracker;pointerToMonitorMap:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      intermediary field_1993 Lnet/minecraft/class_323;field_1993:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      official b Lffs;b:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
    • monitorFactory

      private final MonitorFactory monitorFactory
      Mappings:
      Namespace Name Mixin selector
      named monitorFactory Lnet/minecraft/client/util/MonitorTracker;monitorFactory:Lnet/minecraft/client/util/MonitorFactory;
      intermediary field_1991 Lnet/minecraft/class_323;field_1991:Lnet/minecraft/class_3676;
      official c Lffs;c:Lffq;
  • Constructor Details

    • MonitorTracker

      public MonitorTracker(MonitorFactory monitorFactory)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/MonitorTracker;<init>(Lnet/minecraft/client/util/MonitorFactory;)V
      intermediary <init> Lnet/minecraft/class_323;<init>(Lnet/minecraft/class_3676;)V
      official <init> Lffs;<init>(Lffq;)V
  • Method Details

    • handleMonitorEvent

      private void handleMonitorEvent(long monitor, int event)
      Mappings:
      Namespace Name Mixin selector
      named handleMonitorEvent Lnet/minecraft/client/util/MonitorTracker;handleMonitorEvent(JI)V
      intermediary method_1683 Lnet/minecraft/class_323;method_1683(JI)V
      official a Lffs;a(JI)V
    • getMonitor

      @Nullable public @Nullable Monitor getMonitor(long pointer)
      Mappings:
      Namespace Name Mixin selector
      named getMonitor Lnet/minecraft/client/util/MonitorTracker;getMonitor(J)Lnet/minecraft/client/util/Monitor;
      intermediary method_1680 Lnet/minecraft/class_323;method_1680(J)Lnet/minecraft/class_313;
      official a Lffs;a(J)Lffp;
    • getMonitor

      @Nullable public @Nullable Monitor getMonitor(Window window)
      Mappings:
      Namespace Name Mixin selector
      named getMonitor Lnet/minecraft/client/util/MonitorTracker;getMonitor(Lnet/minecraft/client/util/Window;)Lnet/minecraft/client/util/Monitor;
      intermediary method_1681 Lnet/minecraft/class_323;method_1681(Lnet/minecraft/class_1041;)Lnet/minecraft/class_313;
      official a Lffs;a(Lffu;)Lffp;
    • clamp

      public static int clamp(int value, int min, int max)
      Mappings:
      Namespace Name Mixin selector
      named clamp Lnet/minecraft/client/util/MonitorTracker;clamp(III)I
      intermediary method_15991 Lnet/minecraft/class_323;method_15991(III)I
      official a Lffs;a(III)I
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/client/util/MonitorTracker;stop()V
      intermediary method_15992 Lnet/minecraft/class_323;method_15992()V
      official a Lffs;a()V