Interface IConfigHelper
- All Known Implementing Classes:
NeoForgeConfigHelper
public interface IConfigHelper
Common configuration helper service interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault value of break temperaturestatic final StringConfig description of the break temperaturestatic final intMaximal value of the break temperaturestatic final intMinimal value of the break temperaturestatic final intDefault value of burning temperaturestatic final StringConfig description of the burning temperaturestatic final intMaximal value of the burning temperaturestatic final intMinimal value of the burning temperaturestatic final intDefault value of durabilitystatic final StringConfig description of the durabilitystatic final intMaximal value of the durabilitystatic final intMinimal value of the durabilitystatic final booleanDefault value of fish obtaining optionstatic final StringConfig description of the durabilitystatic final intDefault value of freezing temperaturestatic final StringConfig description of the freezing temperaturestatic final intMaximal value of the freezing temperaturestatic final intMinimal value of the freezing temperaturestatic final booleanDefault value of milking optionstatic final StringConfig description of the milking option -
Method Summary
Modifier and TypeMethodDescriptionintGets the configured break temperature value.intGets the configured burning temperature value.intGets the configured durability value.intGets the configured freezing temperature value.voidinit()Initialization method for the Service implementations.booleanGets the fish obtaining enabled value.booleanGets the configured milking enabled value.
-
Field Details
-
BREAK_TEMPERATURE_DEFAULT
static final int BREAK_TEMPERATURE_DEFAULTDefault value of break temperature- See Also:
-
BREAK_TEMPERATURE_DESCRIPTION
Config description of the break temperature- See Also:
-
BREAK_TEMPERATURE_MIN
static final int BREAK_TEMPERATURE_MINMinimal value of the break temperature- See Also:
-
BREAK_TEMPERATURE_MAX
static final int BREAK_TEMPERATURE_MAXMaximal value of the break temperature- See Also:
-
BURNING_TEMPERATURE_DEFAULT
static final int BURNING_TEMPERATURE_DEFAULTDefault value of burning temperature- See Also:
-
BURNING_TEMPERATURE_DESCRIPTION
Config description of the burning temperature- See Also:
-
BURNING_TEMPERATURE_MIN
static final int BURNING_TEMPERATURE_MINMinimal value of the burning temperature- See Also:
-
BURNING_TEMPERATURE_MAX
static final int BURNING_TEMPERATURE_MAXMaximal value of the burning temperature- See Also:
-
DURABILITY_DEFAULT
static final int DURABILITY_DEFAULTDefault value of durability- See Also:
-
DURABILITY_DESCRIPTION
Config description of the durability- See Also:
-
DURABILITY_MIN
static final int DURABILITY_MINMinimal value of the durability- See Also:
-
DURABILITY_MAX
static final int DURABILITY_MAXMaximal value of the durability- See Also:
-
FISH_OBTAINING_ENABLED_DEFAULT
static final boolean FISH_OBTAINING_ENABLED_DEFAULTDefault value of fish obtaining option- See Also:
-
FISH_OBTAINING_ENABLED_DESCRIPTION
Config description of the durability- See Also:
-
FREEZING_TEMPERATURE_DEFAULT
static final int FREEZING_TEMPERATURE_DEFAULTDefault value of freezing temperature- See Also:
-
FREEZING_TEMPERATURE_DESCRIPTION
Config description of the freezing temperature- See Also:
-
FREEZING_TEMPERATURE_MIN
static final int FREEZING_TEMPERATURE_MINMinimal value of the freezing temperature- See Also:
-
FREEZING_TEMPERATURE_MAX
static final int FREEZING_TEMPERATURE_MAXMaximal value of the freezing temperature- See Also:
-
MILKING_ENABLED_DEFAULT
static final boolean MILKING_ENABLED_DEFAULTDefault value of milking option- See Also:
-
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
-