toJson

@NotNull
open fun toJson(@NotNull parent: @NotNull ModelBlueprint, tint: Int): @NotNull JsonObject

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

Return

the generated JSON object

Since

1.15.2

Parameters

parent

the parent model blueprint, used for texture resolution

tint

the tint index to apply