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

Bow

Discussion in 'Development' started by xXNiceAssassinlo YT, Aug 20, 2018.

  1. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    How would it cancel arrow damaging the player who shoot the arrow
    But if the shooter isn’t shooter than kill them
     
  2. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Listen to EntityDamageByChildEntityEvent and check whether event->getChild()->getOwningEntity() equals event->getEntity().
     
  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.