类 VideoWarningManager

    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Lelu;a:Lorg/apache/logging/log4j/Logger;
        intermediary field_25716 Lnet/minecraft/class_5407;field_25716:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/client/resource/VideoWarningManager;LOGGER:Lorg/apache/logging/log4j/Logger;
      • GPU_WARNLIST_ID

        private static final Identifier GPU_WARNLIST_ID
        Mappings:
        Namespace Name Mixin selector
        official b Lelu;b:Lwp;
        intermediary field_25689 Lnet/minecraft/class_5407;field_25689:Lnet/minecraft/class_2960;
        named GPU_WARNLIST_ID Lnet/minecraft/client/resource/VideoWarningManager;GPU_WARNLIST_ID:Lnet/minecraft/util/Identifier;
      • warnings

        private ImmutableMap<String,​String> warnings
        Mappings:
        Namespace Name Mixin selector
        official c Lelu;c:Lcom/google/common/collect/ImmutableMap;
        intermediary field_25690 Lnet/minecraft/class_5407;field_25690:Lcom/google/common/collect/ImmutableMap;
        named warnings Lnet/minecraft/client/resource/VideoWarningManager;warnings:Lcom/google/common/collect/ImmutableMap;
      • warningScheduled

        private boolean warningScheduled
        Mappings:
        Namespace Name Mixin selector
        official d Lelu;d:Z
        intermediary field_25717 Lnet/minecraft/class_5407;field_25717:Z
        named warningScheduled Lnet/minecraft/client/resource/VideoWarningManager;warningScheduled:Z
      • warned

        private boolean warned
        Mappings:
        Namespace Name Mixin selector
        official e Lelu;e:Z
        intermediary field_25718 Lnet/minecraft/class_5407;field_25718:Z
        named warned Lnet/minecraft/client/resource/VideoWarningManager;warned:Z
      • cancelledAfterWarning

        private boolean cancelledAfterWarning
        Mappings:
        Namespace Name Mixin selector
        official f Lelu;f:Z
        intermediary field_25719 Lnet/minecraft/class_5407;field_25719:Z
        named cancelledAfterWarning Lnet/minecraft/client/resource/VideoWarningManager;cancelledAfterWarning:Z
    • 构造器详细资料

      • VideoWarningManager

        public VideoWarningManager()
    • 方法详细资料

      • hasWarning

        public boolean hasWarning()
        Mappings:
        Namespace Name Mixin selector
        official a Lelu;a()Z
        intermediary method_30055 Lnet/minecraft/class_5407;method_30055()Z
        named hasWarning Lnet/minecraft/client/resource/VideoWarningManager;hasWarning()Z
      • canWarn

        public boolean canWarn()
        Mappings:
        Namespace Name Mixin selector
        official b Lelu;b()Z
        intermediary method_30137 Lnet/minecraft/class_5407;method_30137()Z
        named canWarn Lnet/minecraft/client/resource/VideoWarningManager;canWarn()Z
      • scheduleWarning

        public void scheduleWarning()
        Mappings:
        Namespace Name Mixin selector
        official d Lelu;d()V
        intermediary method_30138 Lnet/minecraft/class_5407;method_30138()V
        named scheduleWarning Lnet/minecraft/client/resource/VideoWarningManager;scheduleWarning()V
      • acceptAfterWarnings

        public void acceptAfterWarnings()
        Mappings:
        Namespace Name Mixin selector
        official e Lelu;e()V
        intermediary method_30139 Lnet/minecraft/class_5407;method_30139()V
        named acceptAfterWarnings Lnet/minecraft/client/resource/VideoWarningManager;acceptAfterWarnings()V
      • cancelAfterWarnings

        public void cancelAfterWarnings()
        Mappings:
        Namespace Name Mixin selector
        official f Lelu;f()V
        intermediary method_30140 Lnet/minecraft/class_5407;method_30140()V
        named cancelAfterWarnings Lnet/minecraft/client/resource/VideoWarningManager;cancelAfterWarnings()V
      • shouldWarn

        public boolean shouldWarn()
        Mappings:
        Namespace Name Mixin selector
        official g Lelu;g()Z
        intermediary method_30141 Lnet/minecraft/class_5407;method_30141()Z
        named shouldWarn Lnet/minecraft/client/resource/VideoWarningManager;shouldWarn()Z
      • hasCancelledAfterWarning

        public boolean hasCancelledAfterWarning()
        Mappings:
        Namespace Name Mixin selector
        official h Lelu;h()Z
        intermediary method_30142 Lnet/minecraft/class_5407;method_30142()Z
        named hasCancelledAfterWarning Lnet/minecraft/client/resource/VideoWarningManager;hasCancelledAfterWarning()Z
      • reset

        public void reset()
        Mappings:
        Namespace Name Mixin selector
        official i Lelu;i()V
        intermediary method_30143 Lnet/minecraft/class_5407;method_30143()V
        named reset Lnet/minecraft/client/resource/VideoWarningManager;reset()V
      • getRendererWarning

        @Nullable
        public @Nullable String getRendererWarning()
        Mappings:
        Namespace Name Mixin selector
        official j Lelu;j()Ljava/lang/String;
        intermediary method_30060 Lnet/minecraft/class_5407;method_30060()Ljava/lang/String;
        named getRendererWarning Lnet/minecraft/client/resource/VideoWarningManager;getRendererWarning()Ljava/lang/String;
      • getVersionWarning

        @Nullable
        public @Nullable String getVersionWarning()
        Mappings:
        Namespace Name Mixin selector
        official k Lelu;k()Ljava/lang/String;
        intermediary method_30062 Lnet/minecraft/class_5407;method_30062()Ljava/lang/String;
        named getVersionWarning Lnet/minecraft/client/resource/VideoWarningManager;getVersionWarning()Ljava/lang/String;
      • getVendorWarning

        @Nullable
        public @Nullable String getVendorWarning()
        Mappings:
        Namespace Name Mixin selector
        official l Lelu;l()Ljava/lang/String;
        intermediary method_30063 Lnet/minecraft/class_5407;method_30063()Ljava/lang/String;
        named getVendorWarning Lnet/minecraft/client/resource/VideoWarningManager;getVendorWarning()Ljava/lang/String;
      • getWarningsAsString

        @Nullable
        public @Nullable String getWarningsAsString()
        Mappings:
        Namespace Name Mixin selector
        official m Lelu;m()Ljava/lang/String;
        intermediary method_30920 Lnet/minecraft/class_5407;method_30920()Ljava/lang/String;
        named getWarningsAsString Lnet/minecraft/client/resource/VideoWarningManager;getWarningsAsString()Ljava/lang/String;
      • prepare

        protected VideoWarningManager.WarningPatternLoader prepare​(ResourceManager resourceManager,
                                                                   Profiler profiler)
        从类复制的说明: SinglePreparationResourceReloader
        Prepares the intermediate object.

        This method is called in the prepare executor in a reload.

        指定者:
        prepare 在类中 SinglePreparationResourceReloader<VideoWarningManager.WarningPatternLoader>
        参数:
        resourceManager - the resource manager
        profiler - the prepare profiler
        返回:
        the prepared object
        Mappings:
        Namespace Name Mixin selector
        official a Lelu;a(Ladl;Lapl;)Lelu$a;
        intermediary method_30056 Lnet/minecraft/class_5407;method_30056(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Lnet/minecraft/class_5407$class_5408;
        named prepare Lnet/minecraft/client/resource/VideoWarningManager;prepare(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)Lnet/minecraft/client/resource/VideoWarningManager$WarningPatternLoader;
      • apply

        protected void apply​(VideoWarningManager.WarningPatternLoader warningPatternLoader,
                             ResourceManager resourceManager,
                             Profiler profiler)
        从类复制的说明: SinglePreparationResourceReloader
        Handles the prepared intermediate object.

        This method is called in the apply executor, or the game engine, in a reload.

        指定者:
        apply 在类中 SinglePreparationResourceReloader<VideoWarningManager.WarningPatternLoader>
        参数:
        warningPatternLoader - the prepared object
        resourceManager - the resource manager
        profiler - the apply profiler
        Mappings:
        Namespace Name Mixin selector
        official a Lelu;a(Lelu$a;Ladl;Lapl;)V
        intermediary method_30058 Lnet/minecraft/class_5407;method_30058(Lnet/minecraft/class_5407$class_5408;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
        named apply Lnet/minecraft/client/resource/VideoWarningManager;apply(Lnet/minecraft/client/resource/VideoWarningManager$WarningPatternLoader;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
      • compilePatterns

        private static void compilePatterns​(JsonArray array,
                                            List<Pattern> patterns)
        Mappings:
        Namespace Name Mixin selector
        official a Lelu;a(Lcom/google/gson/JsonArray;Ljava/util/List;)V
        intermediary method_30057 Lnet/minecraft/class_5407;method_30057(Lcom/google/gson/JsonArray;Ljava/util/List;)V
        named compilePatterns Lnet/minecraft/client/resource/VideoWarningManager;compilePatterns(Lcom/google/gson/JsonArray;Ljava/util/List;)V
      • loadWarnlist

        @Nullable
        private static @Nullable JsonObject loadWarnlist​(ResourceManager resourceManager,
                                                         Profiler profiler)
        Mappings:
        Namespace Name Mixin selector
        official c Lelu;c(Ladl;Lapl;)Lcom/google/gson/JsonObject;
        intermediary method_30061 Lnet/minecraft/class_5407;method_30061(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Lcom/google/gson/JsonObject;
        named loadWarnlist Lnet/minecraft/client/resource/VideoWarningManager;loadWarnlist(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)Lcom/google/gson/JsonObject;