Interface IConfigHelper

All Known Implementing Classes:
ForgeConfigHelper

public interface IConfigHelper
Common configuration helper service interface.
  • Field Details

    • COOLDOWN_DEFAULT

      static final int COOLDOWN_DEFAULT
      Default value of the hoppers cooldown value
      See Also:
    • COOLDOWN_DESCRIPTION

      static final String COOLDOWN_DESCRIPTION
      Config description of the hoppers cooldown value
      See Also:
    • COOLDOWN_MIN

      static final int COOLDOWN_MIN
      Minimal value of the hoppers cooldown value
      See Also:
    • COOLDOWN_MAX

      static final int COOLDOWN_MAX
      Maximal value of the hoppers cooldown value
      See Also:
    • PULL_ITEMS_FROM_WORLD_ENABLED_DEFAULT

      static final boolean PULL_ITEMS_FROM_WORLD_ENABLED_DEFAULT
      Default value of the hoppers "pull items from world" value
      See Also:
    • PULL_ITEMS_FROM_WORLD_ENABLED_DESCRIPTION

      static final String 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_DEFAULT
      Default value of the hoppers "pull items from inventories" value
      See Also:
    • PULL_ITEMS_FROM_INVENTORIES_ENABLED_DESCRIPTION

      static final String 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