java.lang.Object
com.github.startsmercury.simply.no.shading.client.Config.Builder
Enclosing class:
Config

public static class Config.Builder extends Object
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.
  • Constructor Details

    • Builder

      public Builder()
      Creates a new config builder with data initially set for vanilla behavior.
  • Method Details

    • build

      public Config build()
      Returns a newly build config.
      Returns:
      a newly build config
    • isBlockShadingEnabled

      public boolean isBlockShadingEnabled()
      Returns true if block shading is enabled; false otherwise.
      Returns:
      true if block shading is enabled; false otherwise
    • isCloudShadingEnabled

      public boolean isCloudShadingEnabled()
      Returns true if cloud shading is enabled; false otherwise.
      Returns:
      true if cloud shading is enabled; false otherwise
    • setBlockShadingEnabled

      public Config.Builder setBlockShadingEnabled(boolean blockShadingEnabled)
      Sets block shading enabled or disabled, excluding block entities.
      Parameters:
      blockShadingEnabled - block shading flag
      Returns:
      this builder
    • setCloudShadingEnabled

      public Config.Builder setCloudShadingEnabled(boolean cloudShadingEnabled)
      Sets cloud shading enabled or disabled.
      Parameters:
      cloudShadingEnabled - cloud shading flag
      Returns:
      this builder