Package net.minecraft.client.renderer
Class GpuWarnlistManager
java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<GpuWarnlistManager.Preparations>
net.minecraft.client.renderer.GpuWarnlistManager
- All Implemented Interfaces:
- PreparableReloadListener
public class GpuWarnlistManager
extends SimplePreparableReloadListener<GpuWarnlistManager.Preparations>
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListenerPreparableReloadListener.PreparationBarrier
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final ResourceLocationprivate static final org.slf4j.Loggerprivate booleanprivate booleanprivate boolean
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidapply(GpuWarnlistManager.Preparations p_109226_, ResourceManager p_109227_, ProfilerFiller p_109228_) private static voidcompilePatterns(com.google.gson.JsonArray p_109223_, List<Pattern> p_109224_) voidvoidbooleanbooleanbooleanprivate static com.google.gson.JsonObjectparseJson(ResourceManager p_109245_, ProfilerFiller p_109246_) protected GpuWarnlistManager.Preparationsprepare(ResourceManager p_109220_, ProfilerFiller p_109221_) voidvoidbooleanMethods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListenerreloadMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListenergetName
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
GPU_WARNLIST_LOCATION
- 
warnings
- 
showWarningprivate boolean showWarning
- 
warningDismissedprivate boolean warningDismissed
- 
skipFabulousprivate boolean skipFabulous
 
- 
- 
Constructor Details- 
GpuWarnlistManagerpublic GpuWarnlistManager()
 
- 
- 
Method Details- 
hasWarningspublic boolean hasWarnings()
- 
willShowWarningpublic boolean willShowWarning()
- 
showWarningpublic void showWarning()
- 
dismissWarningpublic void dismissWarning()
- 
dismissWarningAndSkipFabulouspublic void dismissWarningAndSkipFabulous()
- 
isShowingWarningpublic boolean isShowingWarning()
- 
isSkippingFabulouspublic boolean isSkippingFabulous()
- 
resetWarningspublic void resetWarnings()
- 
getRendererWarnings
- 
getVersionWarnings
- 
getVendorWarnings
- 
getAllWarnings
- 
prepareprotected GpuWarnlistManager.Preparations prepare(ResourceManager p_109220_, ProfilerFiller p_109221_) - Specified by:
- preparein class- SimplePreparableReloadListener<GpuWarnlistManager.Preparations>
 
- 
applyprotected void apply(GpuWarnlistManager.Preparations p_109226_, ResourceManager p_109227_, ProfilerFiller p_109228_) - Specified by:
- applyin class- SimplePreparableReloadListener<GpuWarnlistManager.Preparations>
 
- 
compilePatterns
- 
parseJson@Nullable private static com.google.gson.JsonObject parseJson(ResourceManager p_109245_, ProfilerFiller p_109246_) 
 
-