render Block State
public final static Unit renderBlockState(BlockState blockState, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Integer overlay)(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
public final static Unit renderBlockState(ModelIdentifier blockStateId, ItemStack blockStateItem, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Integer overlay)(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