Interface RuleProcessor
- All Superinterfaces:
StructureProcessor, Wrapper
Replaces template blocks according to a list of rules, the first matching rule winning. It is how villages turn cobblestone mossy and zombie villages break their glass.
- Since:
- 3.4.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic RuleProcessorof(List<ProcessorRule> rules) Creates a new processor.rules()The rules tried in order.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
rules
The rules tried in order.- Returns:
- the rules tried in order
- Since:
- 3.4.0
-
of
Creates a new processor.- Parameters:
rules- the rules tried in order- Returns:
- a new processor
- Since:
- 3.4.0
-