Topic category: Help with modding (Java Edition)
This may have already been answered by someone else, so if that is the case, please let me know.
I made a cannon block in BlockBench, and I wanted to make a system where if the player presses right click on it with a cannonball in their inventory, then the cannon will shoot. The problem is that I do not know how to make a projectile shoot out of a block. Does anyone know how to do this?
Also, not required but would be nice, is there a way to shoot a projectile from a block at a specific angle? (reference image below)