Interface ItemDialogBody
- All Superinterfaces:
DialogBody
An item body for a dialog.
Created via DialogBody.item(ItemStack, PlainMessageDialogBody, boolean, boolean, int, int)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA builder for an item dialog body. -
Method Summary
Modifier and TypeMethodDescriptionThe description of the body, or null if not set.height()The height of the item body.item()The item to display in the dialog.booleanWhether to show decorations around the item.booleanWhether to show a tooltip for the item.width()The width of the item body.
-
Method Details
-
item
-
description
The description of the body, or null if not set.- Returns:
- the description body
-
showDecorations
-
showTooltip
-
width
-
height
-