BlockStateStaffItemRenderer

A StaffItemRenderer, always which renders a single block state.

Parameters

blockState

The block state to render

Constructors

Link copied to clipboard
constructor(block: Block)

Creates a new BlockStateStaffItemRenderer with the default state of the given block.

constructor(blockState: BlockState)

Functions

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

Renders an item.