Package gollorum.signpost.platform
Klasse NeoForgePlatformHelper
java.lang.Object
gollorum.signpost.platform.NeoForgePlatformHelper
- Alle implementierten Schnittstellen:
IPlatformHelper
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGets the name of the current platformbooleanCheck if the game is currently in a development environment.booleanisModLoaded(String modId) Checks if a mod with the given id is loaded.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden gollorum.signpost.platform.services.IPlatformHelper
getEnvironmentName
-
Konstruktordetails
-
NeoForgePlatformHelper
public NeoForgePlatformHelper()
-
-
Methodendetails
-
getPlatformName
Beschreibung aus Schnittstelle kopiert:IPlatformHelperGets the name of the current platform- Angegeben von:
getPlatformNamein SchnittstelleIPlatformHelper- Gibt zurück:
- The name of the current platform.
-
isModLoaded
Beschreibung aus Schnittstelle kopiert:IPlatformHelperChecks if a mod with the given id is loaded.- Angegeben von:
isModLoadedin SchnittstelleIPlatformHelper- 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:IPlatformHelperCheck if the game is currently in a development environment.- Angegeben von:
isDevelopmentEnvironmentin SchnittstelleIPlatformHelper- Gibt zurück:
- True if in a development environment, false otherwise.
-