BlockStateStaffItemRenderer

@Environment(value = EnvType.CLIENT)
public final class BlockStateStaffItemRenderer implements IStaffItemRenderer(source)

A IStaffItemRenderer, always which renders a single block state.

Parameters

blockState

The block state to render

Constructors

Functions

Link copied to clipboard
public final static Unit renderBlockState(BlockState blockState, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Integer overlay)
public final static Unit renderBlockState(ModelIdentifier blockStateId, ItemStack blockStateItem, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Integer overlay)

Renders a BlockState.

Link copied to clipboard
public Unit renderItemInStaff(ItemStack staffStack, ModelTransformationMode mode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Integer overlay)

Renders an item.