类 MonitorTracker


  • @Environment(CLIENT)
    public class MonitorTracker
    extends Object
    Mappings:
    Namespace Name
    official dol
    intermediary net/minecraft/class_323
    named net/minecraft/client/util/MonitorTracker
    • 字段详细资料

      • pointerToMonitorMap

        private final Long2ObjectMap<Monitor> pointerToMonitorMap
        Mappings:
        Namespace Name Mixin selector
        official a Ldol;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 Ldol;b:Ldoi;
        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;
    • 构造器详细资料

      • MonitorTracker

        public MonitorTracker​(MonitorFactory monitorFactory)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldol;<init>(Ldoi;)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
    • 方法详细资料

      • handleMonitorEvent

        private void handleMonitorEvent​(long monitor,
                                        int event)
        Mappings:
        Namespace Name Mixin selector
        official a Ldol;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 long2)
        Mappings:
        Namespace Name Mixin selector
        official a Ldol;a(J)Ldoh;
        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 Ldol;a(Ldoo;)Ldoh;
        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 Ldol;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 Ldol;a()V
        intermediary method_15992 Lnet/minecraft/class_323;method_15992()V
        named stop Lnet/minecraft/client/util/MonitorTracker;stop()V