More traps and wires

I like minecraft in large part because of all the technical mods. I like to use lots of large modpacks where I can craft lots of cool stuff and use the different crafting features in mods together. I just realized, we don’t have any mechanism to build wires to remotely detonate explosives ? mobs dont have to walk on explosives just near them and boom.

we can also have traps. dont they have stuff like this in dwarf fortress? you can build locations that funnel mobs into them and then slam the doors shut? i saw something about mermaid death camps.