Class CoreLib

java.lang.Object
dev.scsupercraft.mc.libraries.corelib.CoreLib

public final class CoreLib extends Object
The common entry point for CoreLib.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
    The logger.
    static final String
    The mod id.
    static @Nullable net.minecraft.server.MinecraftServer
    The current minecraft server, null if no server is online.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Initializes CoreLib.

    Methods inherited from class java.lang.Object

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

    • MOD_ID

      public static final String MOD_ID
      The mod id.
      See Also:
    • LOGGER

      public static final org.slf4j.Logger LOGGER
      The logger.
    • server

      @Nullable public static @Nullable net.minecraft.server.MinecraftServer server
      The current minecraft server, null if no server is online.
  • Method Details

    • init

      public static void init()
      Initializes CoreLib. Should only be called by CoreLib.