Class NeoForgePlatformHelper
java.lang.Object
com.odinokland.constantmusic.neoforge.platform.NeoForgePlatformHelper
- All Implemented Interfaces:
com.odinokland.constantmusic.common.platform.services.IPlatformHelper
public class NeoForgePlatformHelper
extends Object
implements com.odinokland.constantmusic.common.platform.services.IPlatformHelper
The type Neo forge platform helper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets config folder.Gets platform name.booleanIs development environment boolean.booleanisModLoaded(String modId) Is mod loaded boolean.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.odinokland.constantmusic.common.platform.services.IPlatformHelper
getEnvironmentName
-
Constructor Details
-
NeoForgePlatformHelper
public NeoForgePlatformHelper()Instantiates a new Neo forge platform helper.
-
-
Method Details
-
getPlatformName
Gets platform name.- Specified by:
getPlatformNamein interfacecom.odinokland.constantmusic.common.platform.services.IPlatformHelper- Returns:
- the platform name
-
isModLoaded
Is mod loaded boolean.- Specified by:
isModLoadedin interfacecom.odinokland.constantmusic.common.platform.services.IPlatformHelper- Parameters:
modId- the mod id- Returns:
- the boolean
-
isDevelopmentEnvironment
public boolean isDevelopmentEnvironment()Is development environment boolean.- Specified by:
isDevelopmentEnvironmentin interfacecom.odinokland.constantmusic.common.platform.services.IPlatformHelper- Returns:
- the boolean
-
getConfigFolder
Gets config folder.- Specified by:
getConfigFolderin interfacecom.odinokland.constantmusic.common.platform.services.IPlatformHelper- Returns:
- the config folder
-