Class FabricPlatformService
java.lang.Object
dev.upcraft.sparkweave.platform.BasePlatformService
dev.upcraft.sparkweave.fabric.service.FabricPlatformService
- All Implemented Interfaces:
PlatformService
@AutoService(PlatformService.class)
public class FabricPlatformService
extends BasePlatformService
implements PlatformService
-
Field Summary
Fields inherited from class dev.upcraft.sparkweave.platform.BasePlatformService
appDirs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLaunchArguments(boolean hideSensitive) getModContainer(String modid) booleanbooleanisModLoaded(String modid) Methods inherited from class dev.upcraft.sparkweave.platform.BasePlatformService
getUserDataDirMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.upcraft.sparkweave.api.platform.services.PlatformService
getEnvString, getUserDataDir
-
Constructor Details
-
FabricPlatformService
-
-
Method Details
-
isModLoaded
- Specified by:
isModLoadedin interfacePlatformService
-
isDevelopmentEnvironment
public boolean isDevelopmentEnvironment()- Specified by:
isDevelopmentEnvironmentin interfacePlatformService
-
getGameDir
- Specified by:
getGameDirin interfacePlatformService
-
getConfigDir
- Specified by:
getConfigDirin interfacePlatformService
-
getModContainer
- Specified by:
getModContainerin interfacePlatformService
-
getActiveMods
- Specified by:
getActiveModsin interfacePlatformService
-
getEnvironmentType
- Specified by:
getEnvironmentTypein interfacePlatformService
-
getLaunchArguments
- Specified by:
getLaunchArgumentsin interfacePlatformService
-
getUserAgent
- Specified by:
getUserAgentin interfacePlatformService
-
getPlatformName
- Specified by:
getPlatformNamein interfacePlatformService
-