render Item In Staff
public Unit renderItemInStaff(ItemStack staffStack, ModelTransformationMode mode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Integer overlay)(source)
Renders an item.
Parameters
staff Stack
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
vertex Consumers
Vertex consumer provider for rendering calls
light
Light component for rendering calls
overlay
Overlay component for rendering calls