Modifier and Type | Field and Description |
---|---|
static Helper |
HELPER
Instance of
Helper . |
static net.minecraft.client.Minecraft |
mc
Instance of the game
|
Modifier and Type | Method and Description |
---|---|
static net.minecraft.util.text.ITextComponent |
getPrefix() |
default void |
logDebug(java.lang.String message)
Send a message to chat only if chatDebug is on
|
default void |
logDirect(boolean logAsToast,
net.minecraft.util.text.ITextComponent... components)
Send components to chat with the [Baritone] prefix
|
default void |
logDirect(net.minecraft.util.text.ITextComponent... components)
Send components to chat with the [Baritone] prefix
|
default void |
logDirect(java.lang.String message)
Send a message to chat regardless of chatDebug (should only be used for critically important messages, or as a
direct response to a chat command)
|
default void |
logDirect(java.lang.String message,
boolean logAsToast)
Send a message to chat regardless of chatDebug (should only be used for critically important messages, or as a
direct response to a chat command)
|
default void |
logDirect(java.lang.String message,
net.minecraft.util.text.TextFormatting color)
Send a message to chat regardless of chatDebug (should only be used for critically important messages, or as a
direct response to a chat command)
|
default void |
logDirect(java.lang.String message,
net.minecraft.util.text.TextFormatting color,
boolean logAsToast)
Send a message to chat regardless of chatDebug (should only be used for critically important messages, or as a
direct response to a chat command)
|
default void |
logNotification(java.lang.String message)
Send a message as a desktop notification
|
default void |
logNotification(java.lang.String message,
boolean error)
Send a message as a desktop notification
|
default void |
logNotificationDirect(java.lang.String message)
Send a message as a desktop notification regardless of desktopNotifications
(should only be used for critically important messages)
|
default void |
logNotificationDirect(java.lang.String message,
boolean error)
Send a message as a desktop notification regardless of desktopNotifications
(should only be used for critically important messages)
|
default void |
logToast(net.minecraft.util.text.ITextComponent title,
net.minecraft.util.text.ITextComponent message)
Send a message to display as a toast popup
|
default void |
logToast(java.lang.String message)
Send a message to display as a toast popup
|
default void |
logToast(java.lang.String title,
java.lang.String message)
Send a message to display as a toast popup
|
static final net.minecraft.client.Minecraft mc
static net.minecraft.util.text.ITextComponent getPrefix()
default void logToast(net.minecraft.util.text.ITextComponent title, net.minecraft.util.text.ITextComponent message)
title
- The title to display in the popupmessage
- The message to display in the popupdefault void logToast(java.lang.String title, java.lang.String message)
title
- The title to display in the popupmessage
- The message to display in the popupdefault void logToast(java.lang.String message)
message
- The message to display in the popupdefault void logNotification(java.lang.String message)
message
- The message to display in the notificationdefault void logNotification(java.lang.String message, boolean error)
message
- The message to display in the notificationerror
- Whether to log as an errordefault void logNotificationDirect(java.lang.String message)
message
- The message to display in the notificationdefault void logNotificationDirect(java.lang.String message, boolean error)
message
- The message to display in the notificationerror
- Whether to log as an errordefault void logDebug(java.lang.String message)
message
- The message to display in chatdefault void logDirect(boolean logAsToast, net.minecraft.util.text.ITextComponent... components)
logAsToast
- Whether to log as a toast notificationcomponents
- The components to senddefault void logDirect(net.minecraft.util.text.ITextComponent... components)
components
- The components to senddefault void logDirect(java.lang.String message, net.minecraft.util.text.TextFormatting color, boolean logAsToast)
message
- The message to display in chatcolor
- The color to print that message inlogAsToast
- Whether to log as a toast notificationdefault void logDirect(java.lang.String message, net.minecraft.util.text.TextFormatting color)
message
- The message to display in chatcolor
- The color to print that message indefault void logDirect(java.lang.String message, boolean logAsToast)
message
- The message to display in chatlogAsToast
- Whether to log as a toast notificationdefault void logDirect(java.lang.String message)
message
- The message to display in chat