Class NeoForgePlatform
java.lang.Object
dev.ultreon.mods.xinexlib.platform.NeoForgePlatform
- All Implemented Interfaces:
Platform
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclient()createNetworker(String modId, Consumer<NetworkRegistry> registrant) getComponentManager(String modId) getEnv()static NeoForgePlatformgetRegistrarManager(String modId) booleanbooleanisModLoaded(String modId) voidregisterCommand(CommandRegistrant registrant) voidregisterMod(String modId, net.neoforged.bus.api.IEventBus modEventBus) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.ultreon.mods.xinexlib.platform.services.Platform
getEnvironmentName
-
Field Details
-
platform
-
-
Constructor Details
-
NeoForgePlatform
public NeoForgePlatform()
-
-
Method Details
-
getPlatform
-
getPlatformName
- Specified by:
getPlatformNamein interfacePlatform
-
isModLoaded
- Specified by:
isModLoadedin interfacePlatform
-
isDevelopmentEnvironment
public boolean isDevelopmentEnvironment()- Specified by:
isDevelopmentEnvironmentin interfacePlatform
-
getRegistrarManager
- Specified by:
getRegistrarManagerin interfacePlatform
-
getComponentManager
- Specified by:
getComponentManagerin interfacePlatform
-
creativeTabBuilder
- Specified by:
creativeTabBuilderin interfacePlatform
-
getEnv
-
createNetworker
- Specified by:
createNetworkerin interfacePlatform
-
registerCommand
- Specified by:
registerCommandin interfacePlatform
-
client
-
getMod
-
getConfigDir
- Specified by:
getConfigDirin interfacePlatform
-
registerMod
-