Class FMLJavaModLoadingContext
- java.lang.Object
-
- net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext
-
public class FMLJavaModLoadingContext extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private FMLModContainer
container
-
Constructor Summary
Constructors Constructor Description FMLJavaModLoadingContext(FMLModContainer container)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FMLJavaModLoadingContext
get()
Helper to get the right instance from theModLoadingContext
correctly.net.minecraftforge.eventbus.api.IEventBus
getModEventBus()
-
-
-
Field Detail
-
container
private final FMLModContainer container
-
-
Constructor Detail
-
FMLJavaModLoadingContext
FMLJavaModLoadingContext(FMLModContainer container)
-
-
Method Detail
-
getModEventBus
public net.minecraftforge.eventbus.api.IEventBus getModEventBus()
- Returns:
- The mod's event bus, to allow subscription to Mod specific events
-
get
public static FMLJavaModLoadingContext get()
Helper to get the right instance from theModLoadingContext
correctly.- Returns:
- The FMLJavaMod language specific extension from the ModLoadingContext
-
-