Package net.minecraft.client.renderer
Class GPUWarning
java.lang.Object
net.minecraft.client.resources.ReloadListener<GPUWarning.GPUInfo>
net.minecraft.client.renderer.GPUWarning
- All Implemented Interfaces:
IFutureReloadListener
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.resources.IFutureReloadListener
IFutureReloadListener.IStage -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ResourceLocationprivate static final org.apache.logging.log4j.Loggerprivate booleanprivate booleanprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(GPUWarning.GPUInfo p_212853_1_, IResourceManager p_212853_2_, IProfiler p_212853_3_) private static voidcompilePatterns(com.google.gson.JsonArray p_241693_0_, List<Pattern> p_241693_1_) voidvoidbooleanbooleanbooleanprivate static com.google.gson.JsonObjectparseJson(IResourceManager p_241696_0_, IProfiler p_241696_1_) protected GPUWarning.GPUInfoprepare(IResourceManager p_212854_1_, IProfiler p_212854_2_) voidvoidbooleanMethods inherited from class net.minecraft.client.resources.ReloadListener
reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resources.IFutureReloadListener
getName
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
GPU_WARNLIST_LOCATION
-
warnings
-
showWarning
private boolean showWarning -
warningDismissed
private boolean warningDismissed -
skipFabulous
private boolean skipFabulous
-
-
Constructor Details
-
GPUWarning
public GPUWarning()
-
-
Method Details
-
hasWarnings
public boolean hasWarnings() -
willShowWarning
public boolean willShowWarning() -
showWarning
public void showWarning() -
dismissWarning
public void dismissWarning() -
dismissWarningAndSkipFabulous
public void dismissWarningAndSkipFabulous() -
isShowingWarning
public boolean isShowingWarning() -
isSkippingFabulous
public boolean isSkippingFabulous() -
resetWarnings
public void resetWarnings() -
getRendererWarnings
-
getVersionWarnings
-
getVendorWarnings
-
getAllWarnings
-
prepare
- Specified by:
preparein classReloadListener<GPUWarning.GPUInfo>
-
apply
protected void apply(GPUWarning.GPUInfo p_212853_1_, IResourceManager p_212853_2_, IProfiler p_212853_3_) - Specified by:
applyin classReloadListener<GPUWarning.GPUInfo>
-
compilePatterns
-
parseJson
@Nullable private static com.google.gson.JsonObject parseJson(IResourceManager p_241696_0_, IProfiler p_241696_1_)
-