Data / Materials data/item_material

Item Material

Resolves and validates an item material name.

Outputs

NameTypeDescription
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

KeyTypeDefaultDescription
material string "DIAMOND_SWORD" Material Name