Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
MythicCraft
MythicMobs
Wiki
Skills
Conditions
Conditions
· Changes
Page history
added Composite Conditions
authored
May 05, 2023
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Skills/Conditions.md
Skills/Conditions.md
+8
-0
No files found.
Skills/Conditions.md
View page @
002c1a3c
...
@@ -79,6 +79,14 @@ YourMagnificentSkill:
...
@@ -79,6 +79,14 @@ YourMagnificentSkill:
TriggerConditions:
TriggerConditions:
- distance{d=1to10} true
- distance{d=1to10} true
```
```
## Composite Conditions
Conditions can also be grouped by parenthesis and evaluated via the
**AND**
(
`&&`
) and
**OR**
(
`||`
) boolean operators.
```
yaml
Conditions
:
-
((night || raining) && onBlock{material=LIME_CONCRETE})
true
```
Condition Actions
Condition Actions
-----------------
-----------------
...
...