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

@Deprecated(since="7.0.0", forRemoval=true) public static class Config.Builder extends Object
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

    Constructors
    Constructor
    Description
    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 Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a newly built config.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns true if block shading is enabled; false otherwise.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns true if cloud shading is enabled; false otherwise.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public Config 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.
      Returns true if block shading is enabled; false otherwise.
      Returns:
      true if block shading is enabled; false otherwise
    • isCloudShadingEnabled

      public boolean isCloudShadingEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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)
      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:
      this builder
    • setCloudShadingEnabled

      public Config.Builder setCloudShadingEnabled(boolean cloudShadingEnabled)
      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:
      this builder