Started by
superProxi64
on
Tue, 05/04/2021 - 22:13
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)
I know how to do it if instead of a block it would be an entity
so you can adjust the angle of where it looks
I could make an entity with that model, you would make it not move.
and not be able to take damage
Okay. Thank you for helping!