buildModernJson

@Nullable
@Unmodifiable
open fun buildModernJson(@NotNull obfuscator: PackObfuscator.Pair, @NotNull context: @NotNull BlueprintLoadContext): @Nullable @Unmodifiable List<BlueprintJson>

Builds item model JSON for modern clients, grouping textured cubes by compatible display rotations.


var models = group.buildModernJson(obfuscator, context);

Return

a list of generated blueprint JSONs, or null if no cubes have textured faces

Since

1.15.2

Parameters

obfuscator

the obfuscator for model and texture names

context

the load context