Changes
Page history
added isTamed condition and formatted the example
authored
May 20, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Conditions.md
View page @
d6d97cdc
...
...
@@ -177,6 +177,7 @@ Conditions
|
[
isPlayer
](
/skills/conditions/isplayer
)
| Entity | Checks if the target is a player |
|
[
isSaddled
](
/skills/conditions/issaddled
)
| Entity | Checks if the target entity is saddled |
|
[
isSprinting
](
/skills/conditions/issprinting
)
| Entity | Checks if the target
**Player**
is sprinting |
|
[
isTamed
](
/skills/conditions/IsTamed
)
| Entity | Checks if the target entity is tamed |
|
[
ItemIsSimilar
](
/skills/conditions/itemissimilar
)
| Entity | Checks that targeted player's inventory slot if it's similar to an item |
|
[
ItemRecharging
](
/skills/conditions/itemrecharging
)
| Entity | Checks if the target's weapon is recharging |
|
[
LastDamageCause
](
/skills/conditions/lastdamagecause
)
| Entity | Checks the target's last damage cause |
...
...
@@ -248,7 +249,7 @@ Conditions
More Examples
-------------
```
yaml
FlameShock
:
Cooldown
:
1
Conditions
:
...
...
@@ -266,5 +267,5 @@ More Examples
-
message{m="<target.name> &ecombusts"}
-
effect:particles{p=flame;a=20;hS=3;vS=1;s=0;y=2}
-
potion{t=HARM;d=1;l=1}
```
[1] Not all conditions may be applicable everywhere.
\ No newline at end of file