BedrockLog

public final class BedrockLog

Package-wide static log facade used by every converter helper class. Set once at the start of generate from the BedrockConverterContext's MixerLogger, and read from there by every utility (geometry converter, scanner, stitcher, …).

Why a static slot rather than threading a logger parameter through every helper: there are 20+ classes in this module and every helper logs in a dozen spots. Threading a MixerLogger parameter through all of them would touch ~150 call sites for zero behavioral benefit. The conversion pipeline is not concurrent — exactly one BedrockConversion#generate call runs at a time on the mixer's scheduler thread — so a single static sink is safe.

Defaults to a no-op sink before/after a generate call, so unit tests that exercise a single helper class don't crash on a missing logger.

Functions

Link copied to clipboard
public static void debug(String message)
Per-item / per-bone / per-attachable progress and informational messages.
Link copied to clipboard
public static void info(String message)
Link copied to clipboard
public static void set(MixerLogger logger)
Install the platform's logger for the duration of a conversion run.
Link copied to clipboard
public static void setDebug(boolean enabled)
Enable or disable debug output.
Link copied to clipboard
public static void warn(String message)