Topic category: Help with modding (Java Edition)
I am creating a mod with a baseball bat in it, and I would like the baseball bat to be able to hit back the custom projectiles I make. I would like to replace EntityArrow with something that includes custom projectiles. My current code is in the screenshot. The rest of the code is off-screen but isn't necessary either. Any suggestions?