Interface IConfigHelper
- All Known Implementing Classes:
ForgeConfigHelper
public interface IConfigHelper
Common configuration helper service interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault value of the hoppers cooldown valuestatic final StringConfig description of the hoppers cooldown valuestatic final intMaximal value of the hoppers cooldown valuestatic final intMinimal value of the hoppers cooldown valuestatic final booleanDefault value of the hoppers "pull items from inventories" valuestatic final StringConfig description of the hoppers "pull items from inventories" valuestatic final booleanDefault value of the hoppers "pull items from world" valuestatic final StringConfig description of the hoppers "pull items from world" value -
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.
-
Field Details
-
COOLDOWN_DEFAULT
static final int COOLDOWN_DEFAULTDefault value of the hoppers cooldown value- See Also:
-
COOLDOWN_DESCRIPTION
-
COOLDOWN_MIN
static final int COOLDOWN_MINMinimal value of the hoppers cooldown value- See Also:
-
COOLDOWN_MAX
static final int COOLDOWN_MAXMaximal value of the hoppers cooldown value- See Also:
-
PULL_ITEMS_FROM_WORLD_ENABLED_DEFAULT
static final boolean PULL_ITEMS_FROM_WORLD_ENABLED_DEFAULTDefault value of the hoppers "pull items from world" value- See Also:
-
PULL_ITEMS_FROM_WORLD_ENABLED_DESCRIPTION
Config description of the hoppers "pull items from world" value- See Also:
-
PULL_ITEMS_FROM_INVENTORIES_ENABLED_DEFAULT
static final boolean PULL_ITEMS_FROM_INVENTORIES_ENABLED_DEFAULTDefault value of the hoppers "pull items from inventories" value- See Also:
-
PULL_ITEMS_FROM_INVENTORIES_ENABLED_DESCRIPTION
Config description of the hoppers "pull items from inventories" value- See Also:
-
-
Method Details
-
init
void init()Initialization method for the Service implementations. -
getCooldown
int getCooldown()Gets the configured cooldown value.- Returns:
- configured cooldown value
-
isPullItemsFromWorldEnabled
boolean isPullItemsFromWorldEnabled()Gets the configured "pull items from world" value.- Returns:
- configured "pull items from world" value
-
isPullItemsFromInventoriesEnabled
boolean isPullItemsFromInventoriesEnabled()Gets the configured "pull items from inventories" value.- Returns:
- configured "pull items from inventories" value
-