Interface SimplyNoShading


public interface SimplyNoShading
The Simply No Shading minecraft mod public interface.
Since:
7.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Config
    Gets the config.
    default @Nullable Path
    Gets the config path.
    static @NotNull SimplyNoShading
    Gets the singleton implementation of this class.
    void
    setConfig(@NotNull Config config)
    Set the config by copying.
  • Method Details

    • instance

      @NotNull static @NotNull SimplyNoShading instance()
      Gets the singleton implementation of this class.
      Returns:
      an instance of this class
      Throws:
      RuntimeException - if the single instance is not yet available
    • configPath

      @Nullable default @Nullable Path configPath() throws UnsupportedOperationException
      Gets the config path.

      This path is where the config will be stored and read from or null when not set.

      This is an optional operation.

      Returns:
      the client configuration file path
      Throws:
      UnsupportedOperationException - if getting the config path is not supported
    • config

      @NotNull @NotNull Config config()
      Gets the config.

      This mod's config is used for customization, determining which features should be expressed, how, or by how much.

      Returns:
      the config
      See Also:
    • setConfig

      void setConfig(@NotNull @NotNull Config config) throws NullPointerException
      Set the config by copying.

      Changes the config by copying from another value.

      Parameters:
      config - the config to copy values from
      Throws:
      NullPointerException - if the config is null
      See Also: