How do I change the bow shot button?

Started by Da1lasWer on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I change the bow shot button?

(Sorry for my very good, wonderful English) I created a shotgun using the MC but ran into the problem that I wanted to set a super shot on the right button. As you understand by default, long-range weapons fire on the right button, I tried to rummage in the code, maybe I'm blind, but I did not find any mention of MOUSE2 or something like that. Can you help me with this minor problem? I really want to make a good old firearm on MOUSE1.

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can just add a check for…
Sat, 12/18/2021 - 02:22

you can just add a check for another key like ~ or the shift keys or "insert" then just keep them both in in the same procedure with an if else statement checking for the SUPER SHOT so that you can run that program and change when the special shot is used so that the program. it would run just what you want without a double shot

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for the answer, but…
Wed, 04/13/2022 - 17:16

Thanks for the answer, but that's not it, I would still shoot on the left button, I found the command, but when I change Right to Left, I get an error.