Inside Staff Block State Renderer
@Environment(value = EnvType.CLIENT )
A base class for rendering a BlockState at the default position and scale (that is, "inside" the staff).
Functions
Link copied to clipboard
Returns an InsideStaffBlockStateRenderer, which always renders the default block state of the given BlockItem.
Link copied to clipboard
Returns an InsideStaffBlockStateRenderer, which always renders the given BlockState.
Link copied to clipboard
Gets the offset of the block state to render. Applied after scale.
Link copied to clipboard
Gets the scale of the block state to render. Applied before offset.
Inherited functions
Link copied to clipboard
public Unit emitItemQuads(ItemStack staffStack, Supplier<Random> randomSupplier, RenderContext context)
Adds the model of the block added to the staff to the staff model's mesh.
Link copied to clipboard
Gets the block state to render into the staff.