... | @@ -177,6 +177,7 @@ Conditions |
... | @@ -177,6 +177,7 @@ Conditions |
|
| [isPlayer](/skills/conditions/isplayer) | Entity | Checks if the target is a player |
|
|
| [isPlayer](/skills/conditions/isplayer) | Entity | Checks if the target is a player |
|
|
| [isSaddled](/skills/conditions/issaddled) | Entity | Checks if the target entity is saddled |
|
|
| [isSaddled](/skills/conditions/issaddled) | Entity | Checks if the target entity is saddled |
|
|
| [isSprinting](/skills/conditions/issprinting) | Entity | Checks if the target **Player** is sprinting |
|
|
| [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 |
|
|
| [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 |
|
|
| [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 |
|
|
| [LastDamageCause](/skills/conditions/lastdamagecause) | Entity | Checks the target's last damage cause |
|
... | @@ -248,8 +249,8 @@ Conditions |
... | @@ -248,8 +249,8 @@ Conditions |
|
|
|
|
|
More Examples
|
|
More Examples
|
|
-------------
|
|
-------------
|
|
|
|
```yaml
|
|
FlameShock:
|
|
FlameShock:
|
|
Cooldown: 1
|
|
Cooldown: 1
|
|
Conditions:
|
|
Conditions:
|
|
- targetwithin 15
|
|
- targetwithin 15
|
... | @@ -266,5 +267,5 @@ More Examples |
... | @@ -266,5 +267,5 @@ More Examples |
|
- message{m="<target.name> &ecombusts"}
|
|
- message{m="<target.name> &ecombusts"}
|
|
- effect:particles{p=flame;a=20;hS=3;vS=1;s=0;y=2}
|
|
- effect:particles{p=flame;a=20;hS=3;vS=1;s=0;y=2}
|
|
- potion{t=HARM;d=1;l=1}
|
|
- potion{t=HARM;d=1;l=1}
|
|
|
|
```
|
|
[1] Not all conditions may be applicable everywhere. |
|
[1] Not all conditions may be applicable everywhere. |
|
|
|
\ No newline at end of file |