Components Requirement
This is essentially the 1.21+ version of an NBT requirement, which checks an item's data components.
Example:
{
"components": {
"minecraft:damage": 10,
"minecraft:custom_name": ""
}
}
For full documentation, see NBT Requirement.
Last updated