Class CoalFabricClientMod

java.lang.Object
com.oliveryasuna.mc.coal.fabric.CoalFabricClientMod
All Implemented Interfaces:
net.fabricmc.api.ClientModInitializer

public final class CoalFabricClientMod extends Object implements net.fabricmc.api.ClientModInitializer
Client-side Fabric entry point.

When the COAL provider on the classpath is coal-noop — the deep-noop last-resort provider bundled with the coal mod — configs from mods depending on COAL do not persist. Two user-facing nudges surface that:

  • A toast shown once when the player first reaches the title screen. Catches players before they start playing.
  • A chat message on every world/server join. Catches players who dive straight into a save.
  • Constructor Details

    • CoalFabricClientMod

      public CoalFabricClientMod()
  • Method Details

    • onInitializeClient

      public void onInitializeClient()
      Specified by:
      onInitializeClient in interface net.fabricmc.api.ClientModInitializer