|
=================
|
|
## 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 |