toJson

@Nullable
open fun toJson(@NotNull context: @NotNull BlueprintLoadContext, tint: Int): @Nullable JsonObject

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

Return

the generated JSON object

Since

1.15.2

Parameters

context

the blueprint context, used for texture resolution

tint

the tint index to apply