Matcher

Matcher

The matcher section of a property, denoted by the trim key, determines which armour trims the property applies to and how many of those trims must be present for the property to activate.

Structure

The structure of the matcher section is as follows:

{
"trim": {
"material": "example:copper",
"pattern": "example:silence",
"min_count": 2
}
}

Fields

FieldTypeRequiredDescription
materialstring or string[]No 1The trim material(s) to match. Can be a single material id, a tag (prefixed with #), or a list of either.
patternstring or string[]No 1The trim pattern(s) to match. Can be a single pattern id, a tag (prefixed with #), or a list of either.
min_countintegerNoThe minimum number of matching trims that must be present for the property to activate. Defaults to 1.
  1. One of material or pattern must be provided. If both are provided, a trim must match both to be counted.