net.minecraft.client.resource

public class VideoWarningManager

extends SinglePreparationResourceReloader<VideoWarningManager$WarningPatternLoader>

All mapped superinterfaces:

ResourceReloader

net.minecraft.client.renderer.GpuWarnlistManager
net.minecraft.class_5407
net.minecraft.client.resource.VideoWarningManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_25716
LOGGER
private static final Identifier
GPU_WARNLIST_LOCATION
field_25689
GPU_WARNLIST_ID
private com.google.common.collect.ImmutableMap<String, String>
warnings
field_25690
warnings
private boolean
showWarning
field_25717
warningScheduled
private boolean
warningDismissed
field_25718
warned

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
hasWarnings()
method_30055()
hasWarning()
public boolean
willShowWarning()
method_30137()
canWarn()
public void
showWarning()
method_30138()
scheduleWarning()
public void
dismissWarning()
method_30139()
acceptAfterWarnings()
public boolean
isShowingWarning()
method_30141()
shouldWarn()
public void
resetWarnings()
method_30143()
reset()
public String
getRendererWarnings()
method_30060()
getRendererWarning()
public String
getVersionWarnings()
method_30062()
getVersionWarning()
public String
getVendorWarnings()
method_30063()
getVendorWarning()
public String
getAllWarnings()
method_30920()
getWarningsAsString()
protected VideoWarningManager$WarningPatternLoader
prepare(ResourceManager manager, ProfilerFiller profiler)
method_18789(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
protected void
apply(GpuWarnlistManager$Preparations preparations, ResourceManager manager, ProfilerFiller profiler)
method_30058(class_5407$class_5408 arg0, class_3300 arg1, class_3695 arg2)
apply(VideoWarningManager$WarningPatternLoader arg0, ResourceManager arg1, Profiler arg2)
private static void
compilePatterns(com.google.gson.JsonArray jsonArray, List<Pattern> patternList)
method_30057(com.google.gson.JsonArray arg0, List<Pattern> arg1)
compilePatterns(com.google.gson.JsonArray array, List<Pattern> patterns)
private static com.google.gson.JsonObject
parseJson(ResourceManager manager, ProfilerFiller profiler)
method_30061(class_3300 arg0, class_3695 arg1)
loadWarnlist(ResourceManager resourceManager, Profiler profiler)
protected void
apply(Object preparations, ResourceManager manager, ProfilerFiller profiler)
method_18788(Object arg0, class_3300 arg1, class_3695 arg2)
apply(Object arg0, ResourceManager arg1, Profiler arg2)
protected Object
prepare(ResourceManager manager, ProfilerFiller profiler)
method_18789(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
private static void
lambda$compilePatterns$0(List arg0, com.google.gson.JsonElement arg1)
method_30059(List arg0, com.google.gson.JsonElement arg1)
method_30059(List arg0, com.google.gson.JsonElement json)
private static void
lambda$getAllWarnings$0(StringBuilder arg0, String arg1, String arg2)
method_30919(StringBuilder arg0, String arg1, String arg2)
method_30919(StringBuilder arg0, String key, String value)