Started by
Lordverdeninja
on
Topic category: Help with Minecraft modding (Java Edition)
So I need help with summoning a particle when a player has a potion effect. Not just anywhere. Exactly where Steve's skin left eye would be and move around when the player moves his head and his body. I really would like some help with this. I am not that good at coding or visual coding so yeah, that's why I'm asking on the forum. I would really appreciate your help and I might give you credit in the description when I publish the mod.
Edited by Lordverdeninja on Mon, 12/06/2021 - 11:15
I found a way to spawn Particels at the Players Eye. You can just use an execute command: execute as @a at @s anchored eyes positioned ^-0.08 ^ ^1 run particle minecraft:bubble ~ ~ ~
Thank you very much!
Hey, I just ran into a problem... The effect is too far from the player's head. Is there any way to make it be closer?
Oops I meant Particle
Ive figured it out myself. I needed to change the 1 in the execute.
execute as @a at @s anchored eyes positioned ^-0.08 ^ ^0.5 run particle [INSERT PARTICLE NAME HERE] ~ ~ ~
this will spawn a particle at the players left eye
You can alsow spawn an mod particel. execute as @a at @s anchored eyes positioned ^-0.08 ^ ^0.5 run particle [modname:customparticlename] ~ ~ ~
Just curious what kind of mod aer you making?
Question. How can I make a particle anchor to the player's fist? Something like a fire fist. I know this forum was made a while ago, but if you could help, that would be great.