buildLegacyJson

@Nullable
open fun buildLegacyJson(skipLog: Boolean, @NotNull obfuscator: @NotNull PackObfuscator.Pair, @NotNull context: @NotNull BlueprintLoadContext): @Nullable BlueprintJson

Builds the JSON representation for legacy clients (1.21.3 or under).

Return

the generated blueprint JSON, or null if not applicable

Since

1.15.2

Parameters

skipLog

whether to skip logging warnings for invalid rotations

obfuscator

the obfuscator for model and texture names

context

the load context