The number of items in this stack. Range: 1 to the item's maximum stack size (typically 1, 16, or 64).
OptionaldisplayName?: stringThe custom display name of the item, if it has been renamed. Only present when the item has a custom name component (e.g., renamed in an anvil). Contains the plain text string, not JSON text components.
OptionaliconBase64?: stringBase64-encoded square icon image for this item's inventory render. The image is rendered server-side to match the item's resolved in-game appearance. Static items are sent as PNG. Animated items may be sent as GIF.
OptionaliconMimeType?: stringMIME type for the rendered item icon image. Values: "image/png" or "image/gif".
The Minecraft item identifier in namespaced format. Examples: "minecraft:diamond_sword", "minecraft:stone", "minecraft:enchanted_book"
The slot index within the container.
Represents an item in an inventory slot. Used for both container slots and carried (cursor) items.