Spawning particles from a specific side of the entity

Started by MeguMugi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Spawning particles from a specific side of the entity

Hello!

I need some help with particles. I have a flying entity and I want to spawn particles when it moves, but I have a problem that they dont rotate with the entity. 

I assume I have to use the entity look vectors somehow, but I really am not sure how... 

ImageImage

 

(red dots are actual position, green dots is where i want them to spawn from. values in the spawn particle blocks are to be adjusted too tho, but they dont rotate either way)