Class BlueLibConstants

java.lang.Object
software.bluelib.BlueLibConstants

public class BlueLibConstants extends Object
A public class that defines common constants used across the BlueLib mod.

This class contains constants such as the mod's MOD_ID, MOD_NAME, and a ScheduledExecutorService for scheduling tasks.

Key Fields:

  • SCHEDULER - Executor for scheduling delayed tasks.
  • MOD_ID - Unique identifier for the mod.
  • MOD_NAME - Display name of the mod.
Since:
1.0.0
  • Field Details

    • LOGGER

      public static final Logger LOGGER
      A public static final Logger instance for logging messages.
      Since:
      1.0.0
    • SCHEDULER

      public static ScheduledExecutorService SCHEDULER
      A public static ScheduledExecutorService used to schedule tasks, such as printing messages after a delay.

      This executor runs tasks on a single thread to ensure delayed tasks run in a separate thread from the main thread.

      Since:
      1.0.0
    • MOD_ID

      public static final String MOD_ID
      A public static final String representing the Mod ID for the BlueLib mod.

      This serves as a unique identifier for the mod.

      Since:
      1.0.0
      See Also:
    • MOD_NAME

      public static final String MOD_NAME
      A public static final String representing the Mod Name for the BlueLib mod.
      Since:
      1.0.0
      See Also:
    • isBlueLibLoggingEnabled

      public static boolean isBlueLibLoggingEnabled
      TODO: Always have on False when pushing to production A Boolean to enable or disable BlueLib specific logging.
      Since:
      1.0.0
    • isLoggingEnabled

      public static boolean isLoggingEnabled
      A Boolean to enable or disable general logging.
      Since:
      1.0.0