MCPcopy Index your code
hub / github.com/cabaletta/baritone / logDirect

Method logDirect

src/api/java/baritone/api/utils/Helper.java:168–168  ·  view source on GitHub ↗

Send components to chat with the [Baritone] prefix @param logAsToast Whether to log as a toast notification @param components The components to send

(boolean logAsToast, Component... components)

Source from the content-addressed store, hash-verified

166 * @param components The components to send
167 */
168 default void logDirect(boolean logAsToast, Component... components) {
169 MutableComponent component = Component.literal("");
170 if (!logAsToast && !BaritoneAPI.getSettings().useMessageTag.value) {
171 component.append(getPrefix());

Callers 15

mouseReleasedMethod · 0.80
onPlayerDeathMethod · 0.80
findPathInNewThreadMethod · 0.80
logRanCommandMethod · 0.80
runCommandMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
warn2b2tMethod · 0.80
gatekeepMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80

Implementers 11

CachedWorldsrc/main/java/baritone/cache/CachedWor
GuiClicksrc/main/java/baritone/utils/GuiClick.
BaritoneProcessHelpersrc/main/java/baritone/utils/BaritoneP
InventoryBehaviorsrc/main/java/baritone/behavior/Invent
PathingBehaviorsrc/main/java/baritone/behavior/Pathin
ExampleBaritoneControlsrc/main/java/baritone/command/Example
PathExecutorsrc/main/java/baritone/pathing/path/Pa
AbstractNodeCostSearchsrc/main/java/baritone/pathing/calc/Ab
ElytraBehaviorsrc/main/java/baritone/process/elytra/
GameEventHandlersrc/main/java/baritone/event/GameEvent
Paginatorsrc/api/java/baritone/api/command/help

Calls

no outgoing calls

Tested by

no test coverage detected