Class PixelMKMenu

java.lang.Object
io.github.pixelmk.pixelmkmenu.PixelMKMenu

public class PixelMKMenu extends Object
Mod Entrypoint.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Client Event class.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    ModID for the mod.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PixelMKMenu(net.neoforged.bus.api.IEventBus modEventBus, net.neoforged.fml.ModContainer unusedModContainer)
    Mod Constructor, loaded by NeoForged, first thing that executes when mod is loaded.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onServerStarting(net.neoforged.neoforge.event.server.ServerStartingEvent event)
    Event handler for non-client.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PixelMKMenu

      public PixelMKMenu(net.neoforged.bus.api.IEventBus modEventBus, net.neoforged.fml.ModContainer unusedModContainer)
      Mod Constructor, loaded by NeoForged, first thing that executes when mod is loaded.
      Parameters:
      modEventBus - event bus instance for the mod
      unusedModContainer - mod container
  • Method Details

    • onServerStarting

      public void onServerStarting(net.neoforged.neoforge.event.server.ServerStartingEvent event)
      Event handler for non-client. Gives warning about mod presence.
      Parameters:
      event - ServerStartingEvent