toVanilla

abstract void toVanilla(int spriteIndex, Array<int> target, int targetIndex, boolean isItem)

Reads baked vertex data and outputs standard baked quadvertex data in the given array and location.

Parameters

spriteIndex

The sprite to be used for the quad.Behavior for values > 0 is currently undefined.

target

Target array for the baked quad data.

targetIndex

Starting position in target array - array must haveat least 28 elements available at this index.

isItem

If true, will output vertex normals. Otherwise will outputlightmaps, per Minecraft vertex formats for baked models.

Sources

jvm source
Link copied to clipboard