Make a projectile spawn a particle exactly where it lands

Started by DunDUNDAN_ on

Topic category: Help with modding (Java Edition)

Last seen on 14:44, 6. May 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a projectile spawn a particle exactly where it lands

I've made a custom throwable similar to a snowball but cant see how to spawn a particle that shows it "breaking" exactly where it lands.

I've tried "spawn particle at x y z" in the "when projectile hits block" procedure with some math but that just spawns it in the middle of the block it lands on, not the actual landing position like a snowball does. Already made the custom projectile and particle but it never spawns where I'd like it to be.

Any tips? 

 

Thanks.

Last seen on 08:25, 1. Jun 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
try at "x y z position of…
Sat, 05/18/2024 - 19:41

try at "x y z position of immediate source entity"