public static class Config.Builder
extends java.lang.Object
Config.Builder class is the builder for Config. For
further details, refer to the Config class as documenting the builder
would potentially be redundant and may be overlooked or be outdated.| Constructor and Description |
|---|
Builder()
Deprecated.
Creates a new config builder with data initially set for vanilla behavior.
|
| Modifier and Type | Method and Description |
|---|---|
Config |
build()
Deprecated.
Returns a newly build config.
|
boolean |
isBlockShadingEnabled()
Deprecated.
Returns
true if block shading is enabled; false otherwise. |
boolean |
isCloudShadingEnabled()
Deprecated.
Returns
true if cloud shading is enabled; false otherwise. |
boolean |
isEntityShadingEnabled()
Deprecated.
Returns
true if entity shading is enabled; false otherwise. |
Config.Builder |
setBlockShadingEnabled(boolean blockShadingEnabled)
Deprecated.
Sets block shading enabled or disabled, excluding block entities.
|
Config.Builder |
setCloudShadingEnabled(boolean cloudShadingEnabled)
Deprecated.
Sets cloud shading enabled or disabled.
|
Config.Builder |
setEntityShadingEnabled(boolean entityShadingEnabled)
Deprecated.
Sets entity shading enabled or disabled.
|
public Builder()
public Config build()
public boolean isBlockShadingEnabled()
true if block shading is enabled; false otherwise.true if block shading is enabled; false otherwisepublic boolean isCloudShadingEnabled()
true if cloud shading is enabled; false otherwise.true if cloud shading is enabled; false otherwisepublic boolean isEntityShadingEnabled()
true if entity shading is enabled; false otherwise.true if entity shading is enabled; false otherwisepublic Config.Builder setBlockShadingEnabled(boolean blockShadingEnabled)
blockShadingEnabled - block shading flagthis builderpublic Config.Builder setCloudShadingEnabled(boolean cloudShadingEnabled)
cloudShadingEnabled - cloud shading flagthis builderpublic Config.Builder setEntityShadingEnabled(boolean entityShadingEnabled)
entityShadingEnabled - cloud shading flagthis builder