> 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/contains-name-contains-lore.md).

# Contains Name/Contains Lore

## Contains Name

Item display name must contain any listed text (ignores color/format).

```yaml
match-item:
  contains-name:
    - 'test1'
```

## Contains Lore

Any lore line containing listed text will pass (ignores color/format).

```yaml
match-item:
  contains-lore:
    - 'test1'
```
