Topic category: Help with modding
The summon particles procedure block using default x y z spawns particles at the vertices of blocks. I set the dx, dy, and dz to 0.1. To get the x and y values to be perfectly center, i've tried every combination. x+.5 & z+.5, x-.5 & z-.5, x+.5 & z-.5, as soon as I find a combination that spawns them centered, eventually, they go off center. I found x+.5 and z-.5 to work on a world. Then made a new world, and it worked, the particles were center. Reset the client, made a new world, everything worked. I figured this was the right combination for sure, so I changed all my spawn particles at x y z and spawn gem at x y z procedures to be x -.5, y, z + .5. Hours later Im working on my mod, decide to make a new world, and they are all offset again T_T
The weirdest part is, when I go to the worlds that it worked on, it still works on those worlds. However making a new world from now on the particles are off center. Is the x y z rotation of my new worlds changing or something? Does anyone know a sure way to spawn particles directly in the center of a block?