So me and my friends are planning on starting a new Minecraft server with multiple different mods in it, and we wanted the bows to be able to shoot rapidly (2–3 arrows per sec) every time we left click or right click on any bow in the game. This will work for any type of bow in the game, and also, the damage of the bow will only be 30% as strong as the original bow. If possible, can anyone help me code that, please, Thanks
The simplest way I can think to do this right now would be to:
1. Detect the usage of any bow (bow or crossbow) using scoreboards (or new item components).
2. Summon an arrow with the correct motion (this will require some math) and find some way to decrease the damage (I'm not exactly sure how to do this off the top of my head).
3. Clear and replace the bow so it is uncharged.
I know this isn't a very detailed response, but hopefully, it gets you going in the right direction. There are many resources on YouTube and other posts that contain a lot of this kind of information.
So me and my friends are planning on starting a new Minecraft server with multiple different mods in it, and we wanted the bows to be able to shoot rapidly (2–3 arrows per sec) every time we left click or right click on any bow in the game. This will work for any type of bow in the game, and also, the damage of the bow will only be 30% as strong as the original bow. If possible, can anyone help me code that, please, Thanks
Hello,
The simplest way I can think to do this right now would be to:
I know this isn't a very detailed response, but hopefully, it gets you going in the right direction. There are many resources on YouTube and other posts that contain a lot of this kind of information.
-TechnoBro03