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 Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • Method Details

    • getPlatformName

      public String getPlatformName()
      Gets platform name.
      Specified by:
      getPlatformName in interface com.odinokland.constantmusic.common.platform.services.IPlatformHelper
      Returns:
      the platform name
    • isModLoaded

      public boolean isModLoaded(String modId)
      Is mod loaded boolean.
      Specified by:
      isModLoaded in interface com.odinokland.constantmusic.common.platform.services.IPlatformHelper
      Parameters:
      modId - the mod id
      Returns:
      the boolean
    • isDevelopmentEnvironment

      public boolean isDevelopmentEnvironment()
      Is development environment boolean.
      Specified by:
      isDevelopmentEnvironment in interface com.odinokland.constantmusic.common.platform.services.IPlatformHelper
      Returns:
      the boolean
    • getConfigFolder

      public Path getConfigFolder()
      Gets config folder.
      Specified by:
      getConfigFolder in interface com.odinokland.constantmusic.common.platform.services.IPlatformHelper
      Returns:
      the config folder