> For the complete documentation index, see [llms.txt](https://enchantedmobs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enchantedmobs.superiormc.cn/docs/features/material.md).

# Material

## Material&#x20;

Match by material key (namespace key, case-insensitive).

Require item material must be the value of this list. This is very similar to items rule, but this rule will only use vanilla item material type.

```yaml
match-item:
  material:
    - 'diamond'
    - 'diamond_sword'
```
