Klasse NeoForgePlatformHelper

java.lang.Object
gollorum.signpost.platform.NeoForgePlatformHelper
Alle implementierten Schnittstellen:
IPlatformHelper

public class NeoForgePlatformHelper extends Object implements IPlatformHelper
  • Konstruktordetails

    • NeoForgePlatformHelper

      public NeoForgePlatformHelper()
  • Methodendetails

    • getPlatformName

      public String getPlatformName()
      Beschreibung aus Schnittstelle kopiert: IPlatformHelper
      Gets the name of the current platform
      Angegeben von:
      getPlatformName in Schnittstelle IPlatformHelper
      Gibt zurück:
      The name of the current platform.
    • isModLoaded

      public boolean isModLoaded(String modId)
      Beschreibung aus Schnittstelle kopiert: IPlatformHelper
      Checks if a mod with the given id is loaded.
      Angegeben von:
      isModLoaded in Schnittstelle IPlatformHelper
      Parameter:
      modId - The mod to check if it is loaded.
      Gibt zurück:
      True if the mod is loaded, false otherwise.
    • isDevelopmentEnvironment

      public boolean isDevelopmentEnvironment()
      Beschreibung aus Schnittstelle kopiert: IPlatformHelper
      Check if the game is currently in a development environment.
      Angegeben von:
      isDevelopmentEnvironment in Schnittstelle IPlatformHelper
      Gibt zurück:
      True if in a development environment, false otherwise.