Package net.minecraft.client.resource
Class VideoWarningManager
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloader<VideoWarningManager.WarningPatternLoader>
net.minecraft.client.resource.VideoWarningManager
- All Implemented Interfaces:
ResourceReloader
@Environment(CLIENT)
public class VideoWarningManager
extends SinglePreparationResourceReloader<VideoWarningManager.WarningPatternLoader>
- Mappings:
Namespace Name named net/minecraft/client/resource/VideoWarningManager
intermediary net/minecraft/class_5407
official gdj
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static final class
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private static final Identifier
private static final Logger
private boolean
private ImmutableMap
<String, String> private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
apply
(VideoWarningManager.WarningPatternLoader warningPatternLoader, ResourceManager resourceManager, Profiler profiler) Handles the prepared intermediate object.void
boolean
canWarn()
private static void
compilePatterns
(JsonArray array, List<Pattern> patterns) boolean
boolean
private static @Nullable JsonObject
loadWarnlist
(ResourceManager resourceManager, Profiler profiler) protected VideoWarningManager.WarningPatternLoader
prepare
(ResourceManager resourceManager, Profiler profiler) Prepares the intermediate object.void
reset()
void
boolean
Methods inherited from class net.minecraft.resource.SinglePreparationResourceReloader
reload
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resource.ResourceReloader
getName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/resource/VideoWarningManager;LOGGER:Lorg/slf4j/Logger;
intermediary field_25716
Lnet/minecraft/class_5407;field_25716:Lorg/slf4j/Logger;
official a
Lgdj;a:Lorg/slf4j/Logger;
-
GPU_WARNLIST_ID
- Mappings:
Namespace Name Mixin selector named GPU_WARNLIST_ID
Lnet/minecraft/client/resource/VideoWarningManager;GPU_WARNLIST_ID:Lnet/minecraft/util/Identifier;
intermediary field_25689
Lnet/minecraft/class_5407;field_25689:Lnet/minecraft/class_2960;
official b
Lgdj;b:Lalf;
-
warnings
- Mappings:
Namespace Name Mixin selector named warnings
Lnet/minecraft/client/resource/VideoWarningManager;warnings:Lcom/google/common/collect/ImmutableMap;
intermediary field_25690
Lnet/minecraft/class_5407;field_25690:Lcom/google/common/collect/ImmutableMap;
official c
Lgdj;c:Lcom/google/common/collect/ImmutableMap;
-
warningScheduled
private boolean warningScheduled- Mappings:
Namespace Name Mixin selector named warningScheduled
Lnet/minecraft/client/resource/VideoWarningManager;warningScheduled:Z
intermediary field_25717
Lnet/minecraft/class_5407;field_25717:Z
official d
Lgdj;d:Z
-
warned
private boolean warned- Mappings:
Namespace Name Mixin selector named warned
Lnet/minecraft/client/resource/VideoWarningManager;warned:Z
intermediary field_25718
Lnet/minecraft/class_5407;field_25718:Z
official e
Lgdj;e:Z
-
cancelledAfterWarning
private boolean cancelledAfterWarning- Mappings:
Namespace Name Mixin selector named cancelledAfterWarning
Lnet/minecraft/client/resource/VideoWarningManager;cancelledAfterWarning:Z
intermediary field_25719
Lnet/minecraft/class_5407;field_25719:Z
official f
Lgdj;f:Z
-
-
Constructor Details
-
VideoWarningManager
public VideoWarningManager()
-
-
Method Details
-
hasWarning
public boolean hasWarning()- Mappings:
Namespace Name Mixin selector named hasWarning
Lnet/minecraft/client/resource/VideoWarningManager;hasWarning()Z
intermediary method_30055
Lnet/minecraft/class_5407;method_30055()Z
official a
Lgdj;a()Z
-
canWarn
public boolean canWarn()- Mappings:
Namespace Name Mixin selector named canWarn
Lnet/minecraft/client/resource/VideoWarningManager;canWarn()Z
intermediary method_30137
Lnet/minecraft/class_5407;method_30137()Z
official b
Lgdj;b()Z
-
scheduleWarning
public void scheduleWarning()- Mappings:
Namespace Name Mixin selector named scheduleWarning
Lnet/minecraft/client/resource/VideoWarningManager;scheduleWarning()V
intermediary method_30138
Lnet/minecraft/class_5407;method_30138()V
official d
Lgdj;d()V
-
acceptAfterWarnings
public void acceptAfterWarnings()- Mappings:
Namespace Name Mixin selector named acceptAfterWarnings
Lnet/minecraft/client/resource/VideoWarningManager;acceptAfterWarnings()V
intermediary method_30139
Lnet/minecraft/class_5407;method_30139()V
official e
Lgdj;e()V
-
cancelAfterWarnings
public void cancelAfterWarnings()- Mappings:
Namespace Name Mixin selector named cancelAfterWarnings
Lnet/minecraft/client/resource/VideoWarningManager;cancelAfterWarnings()V
intermediary method_30140
Lnet/minecraft/class_5407;method_30140()V
official f
Lgdj;f()V
-
shouldWarn
public boolean shouldWarn()- Mappings:
Namespace Name Mixin selector named shouldWarn
Lnet/minecraft/client/resource/VideoWarningManager;shouldWarn()Z
intermediary method_30141
Lnet/minecraft/class_5407;method_30141()Z
official g
Lgdj;g()Z
-
hasCancelledAfterWarning
public boolean hasCancelledAfterWarning()- Mappings:
Namespace Name Mixin selector named hasCancelledAfterWarning
Lnet/minecraft/client/resource/VideoWarningManager;hasCancelledAfterWarning()Z
intermediary method_30142
Lnet/minecraft/class_5407;method_30142()Z
official h
Lgdj;h()Z
-
reset
public void reset()- Mappings:
Namespace Name Mixin selector named reset
Lnet/minecraft/client/resource/VideoWarningManager;reset()V
intermediary method_30143
Lnet/minecraft/class_5407;method_30143()V
official i
Lgdj;i()V
-
getRendererWarning
- Mappings:
Namespace Name Mixin selector named getRendererWarning
Lnet/minecraft/client/resource/VideoWarningManager;getRendererWarning()Ljava/lang/String;
intermediary method_30060
Lnet/minecraft/class_5407;method_30060()Ljava/lang/String;
official j
Lgdj;j()Ljava/lang/String;
-
getVersionWarning
- Mappings:
Namespace Name Mixin selector named getVersionWarning
Lnet/minecraft/client/resource/VideoWarningManager;getVersionWarning()Ljava/lang/String;
intermediary method_30062
Lnet/minecraft/class_5407;method_30062()Ljava/lang/String;
official k
Lgdj;k()Ljava/lang/String;
-
getVendorWarning
- Mappings:
Namespace Name Mixin selector named getVendorWarning
Lnet/minecraft/client/resource/VideoWarningManager;getVendorWarning()Ljava/lang/String;
intermediary method_30063
Lnet/minecraft/class_5407;method_30063()Ljava/lang/String;
official l
Lgdj;l()Ljava/lang/String;
-
getWarningsAsString
- Mappings:
Namespace Name Mixin selector named getWarningsAsString
Lnet/minecraft/client/resource/VideoWarningManager;getWarningsAsString()Ljava/lang/String;
intermediary method_30920
Lnet/minecraft/class_5407;method_30920()Ljava/lang/String;
official m
Lgdj;m()Ljava/lang/String;
-
prepare
protected VideoWarningManager.WarningPatternLoader prepare(ResourceManager resourceManager, Profiler profiler) Description copied from class:SinglePreparationResourceReloader
Prepares the intermediate object.This method is called in the prepare executor in a reload.
- Specified by:
prepare
in classSinglePreparationResourceReloader<VideoWarningManager.WarningPatternLoader>
- Parameters:
resourceManager
- the resource managerprofiler
- the prepare profiler- Returns:
- the prepared object
- Mappings:
Namespace Name Mixin selector named prepare
Lnet/minecraft/client/resource/VideoWarningManager;prepare(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)Lnet/minecraft/client/resource/VideoWarningManager$WarningPatternLoader;
intermediary method_30056
Lnet/minecraft/class_5407;method_30056(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Lnet/minecraft/class_5407$class_5408;
official a
Lgdj;a(Laup;Lbnj;)Lgdj$a;
-
apply
protected void apply(VideoWarningManager.WarningPatternLoader warningPatternLoader, ResourceManager resourceManager, Profiler profiler) Description copied from class:SinglePreparationResourceReloader
Handles the prepared intermediate object.This method is called in the apply executor, or the game engine, in a reload.
- Specified by:
apply
in classSinglePreparationResourceReloader<VideoWarningManager.WarningPatternLoader>
- Parameters:
warningPatternLoader
- the prepared objectresourceManager
- the resource managerprofiler
- the apply profiler- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/client/resource/VideoWarningManager;apply(Lnet/minecraft/client/resource/VideoWarningManager$WarningPatternLoader;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)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
official a
Lgdj;a(Lgdj$a;Laup;Lbnj;)V
-
compilePatterns
- Mappings:
Namespace Name Mixin selector named compilePatterns
Lnet/minecraft/client/resource/VideoWarningManager;compilePatterns(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
official a
Lgdj;a(Lcom/google/gson/JsonArray;Ljava/util/List;)V
-
loadWarnlist
@Nullable private static @Nullable JsonObject loadWarnlist(ResourceManager resourceManager, Profiler profiler) - Mappings:
Namespace Name Mixin selector named loadWarnlist
Lnet/minecraft/client/resource/VideoWarningManager;loadWarnlist(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)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;
official c
Lgdj;c(Laup;Lbnj;)Lcom/google/gson/JsonObject;
-