Package software.bluelib
Class BlueLibConstants
java.lang.Object
software.bluelib.BlueLibConstants
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:
- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanTODO: Always have on False when pushing to production ABooleanto enable or disable BlueLib specific logging.static booleanABooleanto enable or disable general logging.static final LoggerApublic static finalLoggerinstance for logging messages.static final Stringstatic final Stringstatic ScheduledExecutorServiceApublic staticScheduledExecutorServiceused to schedule tasks, such as printing messages after a delay. -
Method Summary
-
Field Details
-
LOGGER
Apublic static finalLoggerinstance for logging messages.- Since:
- 1.0.0
-
SCHEDULER
Apublic staticScheduledExecutorServiceused 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
Apublic static finalStringrepresenting the Mod ID for theBlueLibmod.This serves as a unique identifier for the mod.
- Since:
- 1.0.0
- See Also:
-
MOD_NAME
- Since:
- 1.0.0
- See Also:
-
isBlueLibLoggingEnabled
public static boolean isBlueLibLoggingEnabledTODO: Always have on False when pushing to production ABooleanto enable or disable BlueLib specific logging.- Since:
- 1.0.0
-
isLoggingEnabled
public static boolean isLoggingEnabledABooleanto enable or disable general logging.- Since:
- 1.0.0
-