buildLegacyJson

@Nullable
open fun buildLegacyJson(skipLog: Boolean, @NotNull obfuscator: @NotNull PackObfuscator.Pair, @NotNull parent: @NotNull ModelBlueprint): @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

parent

the parent model blueprint