Interface IPlatformHelper
- All Known Implementing Classes:
FabricPlatformHelper
public interface IPlatformHelper
-
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
-
Method Details
-
getConfigDir
Path getConfigDir()Gets the path to the mods directory- Returns:
- the path to the mods directory
-
getConfiguredLocale
String getConfiguredLocale()Gets the configured language to be used for spell checking- Returns:
- get configured language
-
getCheckingThreshold
int getCheckingThreshold()Gets the configured checking threshold- Returns:
- get configured checking threshold
-
getMaxSuggestions
int getMaxSuggestions()Gets the configured max suggestions- Returns:
- get configured max suggestions
-
showSuggestionsLive
boolean showSuggestionsLive()Show spell suggestions live- Returns:
- get configured value signifying whether to show suggestions live
-