Class ForgeConfigHelper

java.lang.Object
de.cech12.brickfurnace.platform.ForgeConfigHelper
All Implemented Interfaces:
IConfigHelper

public class ForgeConfigHelper extends Object implements IConfigHelper
The config service implementation for Forge.
  • Field Details

    • VANILLA_RECIPES_ENABLED

      public static final net.minecraftforge.common.ForgeConfigSpec.BooleanValue VANILLA_RECIPES_ENABLED
    • COOK_TIME_FACTOR

      public static final net.minecraftforge.common.ForgeConfigSpec.DoubleValue COOK_TIME_FACTOR
    • BURN_TIME_FACTOR

      public static final net.minecraftforge.common.ForgeConfigSpec.DoubleValue BURN_TIME_FACTOR
    • RECIPE_BLOCKED_LIST

      public static final net.minecraftforge.common.ForgeConfigSpec.ConfigValue<String> RECIPE_BLOCKED_LIST
  • Constructor Details

    • ForgeConfigHelper

      public ForgeConfigHelper()
  • Method Details

    • init

      public void init()
      Description copied from interface: IConfigHelper
      Initialization method for the Service implementations.
      Specified by:
      init in interface IConfigHelper
    • areVanillaRecipesEnabled

      public boolean areVanillaRecipesEnabled()
      Description copied from interface: IConfigHelper
      Gets the configured value of the vanilla recipe enabled option.
      Specified by:
      areVanillaRecipesEnabled in interface IConfigHelper
      Returns:
      configured value of the vanilla recipe enabled option
    • getCookTimeFactor

      public double getCookTimeFactor()
      Description copied from interface: IConfigHelper
      Gets the configured value of the cook time factor option.
      Specified by:
      getCookTimeFactor in interface IConfigHelper
      Returns:
      configured value of the cook time factor option
    • getBurnTimeFactor

      public double getBurnTimeFactor()
      Description copied from interface: IConfigHelper
      Gets the configured value of the burn time factor option.
      Specified by:
      getBurnTimeFactor in interface IConfigHelper
      Returns:
      configured value of the burn time factor option
    • getRecipeBlockedList

      public String getRecipeBlockedList()
      Description copied from interface: IConfigHelper
      Gets the configured value of the recipe blocked list option.
      Specified by:
      getRecipeBlockedList in interface IConfigHelper
      Returns:
      configured value of the recipe blocked list option