1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Particles

Discussion in 'Development' started by SerezhaIvanov, May 29, 2019.

  1. SerezhaIvanov

    SerezhaIvanov Silverfish

    Messages:
    23
    GitHub:
    serezhaivanov02
    I make guns, and how i can check when particle hit player and a block?
     
  2. Fritures

    Fritures Spider Jockey

    Messages:
    47
    You can use function with EntityDamageEvent :)
     
  3. Marabou

    Marabou Baby Zombie

    Messages:
    137
    GitHub:
    wiligangster
    take the vector of the player and the particle of the vector and watch if the particle is around the player with a radius of 0.5.
    and then you will take heart or call a function.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.