render Item In Staff
open override fun renderItemInStaff(staffStack: ItemStack, mode: ModelTransformationMode, matrices: MatrixStack, vertexConsumers: VertexConsumerProvider, light: Int, overlay: Int)(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