Started by
Jacko22
on
Topic category: Help with Minecraft modding (Java Edition)
I want to give the rapier weapon class in my mod a dash that launches the player in the direction they're looking at the cost of a very small amount of xp while also dealing damage to any monsters in the way of the dash, and finally having a cooldown of 15 seconds. So far, I've been able to launch the player in a fixed direction, but that's it. Please offer any advice you can.
i know how to do this! but idk how to make so you can damage the monsters tho you could spam click while you're dashing as an alternative
you can tweak the numbers too!
Thank you!
To have it deal damage, do you think I could have it launch a projectile that moves at the same speed as the player with the hatbox that I want the dash to have? I haven't messed around with projectiles much yet.
idk about that but it could work probably!
Or if it's possible to make to add an "if / then" clause to detect then deal damage to any entity?