StaffItemRenderer

@Environment(value = EnvType.CLIENT)
abstract class StaffItemRenderer(source)

A renderer for an item, which can be placed into a staff.

See also

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
@Environment(value = EnvType.CLIENT)
object Companion

Functions

Link copied to clipboard
abstract fun renderItemInStaff(staffStack: ItemStack, itemTransform: ModelTransformation, mode: ModelTransformationMode, matrices: MatrixStack, vertexConsumers: VertexConsumerProvider, light: Int, overlay: Int)

Renders an item.

Link copied to clipboard
protected fun MatrixStack.transform(itemTransform: ModelTransformation, itemTransformMode: ModelTransformationMode)

Transforms a matrix stack