is there a way to make particles face the player in one axis but stay at a specific direction in another axis?

Started by idkwhatusernam… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is there a way to make particles face the player in one axis but stay at a specific direction in another axis?

like the enemies from the old doom games

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Set the rotation on tick to…
Fri, 06/12/2026 - 20:47

Set the rotation on tick to face the nearest player using an angle equation but only with a custom entity

Potentially possible to do this using the set rotation of particle procedure, you get the angle between the x z of the particle and the x z of the player. Get the nearest player or use some sort of client side assignment to select the correct players x z, depends if you want it to work the same on multiplayer

 

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also try doing that in…
Sat, 06/13/2026 - 02:22

Also try doing that in client side because thats unnecessary work for the server