BlockStateStaffItemRenderer

@Environment(value = EnvType.CLIENT)
class BlockStateStaffItemRenderer(blockState: BlockState) : IStaffItemRenderer(source)

A IStaffItemRenderer, always which renders a single block state.

Parameters

blockState

The block state to render

Constructors

Link copied to clipboard
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.