|
|
Mechanic: StopUsingItem
|
|
|
--------------------------
|
|
|
|
|
|
Stops the targeted living entity from using an item, i.e. blocking with a shield.
|
|
|
|
|
|
Note: If you want to do some sort of cooldown, try using this mechanic in an aura.
|
|
|
|
|
|
Examples
|
|
|
--------
|
|
|
```yaml
|
|
|
Skills:
|
|
|
#basic example
|
|
|
- stopusingitem{} @NearestPlayer
|
|
|
|
|
|
#with an aura to prevent the player from using a shield
|
|
|
- aura{onTick=[ - stopusingitem{} ?isBlocking ];duration=500} @NearestPlayer
|
|
|
``` |
|
|
\ No newline at end of file |