public interface SimplyNoShading
| Modifier and Type | Method and Description |
|---|---|
@NotNull Config |
config()
Gets the config.
|
default @Nullable java.nio.file.Path |
configPath()
Gets the config path.
|
static @NotNull SimplyNoShading |
instance()
Gets the singleton implementation of this class.
|
void |
setConfig(@NotNull Config config)
Set the config by copying.
|
@NotNull static @NotNull SimplyNoShading instance()
java.lang.RuntimeException - if the single instance is not yet available@Nullable
default @Nullable java.nio.file.Path configPath()
throws java.lang.UnsupportedOperationException
This path is where the config will be stored and read from or null when not set.
This is an optional operation.
java.lang.UnsupportedOperationException - if getting the config path is not supported@NotNull @NotNull Config config()
This mod's config is used for customization, determining which features should be expressed, how, or by how much.
setConfig(Config)void setConfig(@NotNull
@NotNull Config config)
throws java.lang.NullPointerException
Changes the config by copying from another value.
config - the config to copy values fromjava.lang.NullPointerException - if the config is nullconfig()