Class NeoForgeVeilPlatform

java.lang.Object
foundry.veil.neoforge.platform.NeoForgeVeilPlatform
All Implemented Interfaces:
VeilPlatform

@Internal public class NeoForgeVeilPlatform extends Object implements VeilPlatform
  • Constructor Details

    • NeoForgeVeilPlatform

      public NeoForgeVeilPlatform()
  • Method Details

    • getPlatformName

      public String getPlatformName()
      Description copied from interface: VeilPlatform
      Gets the name of the current platform
      Specified by:
      getPlatformName in interface VeilPlatform
      Returns:
      The name of the current platform.
    • isModLoaded

      public boolean isModLoaded(String modId)
      Description copied from interface: VeilPlatform
      Checks if a mod with the given id is loaded.
      Specified by:
      isModLoaded in interface VeilPlatform
      Parameters:
      modId - The mod to check if it is loaded.
      Returns:
      True if the mod is loaded, false otherwise.
    • isDevelopmentEnvironment

      public boolean isDevelopmentEnvironment()
      Description copied from interface: VeilPlatform
      Check if the game is currently in a development environment.
      Specified by:
      isDevelopmentEnvironment in interface VeilPlatform
      Returns:
      True if in a development environment, false otherwise.