Class FMLJavaModLoadingContext

java.lang.Object
net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext

public class FMLJavaModLoadingContext extends Object
  • Field Details

  • Constructor Details

    • FMLJavaModLoadingContext

      FMLJavaModLoadingContext(FMLModContainer container)
  • Method Details

    • 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 the ModLoadingContext correctly.
      Returns:
      The FMLJavaMod language specific extension from the ModLoadingContext