Explosion TNT

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

  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. Offline

    timtower Moderator Moderator

  3. Offline

    Ratsock

Share This Page