Package de.cech12.woodenbucket.platform
Class NeoForgeConfigHelper
java.lang.Object
de.cech12.woodenbucket.platform.NeoForgeConfigHelper
- All Implemented Interfaces:
IConfigHelper
The config service implementation for NeoForge.
-
Field Summary
Fields inherited from interface de.cech12.woodenbucket.platform.services.IConfigHelper
BREAK_TEMPERATURE_DEFAULT, BREAK_TEMPERATURE_DESCRIPTION, BREAK_TEMPERATURE_MAX, BREAK_TEMPERATURE_MIN, BURNING_TEMPERATURE_DEFAULT, BURNING_TEMPERATURE_DESCRIPTION, BURNING_TEMPERATURE_MAX, BURNING_TEMPERATURE_MIN, DURABILITY_DEFAULT, DURABILITY_DESCRIPTION, DURABILITY_MAX, DURABILITY_MIN, FISH_OBTAINING_ENABLED_DEFAULT, FISH_OBTAINING_ENABLED_DESCRIPTION, FREEZING_TEMPERATURE_DEFAULT, FREEZING_TEMPERATURE_DESCRIPTION, FREEZING_TEMPERATURE_MAX, FREEZING_TEMPERATURE_MIN, MILKING_ENABLED_DEFAULT, MILKING_ENABLED_DESCRIPTION -
Constructor Summary
Constructors -
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.
-
Constructor Details
-
NeoForgeConfigHelper
public NeoForgeConfigHelper()
-
-
Method Details
-
init
public void init()Description copied from interface:IConfigHelperInitialization method for the Service implementations.- Specified by:
initin interfaceIConfigHelper
-
getBreakTemperature
public int getBreakTemperature()Description copied from interface:IConfigHelperGets the configured break temperature value.- Specified by:
getBreakTemperaturein interfaceIConfigHelper- Returns:
- configured break temperature value
-
getBurningTemperature
public int getBurningTemperature()Description copied from interface:IConfigHelperGets the configured burning temperature value.- Specified by:
getBurningTemperaturein interfaceIConfigHelper- Returns:
- configured burning temperature value
-
getDurability
public int getDurability()Description copied from interface:IConfigHelperGets the configured durability value.- Specified by:
getDurabilityin interfaceIConfigHelper- Returns:
- configured durability value
-
isFishObtainingEnabled
public boolean isFishObtainingEnabled()Description copied from interface:IConfigHelperGets the fish obtaining enabled value.- Specified by:
isFishObtainingEnabledin interfaceIConfigHelper- Returns:
- configured fish obtaining enabled value
-
getFreezingTemperature
public int getFreezingTemperature()Description copied from interface:IConfigHelperGets the configured freezing temperature value.- Specified by:
getFreezingTemperaturein interfaceIConfigHelper- Returns:
- configured freezing temperature value
-
isMilkingEnabled
public boolean isMilkingEnabled()Description copied from interface:IConfigHelperGets the configured milking enabled value.- Specified by:
isMilkingEnabledin interfaceIConfigHelper- Returns:
- configured milking enabled value
-