description

public DialogManager.ItemBody description(JsonElement description)

Sets an optional description text to appear next to the item. Does not support nbt, score or selector components:contentReference[oaicite:29]{index=29}.

Return

this builder

Parameters

description

text component for the description


public DialogManager.ItemBody description(String text)

Convenience overload for plain string descriptions.

Return

this builder

Parameters

text

plain text description