Class MycelDiagnostics

java.lang.Object
my.celium.org.diag.MycelDiagnostics

public final class MycelDiagnostics extends Object
Lightweight diagnostics: versions, platform, registered mods, config state. Surfaced through /mycel info and /mycel mods; noiseless otherwise (nothing is logged unless asked).
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.network.chat.MutableComponent
    Styled row for one config value: path, current, constraint, default when changed.
    static net.minecraft.network.chat.MutableComponent
    Styled header for /mycel info: brand + platform + versions.
    static net.minecraft.network.chat.MutableComponent
    Styled row for a single registered mod, for use under a header.
    static List<String>
    One short line per fact; stable order for tests and admins.

    Methods inherited from class Object

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

    • summaryLines

      public static List<String> summaryLines()
      One short line per fact; stable order for tests and admins.
    • headerLine

      public static net.minecraft.network.chat.MutableComponent headerLine()
      Styled header for /mycel info: brand + platform + versions.
    • modLine

      public static net.minecraft.network.chat.MutableComponent modLine(ModMetadata mod)
      Styled row for a single registered mod, for use under a header.
    • configLine

      public static net.minecraft.network.chat.MutableComponent configLine(ConfigValue<?> value)
      Styled row for one config value: path, current, constraint, default when changed.