Or Junction
The or junction results in a match if either it's left- or it's right-hand-side expression evaluates to a match - or both. It is always evaluated last, if not otherwise specified by the use of parentheses.
| Language | Identifier |
|---|---|
| en_us | or |
| en_gb | or |
| de_de | oder |
| de_at | oder |
| de_ch | oder |
| zh_cn | 或 |
| tr_tr | veya |
| fr_fr | ou |
Examples
Input: diamond or iron-ingot
Result: Either a diamond or an iron ingot
Input: unbreaking 2 or thorns 3
Result: An item containing either unbreaking 2 or thorns 3 or both