toJson

@NotNull
open fun toJson(@NotNull parent: @NotNull BlueprintLoadContext): @NotNull JsonObject

Converts the face UV data to a JSON object for the Minecraft model file.

Only faces with a defined texture will be included in the output.

Return

the generated JSON object

Since

1.15.2

Parameters

parent

the parent model blueprint, used for texture resolution