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

EntityExplodeEvent

Discussion in 'Development' started by Infernus101, Jan 12, 2017.

  1. Infernus101

    Infernus101 Witch

    Messages:
    54
    GitHub:
    infernus102
    How to get the player who placed the tnt in EntityExplodeEvent or do we have to use nbt for this?
     
  2. instantlyta

    instantlyta Slime

    Messages:
    96
    GitHub:
    intagaming
    Option 1: Traditional BlockPlaceEvent, save the player name and TNT Position. There's some optimization around this.
    Option 2: Custom EntityExplodeEvent replacement in server package. This option won't be supported if there's any problem so your choice.
     
    Infernus101 likes this.
  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.