Class FabricConfigHelper

java.lang.Object
de.cech12.brickfurnace.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

    • VANILLA_RECIPES_ENABLED

      public boolean VANILLA_RECIPES_ENABLED
    • COOK_TIME_FACTOR

      public long COOK_TIME_FACTOR
    • BURN_TIME_FACTOR

      public long BURN_TIME_FACTOR
    • RECIPE_BLOCKED_LIST

      public String RECIPE_BLOCKED_LIST
  • 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
    • 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