Started by
quintoniusvlint
on
Topic category: Help with Minecraft modding (Java Edition)
Hello so I'm trying to make the particle spawn in the direction of where the player is looking, but when I use the X Y Z it doesnt spawn infront of the player.
This is what I tried,
Someone please tell me how to fix this,
you can also DM me
quintoniusvlint#5657
ray cast x, y, z all at 1
spawn single particle at
x: x position of event/target entity + (cos(DEG TO RAD(direction (yaw) in deg. relative to S of event/target entity + 90)) * distance)
y: y position of event/target entity + (sin(DEG TO RAD(head pitch of event/target entity in degrees)) * distance)
z: z position of event/target entity + (sin(DEG TO RAD(direction (yaw) in deg. relative to S of event/target entity + 90)) * distance)
with
vx: 0
vy: 0
vz: 0
type: (your particle here)
LET ME KNOW IF SOMETHING DOESN'T WORK
also i tried to message you on discord but i couldnt send messages
whats the distance block? sorry i cant find it ALSO I KNOW THIS IS NECROPOSTING BUT IM AT A LOSS
I also wanna know what the distance block is lmao
Is there a way to send a photo or a link to a video of the blocks you used to make this work? I tried my best to follow along but it did not end up working.
I agree
Yes, I know this is old. But the distance is how far you want it to be from the player (just incase anyone comes here in the future)
Use New Procedures Plus+ plugin