renderItemInStaff

public Unit renderItemInStaff(ItemStack staffStack, ModelTransformationMode mode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Integer overlay)(source)

Renders an item.

Parameters

staffStack

The staff item stack

mode

The transformation the staff is rendered in. You likely want to pass ModelTransformationMode.NONE to rendering calls

matrices

Matrix stack for rendering calls

vertexConsumers

Vertex consumer provider for rendering calls

light

Light component for rendering calls

overlay

Overlay component for rendering calls