类 MetricSuppliers


  • public class MetricSuppliers
    extends Object
    Mappings:
    Namespace Name
    official aps
    intermediary net/minecraft/class_5950
    named net/minecraft/util/profiler/MetricSuppliers
    • 字段详细资料

      • INSTANCE

        public static final MetricSuppliers INSTANCE
        Mappings:
        Namespace Name Mixin selector
        official a Laps;a:Laps;
        intermediary field_29555 Lnet/minecraft/class_5950;field_29555:Lnet/minecraft/class_5950;
        named INSTANCE Lnet/minecraft/util/profiler/MetricSuppliers;INSTANCE:Lnet/minecraft/util/profiler/MetricSuppliers;
      • samplers

        private final WeakHashMap<MetricSamplerSupplier,​Void> samplers
        Mappings:
        Namespace Name Mixin selector
        official b Laps;b:Ljava/util/WeakHashMap;
        intermediary field_29556 Lnet/minecraft/class_5950;field_29556:Ljava/util/WeakHashMap;
        named samplers Lnet/minecraft/util/profiler/MetricSuppliers;samplers:Ljava/util/WeakHashMap;
    • 构造器详细资料

      • MetricSuppliers

        private MetricSuppliers()
    • 方法详细资料

      • add

        public void add​(MetricSamplerSupplier supplier)
        Mappings:
        Namespace Name Mixin selector
        official a Laps;a(Lapu;)V
        intermediary method_34702 Lnet/minecraft/class_5950;method_34702(Lnet/minecraft/class_5952;)V
        named add Lnet/minecraft/util/profiler/MetricSuppliers;add(Lnet/minecraft/util/profiler/MetricSamplerSupplier;)V
      • getSamplers

        public Map<SamplingChannel,​List<MetricSampler>> getSamplers()
        Mappings:
        Namespace Name Mixin selector
        official a Laps;a()Ljava/util/Map;
        intermediary method_34701 Lnet/minecraft/class_5950;method_34701()Ljava/util/Map;
        named getSamplers Lnet/minecraft/util/profiler/MetricSuppliers;getSamplers()Ljava/util/Map;