Basic Help with Procedure? Particle spawn on entity hit

Started by AsbjørnTheModder on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Basic Help with Procedure? Particle spawn on entity hit

Hello! I am having issues getting any particles to spawn, both Vanilla and Custom.
Ive watched a NorthWestTrees tutorial, and it still doesnt work.

I cant even get this Procedure to work:

  1. Event trigger - trigger by extercal call
    or when (global trigger): Entity is hurt
  2. Spawn single particle at x: x y: y z: z with vx: 0 vy: 0.5 vz: 0 type: crit

In graphics my particle setting is set to all, i have tried changing the position with local variables and whatnot, nothing spawns.
What am i missing? Why cant i get particles to spawn on Entity hit or hurt?

 

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The spawn single particle…
Thu, 06/26/2025 - 12:19

The spawn single particle only works on client-side, and Entity is hurt only triggers server-side.

The quickest solution would be to use the spawn particles (server-side) procedure block, and just set it to spawn 1 particle, but you wouldn't have as precise control over the particle's movement.