ItemBody
An item body element. Displays an item stack and an optional description with configurable width/height and tooltip settings:contentReference[oaicite:27]{index=27}.
Functions
Link copied to clipboard
Sets optional item component information (e.g.
Link copied to clipboard
Sets an optional description text to appear next to the item.
Convenience overload for plain string descriptions.
Link copied to clipboard
Sets the vertical size of the element in pixels.
Link copied to clipboard
Creates an item body element with the specified item id and count.
Link copied to clipboard
Controls whether the count and durability bar are rendered over the item icon.
Link copied to clipboard
Controls whether the vanilla item tooltip appears when hovering over the item.
Link copied to clipboard
Sets the horizontal size of the element in pixels.