Class NeoForgePlatformHelper
java.lang.Object
com.codinglitch.lexiconfig.platform.NeoForgePlatformHelper
- All Implemented Interfaces:
PlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the current platformbooleanCheck if the game is currently in a development environment.booleanisModLoaded(String modId) Checks if a mod with the given id is loaded.voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.codinglitch.lexiconfig.platform.services.PlatformHelper
getEnvironmentName
-
Constructor Details
-
NeoForgePlatformHelper
public NeoForgePlatformHelper()
-
-
Method Details
-
getPlatformName
Description copied from interface:PlatformHelperGets the name of the current platform- Specified by:
getPlatformNamein interfacePlatformHelper- Returns:
- The name of the current platform.
-
getConfigPath
- Specified by:
getConfigPathin interfacePlatformHelper
-
shelveLexicons
public void shelveLexicons()- Specified by:
shelveLexiconsin interfacePlatformHelper
-
isModLoaded
Description copied from interface:PlatformHelperChecks if a mod with the given id is loaded.- Specified by:
isModLoadedin interfacePlatformHelper- Parameters:
modId- The mod to check if it is loaded.- Returns:
- True if the mod is loaded, false otherwise.
-
isDevelopmentEnvironment
public boolean isDevelopmentEnvironment()Description copied from interface:PlatformHelperCheck if the game is currently in a development environment.- Specified by:
isDevelopmentEnvironmentin interfacePlatformHelper- Returns:
- True if in a development environment, false otherwise.
-