Class FabricConfigHelper
java.lang.Object
de.cech12.woodenhopper.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
FieldsModifier and TypeFieldDescriptionintbooleanboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the configured cooldown value.voidinit()Initialization method for the Service implementations.booleanGets the configured "pull items from inventories" value.booleanGets the configured "pull items from world" value.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.shedaniel.autoconfig.ConfigData
validatePostLoad
-
Field Details
-
COOLDOWN
public int COOLDOWN -
PULL_ITEMS_FROM_WORLD_ENABLED
public boolean PULL_ITEMS_FROM_WORLD_ENABLED -
PULL_ITEMS_FROM_INVENTORIES_ENABLED
public boolean PULL_ITEMS_FROM_INVENTORIES_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
-
getCooldown
public int getCooldown()Description copied from interface:IConfigHelperGets the configured cooldown value.- Specified by:
getCooldownin interfaceIConfigHelper- Returns:
- configured cooldown value
-
isPullItemsFromWorldEnabled
public boolean isPullItemsFromWorldEnabled()Description copied from interface:IConfigHelperGets the configured "pull items from world" value.- Specified by:
isPullItemsFromWorldEnabledin interfaceIConfigHelper- Returns:
- configured "pull items from world" value
-
isPullItemsFromInventoriesEnabled
public boolean isPullItemsFromInventoriesEnabled()Description copied from interface:IConfigHelperGets the configured "pull items from inventories" value.- Specified by:
isPullItemsFromInventoriesEnabledin interfaceIConfigHelper- Returns:
- configured "pull items from inventories" value
-