Snow ball throw fight

Discussion in 'Plugin Development' started by aArczi, Feb 29, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    aArczi

    I would like to check if a player shot another player with a snow ball.
    Any ideas?
     
  2. Offline

    Zombie_Striker

    @aArczi
    Use ProjectileHitEvent/EntityDamageEntityEvent. If the 'damager' is a snowball and the 'shooter' of the snowball is a player, do whatever you want.
     
  3. Offline

    mythbusterma

    @aArczi

    EntityDamageByEntityEvent, see if someone was hit with a snowball.
     
  4. Offline

    aArczi

    Is there any example?
    Thanks
     
  5. Offline

    Zombie_Striker

  6. Offline

    aArczi

  7. Offline

    Zombie_Striker

    aArczi likes this.
Thread Status:
Not open for further replies.

Share This Page