Interface IConfigHelper

All Known Implementing Classes:
NeoForgeConfigHelper

public interface IConfigHelper
Common configuration helper service interface.
  • Field Details

    • BREAK_TEMPERATURE_DEFAULT

      static final int BREAK_TEMPERATURE_DEFAULT
      Default value of break temperature
      See Also:
    • BREAK_TEMPERATURE_DESCRIPTION

      static final String BREAK_TEMPERATURE_DESCRIPTION
      Config description of the break temperature
      See Also:
    • BREAK_TEMPERATURE_MIN

      static final int BREAK_TEMPERATURE_MIN
      Minimal value of the break temperature
      See Also:
    • BREAK_TEMPERATURE_MAX

      static final int BREAK_TEMPERATURE_MAX
      Maximal value of the break temperature
      See Also:
    • BURNING_TEMPERATURE_DEFAULT

      static final int BURNING_TEMPERATURE_DEFAULT
      Default value of burning temperature
      See Also:
    • BURNING_TEMPERATURE_DESCRIPTION

      static final String BURNING_TEMPERATURE_DESCRIPTION
      Config description of the burning temperature
      See Also:
    • BURNING_TEMPERATURE_MIN

      static final int BURNING_TEMPERATURE_MIN
      Minimal value of the burning temperature
      See Also:
    • BURNING_TEMPERATURE_MAX

      static final int BURNING_TEMPERATURE_MAX
      Maximal value of the burning temperature
      See Also:
    • DURABILITY_DEFAULT

      static final int DURABILITY_DEFAULT
      Default value of durability
      See Also:
    • DURABILITY_DESCRIPTION

      static final String DURABILITY_DESCRIPTION
      Config description of the durability
      See Also:
    • DURABILITY_MIN

      static final int DURABILITY_MIN
      Minimal value of the durability
      See Also:
    • DURABILITY_MAX

      static final int DURABILITY_MAX
      Maximal value of the durability
      See Also:
    • FISH_OBTAINING_ENABLED_DEFAULT

      static final boolean FISH_OBTAINING_ENABLED_DEFAULT
      Default value of fish obtaining option
      See Also:
    • FISH_OBTAINING_ENABLED_DESCRIPTION

      static final String FISH_OBTAINING_ENABLED_DESCRIPTION
      Config description of the durability
      See Also:
    • FREEZING_TEMPERATURE_DEFAULT

      static final int FREEZING_TEMPERATURE_DEFAULT
      Default value of freezing temperature
      See Also:
    • FREEZING_TEMPERATURE_DESCRIPTION

      static final String FREEZING_TEMPERATURE_DESCRIPTION
      Config description of the freezing temperature
      See Also:
    • FREEZING_TEMPERATURE_MIN

      static final int FREEZING_TEMPERATURE_MIN
      Minimal value of the freezing temperature
      See Also:
    • FREEZING_TEMPERATURE_MAX

      static final int FREEZING_TEMPERATURE_MAX
      Maximal value of the freezing temperature
      See Also:
    • MILKING_ENABLED_DEFAULT

      static final boolean MILKING_ENABLED_DEFAULT
      Default value of milking option
      See Also:
    • MILKING_ENABLED_DESCRIPTION

      static final String MILKING_ENABLED_DESCRIPTION
      Config description of the milking option
      See Also:
  • Method Details

    • init

      void init()
      Initialization method for the Service implementations.
    • getBreakTemperature

      int getBreakTemperature()
      Gets the configured break temperature value.
      Returns:
      configured break temperature value
    • getBurningTemperature

      int getBurningTemperature()
      Gets the configured burning temperature value.
      Returns:
      configured burning temperature value
    • getDurability

      int getDurability()
      Gets the configured durability value.
      Returns:
      configured durability value
    • isFishObtainingEnabled

      boolean isFishObtainingEnabled()
      Gets the fish obtaining enabled value.
      Returns:
      configured fish obtaining enabled value
    • getFreezingTemperature

      int getFreezingTemperature()
      Gets the configured freezing temperature value.
      Returns:
      configured freezing temperature value
    • isMilkingEnabled

      boolean isMilkingEnabled()
      Gets the configured milking enabled value.
      Returns:
      configured milking enabled value