War is never nice, but mines can carry on killing or maiming people long after a war is over.
Suppose instead of using powerful explosives and shrapnel that a tiny explosion ejected lots of strong streamers, like a big party popper. If the streamers are long and strong, made from silk or graphene for example, then they could entangle anyone caught in the blast and restrain or impede them for several minutes while they untangle themselves. If that is on a battlefield, it would give plenty of time to deal with the attacking soldiers, achieving a large part of the military purpose, but if the party popper mine is left after a conflict is over, the worst it would do is to waste a few minutes of someone’s life, rather than to destroy the rest of it or end it. It should be possible to make effective poppers that would not cause any major injury, even at very close range maybe bruising or a small wound at worst, while still ensnaring anyone withing several metres of the blast.
Such mines could also reduce the numbers of soldiers killed on a battlefield, making it possible to capture instead of killing.
It would be naive to believe we can avoid violent conflicts completely, but if we can head towards international treaties that replace conventional mines with party popper mines, that would surely be a valuable step, saving civilian and military lives. If killing and maiming enemies can be substituted more by capture and detainment, that would be better still.
Some attempts at this have been made. https://www.wired.com/2009/02/foam-based-vehi/ describes one such attempt – thanks to my friend Nick Colosimo for the link. Maybe time to have another go, especially as new materials like graphene silk threads should be appearing soon.