Started by
Gamemaster2022
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, I am making mod with warfare items and I made tank. I want to make it shoot rocket (bullet) when mounted by right-click. I do not know how to do it. I am not afraid of coding so let´s talk! Every idea is welcome. Thank you!
Help please. I really appreciate it!
Here's the code: https://ibb.co/kGwwHbd
Haven't tested this, but it should work. If you have questions, ask.
AND PLEASE LOOK IN TOO MY FORUMS!!!
TELL EVERYONE YOU KNOW, THAT I NEED HELP
Hello thanks for your reply. I actually tried it but It seems like it does not work. Anyways I will look into your forums for help. Thank you!
It shoots an arrow, when you right click on the mount(Raptor). If that is still not working, try using the same code, but rather than shooting an arrow, do "/say hi" To see if the arguments as a whole, work.
If still it doesn't work, please ask. I'll think about the problem is very seriously...
Hmmm... Tested right now. It does nothing :(
Before I start, try making the cube bigger(in the get closest entity square cube), maybe that will work.
If you can, please give an image, with "/say" command instead of "shoot arrow" brick.
I need to take close look.