Class CoalNeoForgeMod

java.lang.Object
com.oliveryasuna.mc.coal.neoforge.CoalNeoForgeMod

public final class CoalNeoForgeMod extends Object
NeoForge entry point for the COAL mod.

Kicks off Coal.bootstrap() eagerly so the discovered provider name shows up in the log at mod-init rather than at the first Coal.register(Class) call from some consumer mod later.

NG's server main-thread executor is looked up on-demand via ServerLifecycleHooks.getCurrentServer() in NeoForgePlatform, so no server-lifecycle event wiring is needed here (unlike Fabric).

  • Constructor Details

    • CoalNeoForgeMod

      public CoalNeoForgeMod(net.neoforged.bus.api.IEventBus modEventBus)