Dialog - Item Body (Section) — SkBee

Addon: SkBee · Category: Section · Since: 3.16.0

Syntax

add item body

Description

An item with optional description. It appears like it is in the inventory slot when the mouse hovers over the item. The size does not scale even if width and height are set to other values than the default. If the description is present, then it appears next to the right side of the item. See [**Item Body**](https://minecraft.wiki/w/Dialog#item) on McWiki for further details. NOTE: Not all entiries will be discussed here, see McWiki link above for all entries. **Entries**: - `item` = An ItemStack/ItemType that will show in the body of a dialog. - `description` = Accepts a Plain Message Body section to describe the item.

Examples

add item body:
	item: diamond sword of unbreaking 3 damaged by 500
	description:
		add plain message body:
			contents: "A Cool Item!"
			width: 300
	show_decoration: true
	show_tooltip: false

View source