renderBlockState

public final static Unit renderBlockState(BlockState blockState, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Integer overlay)(source)

Renders a BlockState.

Parameters

blockState

The block state to render

matrices

The render transformation matrix

vertexConsumers

The render output

light

Light parameter from the game

overlay

Overlay parameter from the game


public final static Unit renderBlockState(ModelIdentifier blockStateId, ItemStack blockStateItem, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Integer overlay)(source)

Renders a BlockState.

Parameters

blockStateId

The ID of the block state

blockStateItem

The item form of the block state

matrices

The render transformation matrix

vertexConsumers

The render output

light

Light parameter from the game

overlay

Overlay parameter from the game