Interface SimplyNoShading
public interface SimplyNoShading
The Simply No Shading minecraft mod public interface.
- Since:
- 7.0.0
-
Method Summary
Modifier and TypeMethodDescription@NotNull Configconfig()Gets the config.default @Nullable PathGets the config path.static @NotNull SimplyNoShadinginstance()Gets the singleton implementation of this class.voidSet the config by copying.
-
Method Details
-
instance
Gets the singleton implementation of this class.- Returns:
- an instance of this class
- Throws:
RuntimeException- if the single instance is not yet available
-
configPath
Gets the config path.This path is where the config will be stored and read from or null when not set.
This is an optional operation.
- Returns:
- the client configuration file path
- Throws:
UnsupportedOperationException- if getting the config path is not supported
-
config
Gets the config.This mod's config is used for customization, determining which features should be expressed, how, or by how much.
- Returns:
- the config
- See Also:
-
setConfig
Set the config by copying.Changes the config by copying from another value.
- Parameters:
config- the config to copy values from- Throws:
NullPointerException- if the config is null- See Also:
-