Started by
amogus6116
on
Topic category: Help with Minecraft modding (Java Edition)
I have a custom entity that I want to spawn behind the player. I don't know how to use direction procedures for this. Also, I do want to make the entity not spawn in walls and suffocate. Is this possible with procedures?
Edit: I did it by using x y z ray tracing blocks and lowering the distanc value if there's no air in the destination
Edited by amogus6116 on Mon, 07/01/2024 - 16:48
use the ray trace for xyz and put it negativa like, ray trace x -1
ray trace y -1
ray trace z-1
and you spawn the mob there
Thank you