%inv:EXPR% inventory contains %mat:MATERIAL% — Conditions

%inv:EXPR% inventory contains %mat:MATERIAL%
Inventory1.0.0

Description

Checks if a custom inventory contains at least one item of the given material.

Examples

if gui inventory contains diamond:

All Possible Usages (1)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

<inv> inventory contains <mat>

Related (Inventory)