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 official fjgintermediary net/minecraft/class_5407named net/minecraft/client/resource/VideoWarningManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final classNested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final Identifierprivate static final Loggerprivate booleanprivate ImmutableMap<String,String> private boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidapply(VideoWarningManager.WarningPatternLoader warningPatternLoader, ResourceManager resourceManager, Profiler profiler) Handles the prepared intermediate object.voidbooleancanWarn()private static voidcompilePatterns(JsonArray array, List<Pattern> patterns) booleanbooleanprivate static @Nullable JsonObjectloadWarnlist(ResourceManager resourceManager, Profiler profiler) protected VideoWarningManager.WarningPatternLoaderprepare(ResourceManager resourceManager, Profiler profiler) Prepares the intermediate object.voidreset()voidbooleanMethods inherited from class net.minecraft.resource.SinglePreparationResourceReloader
reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.ResourceReloader
getName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLfjg;a:Lorg/slf4j/Logger;intermediary field_25716Lnet/minecraft/class_5407;field_25716:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/resource/VideoWarningManager;LOGGER:Lorg/slf4j/Logger;
-
GPU_WARNLIST_ID
- Mappings:
Namespace Name Mixin selector official bLfjg;b:Lacq;intermediary field_25689Lnet/minecraft/class_5407;field_25689:Lnet/minecraft/class_2960;named GPU_WARNLIST_IDLnet/minecraft/client/resource/VideoWarningManager;GPU_WARNLIST_ID:Lnet/minecraft/util/Identifier;
-
warnings
- Mappings:
Namespace Name Mixin selector official cLfjg;c:Lcom/google/common/collect/ImmutableMap;intermediary field_25690Lnet/minecraft/class_5407;field_25690:Lcom/google/common/collect/ImmutableMap;named warningsLnet/minecraft/client/resource/VideoWarningManager;warnings:Lcom/google/common/collect/ImmutableMap;
-
warningScheduled
private boolean warningScheduled- Mappings:
Namespace Name Mixin selector official dLfjg;d:Zintermediary field_25717Lnet/minecraft/class_5407;field_25717:Znamed warningScheduledLnet/minecraft/client/resource/VideoWarningManager;warningScheduled:Z
-
warned
private boolean warned- Mappings:
Namespace Name Mixin selector official eLfjg;e:Zintermediary field_25718Lnet/minecraft/class_5407;field_25718:Znamed warnedLnet/minecraft/client/resource/VideoWarningManager;warned:Z
-
cancelledAfterWarning
private boolean cancelledAfterWarning- Mappings:
Namespace Name Mixin selector official fLfjg;f:Zintermediary field_25719Lnet/minecraft/class_5407;field_25719:Znamed cancelledAfterWarningLnet/minecraft/client/resource/VideoWarningManager;cancelledAfterWarning:Z
-
-
Constructor Details
-
VideoWarningManager
public VideoWarningManager()
-
-
Method Details
-
hasWarning
public boolean hasWarning()- Mappings:
Namespace Name Mixin selector official aLfjg;a()Zintermediary method_30055Lnet/minecraft/class_5407;method_30055()Znamed hasWarningLnet/minecraft/client/resource/VideoWarningManager;hasWarning()Z
-
canWarn
public boolean canWarn()- Mappings:
Namespace Name Mixin selector official bLfjg;b()Zintermediary method_30137Lnet/minecraft/class_5407;method_30137()Znamed canWarnLnet/minecraft/client/resource/VideoWarningManager;canWarn()Z
-
scheduleWarning
public void scheduleWarning()- Mappings:
Namespace Name Mixin selector official dLfjg;d()Vintermediary method_30138Lnet/minecraft/class_5407;method_30138()Vnamed scheduleWarningLnet/minecraft/client/resource/VideoWarningManager;scheduleWarning()V
-
acceptAfterWarnings
public void acceptAfterWarnings()- Mappings:
Namespace Name Mixin selector official eLfjg;e()Vintermediary method_30139Lnet/minecraft/class_5407;method_30139()Vnamed acceptAfterWarningsLnet/minecraft/client/resource/VideoWarningManager;acceptAfterWarnings()V
-
cancelAfterWarnings
public void cancelAfterWarnings()- Mappings:
Namespace Name Mixin selector official fLfjg;f()Vintermediary method_30140Lnet/minecraft/class_5407;method_30140()Vnamed cancelAfterWarningsLnet/minecraft/client/resource/VideoWarningManager;cancelAfterWarnings()V
-
shouldWarn
public boolean shouldWarn()- Mappings:
Namespace Name Mixin selector official gLfjg;g()Zintermediary method_30141Lnet/minecraft/class_5407;method_30141()Znamed shouldWarnLnet/minecraft/client/resource/VideoWarningManager;shouldWarn()Z
-
hasCancelledAfterWarning
public boolean hasCancelledAfterWarning()- Mappings:
Namespace Name Mixin selector official hLfjg;h()Zintermediary method_30142Lnet/minecraft/class_5407;method_30142()Znamed hasCancelledAfterWarningLnet/minecraft/client/resource/VideoWarningManager;hasCancelledAfterWarning()Z
-
reset
public void reset()- Mappings:
Namespace Name Mixin selector official iLfjg;i()Vintermediary method_30143Lnet/minecraft/class_5407;method_30143()Vnamed resetLnet/minecraft/client/resource/VideoWarningManager;reset()V
-
getRendererWarning
- Mappings:
Namespace Name Mixin selector official jLfjg;j()Ljava/lang/String;intermediary method_30060Lnet/minecraft/class_5407;method_30060()Ljava/lang/String;named getRendererWarningLnet/minecraft/client/resource/VideoWarningManager;getRendererWarning()Ljava/lang/String;
-
getVersionWarning
- Mappings:
Namespace Name Mixin selector official kLfjg;k()Ljava/lang/String;intermediary method_30062Lnet/minecraft/class_5407;method_30062()Ljava/lang/String;named getVersionWarningLnet/minecraft/client/resource/VideoWarningManager;getVersionWarning()Ljava/lang/String;
-
getVendorWarning
- Mappings:
Namespace Name Mixin selector official lLfjg;l()Ljava/lang/String;intermediary method_30063Lnet/minecraft/class_5407;method_30063()Ljava/lang/String;named getVendorWarningLnet/minecraft/client/resource/VideoWarningManager;getVendorWarning()Ljava/lang/String;
-
getWarningsAsString
- Mappings:
Namespace Name Mixin selector official mLfjg;m()Ljava/lang/String;intermediary method_30920Lnet/minecraft/class_5407;method_30920()Ljava/lang/String;named getWarningsAsStringLnet/minecraft/client/resource/VideoWarningManager;getWarningsAsString()Ljava/lang/String;
-
prepare
protected VideoWarningManager.WarningPatternLoader prepare(ResourceManager resourceManager, Profiler profiler) Description copied from class:SinglePreparationResourceReloaderPrepares the intermediate object.This method is called in the prepare executor in a reload.
- Specified by:
preparein classSinglePreparationResourceReloader<VideoWarningManager.WarningPatternLoader>- Parameters:
resourceManager- the resource managerprofiler- the prepare profiler- Returns:
- the prepared object
- Mappings:
Namespace Name Mixin selector official aLfjg;a(Lakx;Lbam;)Lfjg$a;intermediary method_30056Lnet/minecraft/class_5407;method_30056(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Lnet/minecraft/class_5407$class_5408;named prepareLnet/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) Description copied from class:SinglePreparationResourceReloaderHandles the prepared intermediate object.This method is called in the apply executor, or the game engine, in a reload.
- Specified by:
applyin classSinglePreparationResourceReloader<VideoWarningManager.WarningPatternLoader>- Parameters:
warningPatternLoader- the prepared objectresourceManager- the resource managerprofiler- the apply profiler- Mappings:
Namespace Name Mixin selector official aLfjg;a(Lfjg$a;Lakx;Lbam;)Vintermediary method_30058Lnet/minecraft/class_5407;method_30058(Lnet/minecraft/class_5407$class_5408;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Vnamed applyLnet/minecraft/client/resource/VideoWarningManager;apply(Lnet/minecraft/client/resource/VideoWarningManager$WarningPatternLoader;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
-
compilePatterns
- Mappings:
Namespace Name Mixin selector official aLfjg;a(Lcom/google/gson/JsonArray;Ljava/util/List;)Vintermediary method_30057Lnet/minecraft/class_5407;method_30057(Lcom/google/gson/JsonArray;Ljava/util/List;)Vnamed compilePatternsLnet/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 cLfjg;c(Lakx;Lbam;)Lcom/google/gson/JsonObject;intermediary method_30061Lnet/minecraft/class_5407;method_30061(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Lcom/google/gson/JsonObject;named loadWarnlistLnet/minecraft/client/resource/VideoWarningManager;loadWarnlist(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)Lcom/google/gson/JsonObject;
-