Is it possible to detect when any projectile hits a block?

Started by NamelessKat on

Topic category: Help with modding (Java Edition)

Last seen on 14:46, 1. Oct 2024
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to detect when any projectile hits a block?

I'm trying to make something happen when any projectile like an arrow or a snowballs hits a block. I know how to do it with projectiles I've made myself but I would like it to work with anything that is classified as a projectile.

Any help is appreciated, thanks in advance!