Class FabricConfigHelper

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

    • BREAK_TEMPERATURE

      public long BREAK_TEMPERATURE
    • BURNING_TEMPERATURE

      public long BURNING_TEMPERATURE
    • DURABILITY

      public long DURABILITY
    • FISH_OBTAINING_ENABLED

      public boolean FISH_OBTAINING_ENABLED
    • FREEZING_TEMPERATURE

      public long FREEZING_TEMPERATURE
    • MILKING_ENABLED

      public boolean MILKING_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
    • getBreakTemperature

      public int getBreakTemperature()
      Description copied from interface: IConfigHelper
      Gets the configured break temperature value.
      Specified by:
      getBreakTemperature in interface IConfigHelper
      Returns:
      configured break temperature value
    • getBurningTemperature

      public int getBurningTemperature()
      Description copied from interface: IConfigHelper
      Gets the configured burning temperature value.
      Specified by:
      getBurningTemperature in interface IConfigHelper
      Returns:
      configured burning temperature value
    • getDurability

      public int getDurability()
      Description copied from interface: IConfigHelper
      Gets the configured durability value.
      Specified by:
      getDurability in interface IConfigHelper
      Returns:
      configured durability value
    • isFishObtainingEnabled

      public boolean isFishObtainingEnabled()
      Description copied from interface: IConfigHelper
      Gets the fish obtaining enabled value.
      Specified by:
      isFishObtainingEnabled in interface IConfigHelper
      Returns:
      configured fish obtaining enabled value
    • getFreezingTemperature

      public int getFreezingTemperature()
      Description copied from interface: IConfigHelper
      Gets the configured freezing temperature value.
      Specified by:
      getFreezingTemperature in interface IConfigHelper
      Returns:
      configured freezing temperature value
    • isMilkingEnabled

      public boolean isMilkingEnabled()
      Description copied from interface: IConfigHelper
      Gets the configured milking enabled value.
      Specified by:
      isMilkingEnabled in interface IConfigHelper
      Returns:
      configured milking enabled value