Class NeoForgeConfigHelper

java.lang.Object
de.cech12.woodenhopper.platform.NeoForgeConfigHelper
All Implemented Interfaces:
IConfigHelper

public class NeoForgeConfigHelper extends Object implements IConfigHelper
The config service implementation for NeoForge.
  • Field Details

    • PULL_ITEMS_FROM_WORLD_ENABLED

      public static final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue PULL_ITEMS_FROM_WORLD_ENABLED
    • PULL_ITEMS_FROM_INVENTORIES_ENABLED

      public static final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue PULL_ITEMS_FROM_INVENTORIES_ENABLED
  • Constructor Details

    • NeoForgeConfigHelper

      public NeoForgeConfigHelper()
  • 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