Item
item/inspect
Item Inspect
Reads properties from an ItemStack — material, display name, lore, amount, damage, and more.
Note: All outputs are read-only — the original ItemStack is not modified. Use Item Modify to change properties.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
item |
item_stack | The ItemStack to inspect. |
Outputs
| Name | Type | Description |
|---|---|---|
material |
string | Namespaced material key (e.g. minecraft:diamond). |
displayName |
string | Custom display name (empty string if not set). |
lore |
list | List of lore lines (empty list if none). |
amount |
number | Stack size. |
damage |
number | Current durability damage taken (0 = undamaged). |
maxDurability |
number | Maximum durability of the item type (0 for indestructible). |
customModelData |
number | Custom model data value (-1 if not set). |
isUnbreakable |
boolean | True if the item has the unbreakable flag set. |
isAir |
boolean | True if the item is AIR or an empty slot. |
Examples
Check the held item material
Inspect what material a player is holding.
- Held Item (GET) → item → Item Inspect
- Item Inspect → material → Compare (== minecraft:diamond_sword)