Skip to content
GitLab
Explore
Sign in
Register
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
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
-----------------
-----------------
...
...