How to summon a particle at player's head (eye) [PARTIALLY SOLVED]

Started by Lordverdeninja on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to summon a particle at player's head (eye) [PARTIALLY SOLVED]
Mon, 12/06/2021 - 11:15 (edited)

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
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found a way to spawn…
Sun, 12/05/2021 - 19:25

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 ~ ~ ~

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Sun, 12/05/2021 - 19:26

"."

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you very much!
Mon, 12/06/2021 - 08:42

Thank you very much!

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, I just ran into a…
Mon, 12/06/2021 - 11:12

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?

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oops I meant Particle  
Mon, 12/06/2021 - 11:13

Oops I meant Particle

 

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ive figured it out myself. I…
Mon, 12/06/2021 - 12:27

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

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can alsow spawn an mod…
Mon, 12/06/2021 - 18:50

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?

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Question. How can I make a…
Sat, 09/10/2022 - 00:48

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.