I need help with how to make datapacks. (I only know how to code aternos servers)

Hello! I am making a scythe in minecraft and i want to give it some special moves like:

  1. When you shift and right-click, you can make the scythe throwable(like in hypixel, murder mystery) and when you throw it, it turns into black matter. When it hits someone, it brings them to you.

  2. Grants you infinite I speed when you hold it.

I really want to make more weapons like this but I don't (almost) have the skill (or luck).

So if someone sees this as interesting, please... I need this... or my server will kill me. Thank you.

Continue to help post