Class FabricPlatformHelper
java.lang.Object
com.odinokland.constantmusic.fabric.platform.FabricPlatformHelper
- All Implemented Interfaces:
com.odinokland.constantmusic.common.platform.services.IPlatformHelper
public class FabricPlatformHelper
extends Object
implements com.odinokland.constantmusic.common.platform.services.IPlatformHelper
The type Fabric 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
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
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
-