Описание
# Minecraft Tweaks: Shockwave Enchantment

This is a part of the **Minecraft Tweaks** datapack, having the Shockwave enchantment being a stand-alone thing now. However to make this, a solid portion of another Project [Downfall Enchantment](https://modrinth.com/datapack/downfall-enchantment) was used go check it out too!
## Usage
Shockwave only applies to the mace, being incompatible with **Wind Burst**. Any mace with any level of Shockwave on it, removes 0.1 Attack Speed and 15% of the base speed when in main-hand.
## Shockwave Hit

To get a Shockwave-Hit, the Player needs to hit a block while airborne, with a minimum fall distance of 2.5 Blocks, and a finished **Shockwave Cooldown**.
Fall Distance requirements
| **Level** | **Shockwave Hit** | **Successful Shockwave Hit** |
|:-----:|:-------------:|:--------------------:|
| I | 2.5 Blocks | 2 Blocks |
| II | 4.5 Blocks | 3 Blocks |
| III | 5.5 Blocks | 4 Blocks |
If these conditions are met, the Player will damage all entities in range of 3 Blocks, both the damage and range **increase with the level**, making up for the fall distance requirement.\
\
As a side effect of the hit being on a block not an entity, the Player receives Slowness 2, Mining Fatigue III and a cooldown to conduct any Shockwave Hit for 20 ticks, alongside of using up hunger based on the enchantment level.
## Successful Shockwave Hit

To perform a **Successful** Shockwave Hit, the Player needs to hit an entity. This attack requires less fall distance, and adds 4 Damage to the current shockwave damage.\
_**Note:** At level three it only adds 3 Damage to prevent one-tapping players._\
\
Not only does it use up less hunger, and only give the Player **Slowness I**, but the Shockwave Cooldown **shortens by 5 Ticks**. It also plays a high-pitched anvil _pling_ as an indicator.
## How to Obtain
Shockwave is a **treasure enchantment** and **not tradeable**, making it almost like Wind Burst, however you can still find the enchantment in random chests, or from Fishing. **Pillager Outposts** are **guaranteed** to have atleast one book, 45% chance to add another.\
_**Note:** Luck increases the amount of rolls for the loot table._