1.15.2 Hearts Particles

Discussion in 'Spigot Plugin Development' started by ArKeid0s, Feb 18, 2020.

  1. Is there a way to spawn particles like the breeding hearts but on a player on player interact ?
    I tried to use the player.playEffect(EntityEffect.LOVE_HEARTS) but it does not work and the player.spawnParticle(heartsParticle, tLoc, 10); only spawn 10 hearts but at the same location so they look the same one
     
  2. You want the move in the air?
    Spawn them with a little delay between.
    1. spawn particle..... count 1
    2. Some delay
    3. 1.
    Then spawn particle can be overloaded with parameter defining the movement direction in X, y, z.
     
  3. How do you do that ?

    Good idea for the delay i haven't think abut that
     
  4. Use this method instead spawnParticle