Class FabricConfigHelper

java.lang.Object
de.cech12.brickhopper.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.
  • 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: IConfigHelper
      Initialization method for the Service implementations.
      Specified by:
      init in interface IConfigHelper
    • getCooldown

      public int getCooldown()
      Description copied from interface: IConfigHelper
      Gets the configured cooldown value.
      Specified by:
      getCooldown in interface IConfigHelper
      Returns:
      configured cooldown value
    • isPullItemsFromWorldEnabled

      public boolean isPullItemsFromWorldEnabled()
      Description copied from interface: IConfigHelper
      Gets the configured "pull items from world" value.
      Specified by:
      isPullItemsFromWorldEnabled in interface IConfigHelper
      Returns:
      configured "pull items from world" value
    • isPullItemsFromInventoriesEnabled

      public boolean isPullItemsFromInventoriesEnabled()
      Description copied from interface: IConfigHelper
      Gets the configured "pull items from inventories" value.
      Specified by:
      isPullItemsFromInventoriesEnabled in interface IConfigHelper
      Returns:
      configured "pull items from inventories" value