Class MinecraftModContainer
java.lang.Object
net.neoforged.fml.ModContainer
net.neoforged.fml.mclanguageprovider.MinecraftModContainer
-
Field Summary
Fields inherited from class net.neoforged.fml.ModContainer
extensionPoints, modId, modInfo, namespace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable net.neoforged.bus.api.IEventBus
Returns the event bus for this mod, if available.Methods inherited from class net.neoforged.fml.ModContainer
acceptEvent, acceptEvent, constructMod, getCustomExtension, getModId, getModInfo, getNamespace, registerConfig, registerConfig, registerExtensionPoint, registerExtensionPoint
-
Constructor Details
-
MinecraftModContainer
-
-
Method Details
-
getEventBus
@Nullable public @Nullable net.neoforged.bus.api.IEventBus getEventBus()Description copied from class:ModContainer
Returns the event bus for this mod, if available.Not all mods have an event bus!
- Specified by:
getEventBus
in classModContainer
- Returns:
- the event bus for this mod, if available
-