Started by
Darth Feanor
on
Topic category: Help with Minecraft modding (Java Edition)
Im trying to make a procedure that will check what direction i am facing, then generate particles in that direction for about 8 blocks. I have searched around on the site and have not found a topic that actually has any help in it, so I am asking here.
Use the entity direction procedure blocks. NORTH is the negative Z axis, SOUTH is the positive Z axis, EAST is the positive X axis, and WEST is the negative X axis. So if the entity is looking the north, you will spawn you particles at x y z - 8. If you looking the SOUTH, you will spawn particles at x y z + 8, EASt x + 8 y z, and WESt at x - 8 y z.
if you don't know how soemthing works, make some tests and researches.