Class NeoForgeConfigHelper

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

public class NeoForgeConfigHelper extends Object implements IConfigHelper
The config service implementation for NeoForge.
  • 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
    • 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