Class NeoForgePlatformHelper
java.lang.Object
com.mrbysco.spellchecker.platform.NeoForgePlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the configured checking thresholdGets the path to the mods directoryGets the configured language to be used for spell checkingintGets the configured max suggestionsbooleanShow spell suggestions live
-
Constructor Details
-
NeoForgePlatformHelper
public NeoForgePlatformHelper()
-
-
Method Details
-
getConfigDir
Description copied from interface:IPlatformHelperGets the path to the mods directory- Specified by:
getConfigDirin interfaceIPlatformHelper- Returns:
- the path to the mods directory
-
getConfiguredLocale
Description copied from interface:IPlatformHelperGets the configured language to be used for spell checking- Specified by:
getConfiguredLocalein interfaceIPlatformHelper- Returns:
- get configured language
-
getCheckingThreshold
public int getCheckingThreshold()Description copied from interface:IPlatformHelperGets the configured checking threshold- Specified by:
getCheckingThresholdin interfaceIPlatformHelper- Returns:
- get configured checking threshold
-
getMaxSuggestions
public int getMaxSuggestions()Description copied from interface:IPlatformHelperGets the configured max suggestions- Specified by:
getMaxSuggestionsin interfaceIPlatformHelper- Returns:
- get configured max suggestions
-
showSuggestionsLive
public boolean showSuggestionsLive()Description copied from interface:IPlatformHelperShow spell suggestions live- Specified by:
showSuggestionsLivein interfaceIPlatformHelper- Returns:
- get configured value signifying whether to show suggestions live
-