PreviewDrawOptions
Index
Properties
optionalBackground
The background color to draw the preview box in - defaults to white
optionalBorder
Whether or not to draw a border around the preview box
optionalC
The character using the item (used to calculate dynamic item descriptions/previews)
optionalCraft
The crafted properties of the item
optionalDescription
The preview box description.
optionalDisabled
Whether or not the element is disabled (prevents hover functionality)
optionalForeground
The foreground (text) color to draw the description in - defaults to black
optionalHeight
The height of the preview rectangle
optionalHover
Whether or not the button should enable hover behavior (background color change)
optionalHoverBackground
The background color that should be used on mouse hover, if any
optionalIcons
A list of images to draw in the top-left of the preview box
optionalVibrating
Whether or not to add vibration effects to the item - defaults to false
optionalWidth
The width of the preview rectangle
Drawing options for an item's preview box