Just fixed some pretty big bugs.
Fixed an issue where you can dash in water infinitly.
Fixed an issue where you if you kept crouching after the dash you would still get the attributes, (Like if you where to do a super jump and keep couching after, it would stay that way and you would get a higher jump until you stopped crouching).
Mainly a big technical overhaul.
BUT, we no longer need an API, YIPEE!!! And, lets be honest, better 1.21.5 versions.
No longer needs "Player Motion API" and will work without it.
Improved performance.
Changed name space, (will cause the enchantment to be removed on existing worlds).
Removed momentum mechanics, but will add them back later.
You now only need 3 hunger bars to dash, and do not need to have been falling for a certain distance.
Files are more organized and theres not an absolute TON of code.
Updated Modrinth page.
Now only has a 10 tick cooldown, and it wont reset when you touch the ground.
Because this version is made for survival, everytime you dash it will set your gamemode to survival, this is possible to edit in the code if you need to adapt it for the mean time.
Some other stuff.
Finally, 1.21.5 Support!
Because of 1.21.5, You need to download "Player Motion" Seperately again: Select the snapshot version, or https://modrinth.com/datapack/player_motion/version/1.4.2 (Nvm, theres officially a 1.21.5 version now!)
Reduced the strength of the dash.
One more thing, although, i cannot remember :(
PORT TO OTHER MC VERSIONS WILL BE WORKED ON SOON...
Changed Mid air Dash cooldown time even lower.
you now only need 0.01 Time of falling making it easier to dash.
Fixed a bug where the enchantment was more common in the Enchanting table without any bookshelfs.
Changed the name space of the Enchantment, sadly this gets rid of it on existing worlds and you may have to get it again.
and a little more.
Overhauled Movement Mechanics (Complex Mechanics Version)
Now your Dash timer resets when touching the Ground.
Pulling off a Super Jump is harder with more strict timing, angle, and speed.
You can no longer hold down the Activation.
Decreased Dash cooldown to 15-16 ticks cause crouch timing can cause you to not dash.
Made Dash Activation more Responsive.
Overhauled ENTIRE datapack (Simple Mechanics Version)
You can now only Dash 2 times in air, touching the ground will reset that count.
No longer need Wind Charges as ammo.
Needs at least 7 hunger bars to Dash.
New Particles And Sounds.
New Mechanics/Bug Fixes (To many small the Mention).
Rebranded to "Dashing" instead of "Charge Dash"