Class NeoForgeConfigHelper
java.lang.Object
de.cech12.ceramicbucket.platform.NeoForgeConfigHelper
- All Implemented Interfaces:
IConfigHelper
The config service implementation for NeoForge.
-
Field Summary
Fields inherited from interface IConfigHelper
BREAK_TEMPERATURE_DEFAULT, BREAK_TEMPERATURE_DESCRIPTION, BREAK_TEMPERATURE_MAX, BREAK_TEMPERATURE_MIN, DURABILITY_DEFAULT, DURABILITY_DESCRIPTION, DURABILITY_MAX, DURABILITY_MIN, FISH_OBTAINING_ENABLED_DEFAULT, FISH_OBTAINING_ENABLED_DESCRIPTION, MILKING_ENABLED_DEFAULT, MILKING_ENABLED_DESCRIPTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the configured break temperature value.intGets the configured durability 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
-
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
-
isMilkingEnabled
public boolean isMilkingEnabled()Description copied from interface:IConfigHelperGets the configured milking enabled value.- Specified by:
isMilkingEnabledin interfaceIConfigHelper- Returns:
- configured milking enabled value
-