espiga elimine cada entidad


//Get all entities
Bukkit.getWorld("world").getEntities().forEach(entity -> {

            //Check if entity isnt a player
            if(!(entity instanceof Player))
                entity.remove();

});
Gamedude