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

Solved Radius Explosion

Discussion in 'Development' started by Flupko, Aug 8, 2018.

  1. Flupko

    Flupko Silverfish

    Messages:
    24
    GitHub:
    Warex
    Hello, I would like to know how to lower the radius of an explosion?
     
  2. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Listen to EntityExplodeEvent, use EntityExplodeEvent::setForce($radius) to specify the explosion's radius.
     
    Flupko and corytortoise like this.
  3. Flupko

    Flupko Silverfish

    Messages:
    24
    GitHub:
    Warex
    Thanks
     
  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.