Class Globals
java.lang.Object
com.zenith.Globals
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final Baritonestatic final BlockDataManagerstatic final Botstatic final DataCachestatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final CommandManagerstatic final Configstatic final Filestatic final DatabaseManagerstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final DiscordBotstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final EntityDataManagerstatic final com.github.rfresh2.SimpleEventBusstatic final ScheduledExecutorServicestatic final com.google.gson.Gsonstatic final InGameGuiManagerstatic final InGameCommandManagerstatic final InputManagerstatic final InventoryManagerstatic final LaunchConfigstatic final Filestatic final MapBlockColorManagerstatic final Stringstatic final ModuleManagerstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final tools.jackson.databind.ObjectMapperstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final PlayerListsManagerstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final PluginManagerstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final TerminalManagerstatic final net.kyori.adventure.text.logger.slf4j.ComponentLoggerstatic final TPSCalculatorstatic final ZenithViaInitializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Stringstatic @Nullable Stringstatic @Nullable Stringstatic booleaninDevEnv()static Configstatic <T> TloadConfig(File file, Class<T> configClass, ConfigSerializer serializer) static LaunchConfigstatic voidstatic voidstatic void
-
Field Details
-
GSON
public static final com.google.gson.Gson GSON -
OBJECT_MAPPER
public static final tools.jackson.databind.ObjectMapper OBJECT_MAPPER -
DEFAULT_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger DEFAULT_LOG -
AUTH_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger AUTH_LOG -
CACHE_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger CACHE_LOG -
CLIENT_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger CLIENT_LOG -
CHAT_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger CHAT_LOG -
MODULE_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger MODULE_LOG -
SERVER_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger SERVER_LOG -
DISCORD_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger DISCORD_LOG -
DATABASE_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger DATABASE_LOG -
TERMINAL_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger TERMINAL_LOG -
PLUGIN_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger PLUGIN_LOG -
PATH_LOG
public static final net.kyori.adventure.text.logger.slf4j.ComponentLogger PATH_LOG -
CONFIG_FILE
-
LAUNCH_CONFIG_FILE
-
CONFIG
-
LAUNCH_CONFIG
-
CACHE
-
DISCORD
-
EVENT_BUS
public static final com.github.rfresh2.SimpleEventBus EVENT_BUS -
EXECUTOR
-
PLAYER_LISTS
-
BLOCK_DATA
-
ENTITY_DATA
-
MAP_BLOCK_COLOR
-
DATABASE
-
TPS
-
MODULE
-
INPUTS
-
TERMINAL
-
IN_GAME_COMMAND
-
COMMAND
-
BOT
-
BARITONE
-
INVENTORY
-
VIA_INITIALIZER
-
PLUGIN_MANAGER
-
GUI
-
MC_VERSION
-
-
Constructor Details
-
Globals
public Globals()
-
-
Method Details
-
inDevEnv
public static boolean inDevEnv() -
getExecutableCommit
-
getExecutableReleaseVersion
-
getMCVersionFile
-
loadConfig
-
loadLaunchConfig
-
loadConfig
-
saveConfigAsync
public static void saveConfigAsync() -
saveConfig
public static void saveConfig() -
saveLaunchConfig
public static void saveLaunchConfig()
-