Package de.cech12.bucketlib.platform
Class FabricConfigHelper
java.lang.Object
de.cech12.bucketlib.platform.FabricConfigHelper
- All Implemented Interfaces:
IConfigHelper,me.shedaniel.autoconfig.ConfigData
public class FabricConfigHelper
extends Object
implements me.shedaniel.autoconfig.ConfigData, IConfigHelper
The config service implementation for Fabric.
-
Nested Class Summary
Nested classes/interfaces inherited from interface me.shedaniel.autoconfig.ConfigData
me.shedaniel.autoconfig.ConfigData.ValidationException -
Field Summary
FieldsFields inherited from interface de.cech12.bucketlib.platform.services.IConfigHelper
INFINITY_ENCHANTMENT_ENABLED_DEFAULT, INFINITY_ENCHANTMENT_ENABLED_DESCRIPTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Initialization method for the Service implementations.booleanGets the configured infinity enchantment enabled option value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.shedaniel.autoconfig.ConfigData
validatePostLoad
-
Field Details
-
INFINITY_ENCHANTMENT_ENABLED
public boolean INFINITY_ENCHANTMENT_ENABLED
-
-
Constructor Details
-
FabricConfigHelper
public FabricConfigHelper()
-
-
Method Details
-
init
public void init()Description copied from interface:IConfigHelperInitialization method for the Service implementations.- Specified by:
initin interfaceIConfigHelper
-
isInfinityEnchantmentEnabled
public boolean isInfinityEnchantmentEnabled()Description copied from interface:IConfigHelperGets the configured infinity enchantment enabled option value.- Specified by:
isInfinityEnchantmentEnabledin interfaceIConfigHelper- Returns:
- configured infinity enchantment enabled option value
-