Started by
NIghtGalaxy
on
Topic category: Help with Minecraft modding (Java Edition)
Hello anyone who reads this; I'm still learning how to use MCreator, and one thing I want to do for a weapon is have it switch between attacks on right click mode. Specifically if I were to push some button, it would switch the weapon to it's long range attack, then switch back to it's short ranged attack. I was going to figure out how to do it with another button like ALT, but I again don't know how to do that. So if anyone would be willing to help that would be greatly appreciated!
check what player is holding, and either remove the item and add a new one, or make it shoot a projectile