Button ID to send to the server when clicking. The meaning depends on the container type.
Optionaldescription?: stringOptional tooltip/description text with additional details. Examples: "Requires 3 lapis, 30 levels", "Out of stock"
Whether the button is currently disabled (cannot be clicked). Reasons vary by container: missing materials, out of stock, insufficient levels, etc.
OptionaliconItemId?: stringOptional item ID for displaying an icon. Example: "minecraft:enchanted_book", "minecraft:stone_bricks"
Display label for the button. Examples: "Enchant Slot 1", "Recipe 5", "8x Emerald -> 1x Diamond Pickaxe"
Whether this button is currently selected/active. Used for toggle-style buttons or to show current selection.
A clickable button in a container menu. Used for special interactions like enchantment selection, stonecutter recipes, trade offers, etc.