Class NeoForgePlatformHelper
java.lang.Object
me.alexdevs.classicPeripherals.platform.NeoForgePlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe loader's configuration directory, used to load the mod's TOML config.Gets the name of the current platform.booleanWhether the game is running in a development environment.booleanisModLoaded(String modId) Checks if a mod with the given id is loaded.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.alexdevs.classicPeripherals.platform.services.IPlatformHelper
getEnvironmentName
-
Constructor Details
-
NeoForgePlatformHelper
public NeoForgePlatformHelper()
-
-
Method Details
-
getPlatformName
Description copied from interface:IPlatformHelperGets the name of the current platform.- Specified by:
getPlatformNamein interfaceIPlatformHelper
-
isModLoaded
Description copied from interface:IPlatformHelperChecks if a mod with the given id is loaded.- Specified by:
isModLoadedin interfaceIPlatformHelper
-
isDevelopmentEnvironment
public boolean isDevelopmentEnvironment()Description copied from interface:IPlatformHelperWhether the game is running in a development environment.- Specified by:
isDevelopmentEnvironmentin interfaceIPlatformHelper
-
getConfigDir
Description copied from interface:IPlatformHelperThe loader's configuration directory, used to load the mod's TOML config.- Specified by:
getConfigDirin interfaceIPlatformHelper
-