Modifier Predicates
Modifier predicates are a predicate type added by Tinkers’ Construct, matching Modifier ID IDs and modifier properties.
The following sections discuss supported serializers.
Common Predicates
They support all common predicate serializers, though tag predicates are registered with a type of tconstruct:tag instead of mantle:tag until 1.21. Additional modifier predicate serializers are discussed in the following sections.
In 1.18, all common predicate were registered under a domain of tconstruct instead of mantle.
Single Modifier
The single modifier predicate matches the given modifier by ID. It has the following format:
- A modifier predicate object.
- Always
tconstruct:single. - Modifier ID to match.
- Always
Slot Type
The slot type modifier predicate matches modifiers that have a recipe costing the given slot type. It has the following format:
- A modifier predicate object.
- Always
tconstruct:slot_type. - Modifier must have a recipe charging the given slot type to match. If unset or
null, matches modifiers that have a recipe charging no slots (slotless).
- Always