Staff Block State Renderer
@Environment(value = EnvType.CLIENT )
A base class for rendering a BlockState at a specific position and scale.
Inheritors
Types
Link copied to clipboard
@Environment(value = EnvType.CLIENT )
A RenderContext.QuadTransform, which scales each quad to scale, and then offsets them by offset.
Properties
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.
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.
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.
Link copied to clipboard