Item Stack List Render State
Describes an item stack list that ItemStackListRenderer draws. The setters mutate this state and return it, so a list is configured by chaining them and finishing with draw.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Only GuiOverlapRearranger needs the box. States that are not queued for rearrangement are positioned by centerX and centerY alone, thus this stays empty for them.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun itemStackRenderer(itemStackRenderer: ItemStackListRenderer.SingleItemStackRenderer): ItemStackListRenderState
Link copied to clipboard
fun rectBackground(color: Color4b, outlineColor: Color4b = Color4b.TRANSPARENT, margin: Float = this.backgroundMargin): ItemStackListRenderState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard