Changes
Page history
reverted dante
authored
Oct 23, 2023
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/mechanics/stopusingitem.md
View page @
b64bc149
=================
## Description
## Description:
Stops the targeted living entity from using an item, i.e. blocking with a shield.
Stops the targeted living entity from using an item, i.e. blocking with a shield.
> If you want to do some sort of cooldown, try using this mechanic in an aura
*If you want to do some sort of cooldown, try using this mechanic in an aura.*
## Attributes
> *This mechanic has no attributes*
## Examples:
## Examples
```
yaml
```
yaml
Skills
:
Skills
:
#basic example
#
basic example
-
stopusingitem{} @NearestPlayer
-
stopusingitem{} @NearestPlayer
#with an aura to prevent the player from using a shield
#
with an aura to prevent the player from using a shield
-
aura{onTick=[ - stopusingitem{} ?isBlocking ];duration=500} @NearestPlayer
-
aura{onTick=[ - stopusingitem{} ?isBlocking ];duration=500} @NearestPlayer
```
```
\ No newline at end of file