Class Config.Builder
java.lang.Object
com.github.startsmercury.simply.no.shading.client.Config.Builder
- Enclosing class:
Config
Deprecated, for removal: This API element is subject to removal in a future version.
No replacement
The
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.- Since:
- 6.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Deprecated, for removal: This API element is subject to removal in a future version.Creates a new config builder with data initially set for vanilla behavior. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated, for removal: This API element is subject to removal in a future version.Returns a newly built config.booleanDeprecated, for removal: This API element is subject to removal in a future version.Returnstrueif block shading is enabled;falseotherwise.booleanDeprecated, for removal: This API element is subject to removal in a future version.Returnstrueif cloud shading is enabled;falseotherwise.setBlockShadingEnabled(boolean blockShadingEnabled) Deprecated, for removal: This API element is subject to removal in a future version.Sets block shading enabled or disabled, excluding block entities.setCloudShadingEnabled(boolean cloudShadingEnabled) Deprecated, for removal: This API element is subject to removal in a future version.Sets cloud shading enabled or disabled.
-
Constructor Details
-
Builder
public Builder()Deprecated, for removal: This API element is subject to removal in a future version.Creates a new config builder with data initially set for vanilla behavior.
-
-
Method Details
-
build
Deprecated, for removal: This API element is subject to removal in a future version.Returns a newly built config.- Returns:
- a newly built config
-
isBlockShadingEnabled
public boolean isBlockShadingEnabled()Deprecated, for removal: This API element is subject to removal in a future version.Returnstrueif block shading is enabled;falseotherwise.- Returns:
trueif block shading is enabled;falseotherwise
-
isCloudShadingEnabled
public boolean isCloudShadingEnabled()Deprecated, for removal: This API element is subject to removal in a future version.Returnstrueif cloud shading is enabled;falseotherwise.- Returns:
trueif cloud shading is enabled;falseotherwise
-
setBlockShadingEnabled
Deprecated, for removal: This API element is subject to removal in a future version.Sets block shading enabled or disabled, excluding block entities.- Parameters:
blockShadingEnabled- block shading flag- Returns:
thisbuilder
-
setCloudShadingEnabled
Deprecated, for removal: This API element is subject to removal in a future version.Sets cloud shading enabled or disabled.- Parameters:
cloudShadingEnabled- cloud shading flag- Returns:
thisbuilder
-