Class FabricPlatformHelper

java.lang.Object
com.mrbysco.spellchecker.platform.FabricPlatformHelper
All Implemented Interfaces:
IPlatformHelper

public class FabricPlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • Method Details

    • getConfigDir

      public Path getConfigDir()
      Description copied from interface: IPlatformHelper
      Gets the path to the mods directory
      Specified by:
      getConfigDir in interface IPlatformHelper
      Returns:
      the path to the mods directory
    • getConfiguredLocale

      public String getConfiguredLocale()
      Description copied from interface: IPlatformHelper
      Gets the configured language to be used for spell checking
      Specified by:
      getConfiguredLocale in interface IPlatformHelper
      Returns:
      get configured language
    • getCheckingThreshold

      public int getCheckingThreshold()
      Description copied from interface: IPlatformHelper
      Gets the configured checking threshold
      Specified by:
      getCheckingThreshold in interface IPlatformHelper
      Returns:
      get configured checking threshold
    • getMaxSuggestions

      public int getMaxSuggestions()
      Description copied from interface: IPlatformHelper
      Gets the configured max suggestions
      Specified by:
      getMaxSuggestions in interface IPlatformHelper
      Returns:
      get configured max suggestions
    • showSuggestionsLive

      public boolean showSuggestionsLive()
      Description copied from interface: IPlatformHelper
      Show spell suggestions live
      Specified by:
      showSuggestionsLive in interface IPlatformHelper
      Returns:
      get configured value signifying whether to show suggestions live