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

How to despawn entities on explosion

Discussion in 'Help' started by LyricalLyfes, Aug 27, 2021.

  1. LyricalLyfes

    LyricalLyfes Spider Jockey

    Messages:
    28
    How do I despawn Item entities immediately after an explosion has happened?
     
  2. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    It does it by default...?
     
    Agent likes this.
  3. LyricalLyfes

    LyricalLyfes Spider Jockey

    Messages:
    28
    I meant before the item entities spawn in the first place when a block explodes some items will drop
     
    Primus likes this.
  4. Primus

    Primus Zombie Pigman

    Messages:
    749
    Remove the affected list of blocks with air. EntityExplodeEvent
     
  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.