Class MinecraftModContainer

java.lang.Object
net.neoforged.fml.ModContainer
net.neoforged.fml.mclanguageprovider.MinecraftModContainer

public class MinecraftModContainer extends ModContainer
  • Constructor Details

    • MinecraftModContainer

      public MinecraftModContainer(IModInfo info)
  • 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 class ModContainer
      Returns:
      the event bus for this mod, if available