Data / Materials
data/item_material
Item Material
Resolves and validates an item material name.
Outputs
| Name | Type | Description |
|---|---|---|
name |
string | Canonical material name (e.g. DIAMOND_SWORD). |
found |
boolean | True if resolved to a known Bukkit Material. |
isItem |
boolean | True if the material can exist in an inventory. |
isBlock |
boolean | True if the material can also be placed as a block. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
material |
string | "DIAMOND_SWORD" |
Material Name |