Be adviced ... it is a lot, but look at it one section at a time. What you might want to change? ... In Spawn single particle >> Look at TYPE (Could change the value), In Play at >> Look at SOUND (Could change the value), and finally in the last line >> Look at Deal damage (Could change Amount and Type). Try not to change anything else unless you clearly understand it. Add the procedure to any item you like, Trigger - When right-click in air.
There is no brief way to explain hours of calculations. You can go with with item on main or off hand, right click, execute command tp ^ ^ ^(number of blocks forward - must be a positive number) if block is air and add a no fall damage for (x amount of ticks - 20 or 40 just in case)
It is not easy to tell you, try understanding this: https://www.mediafire.com/file/e0jzxgoyu6nw99l/raytracing+attack.ptpl/file
Be adviced ... it is a lot, but look at it one section at a time. What you might want to change? ... In Spawn single particle >> Look at TYPE (Could change the value), In Play at >> Look at SOUND (Could change the value), and finally in the last line >> Look at Deal damage (Could change Amount and Type). Try not to change anything else unless you clearly understand it. Add the procedure to any item you like, Trigger - When right-click in air.
thank you very much, kind man
and how to make it teleport and not carry damage?
Make a custom model out of a Ender eye, in procedures it will be possible but way more complex.
please tell me briefly the first method is not suitable for me
There is no brief way to explain hours of calculations. You can go with with item on main or off hand, right click, execute command tp ^ ^ ^(number of blocks forward - must be a positive number) if block is air and add a no fall damage for (x amount of ticks - 20 or 40 just in case)
._.
Tie this: https://www.mediafire.com/file/3t5k8tjptc4nx14/tp_slow_fall.ptpl/file to any ranged item under triggers >> Bullet events >> When bullet hits block. It will teleport you with no damage.