render

abstract void render(ItemStack stack, ModelTransformation.Mode mode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay)

Renders an item stack.

Parameters

stack

the rendered item stack

mode

the model transformation mode

matrices

the matrix stack

vertexConsumers

the vertex consumer provider

light

packed lightmap coordinates

overlay

the overlay UV passed to overlay

Sources

jvm source
Link copied to clipboard