render Block State
fun renderBlockState(blockState: BlockState, matrices: MatrixStack, vertexConsumers: VertexConsumerProvider, light: Int, overlay: Int)(source)
Renders a BlockState.
Parameters
block State
The block state to render
matrices
The render transformation matrix
vertex Consumers
The render output
light
Light parameter from the game
overlay
Overlay parameter from the game
fun renderBlockState(blockStateId: ModelIdentifier, blockStateItem: ItemStack, matrices: MatrixStack, vertexConsumers: VertexConsumerProvider, light: Int, overlay: Int)(source)
Renders a BlockState.
Parameters
block State Id
The ID of the block state
block State Item
The item form of the block state
matrices
The render transformation matrix
vertex Consumers
The render output
light
Light parameter from the game
overlay
Overlay parameter from the game