Explosion TNT

Discussion in 'Plugin Development' started by Ratsock, Nov 9, 2020.

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

    Ratsock

    Ok I'm french, my english is not bad but ...

    When my TNT is triggered, I would like it to do damage to the players but not to the map.

    I do this

    public void EntityExplodeEvent(EntityExplodeEvent event) {

    event.setCancelled(true);
    Location loc = event.getLocation();
    }

    but I don't have the end. I want create a fake explosion
     
  2. Online

    timtower Administrator Administrator Moderator

  3. Offline

    Ratsock

Thread Status:
Not open for further replies.

Share This Page