Two pins, one moving arc
Dual-Pin Crossbow adds a craftable crossbow and copper pins. Hold use to draw the bow, then release to fire. Pin two blocks to cover an entrance, or pin a hostile mob and a nearby block so the arc sweeps through other enemies as the mob moves.
The anchors must be within 24 blocks with a clear path. The arc lasts about four seconds and hits hostile mobs in its path. Solid blocks break the connection.
Crafting
Use a vanilla crossbow, two copper ingots, two strings, one amethyst shard and one redstone dust to craft the weapon. A copper ingot and a stick make six copper pins.
Installation
Minecraft Java Edition 1.20.1, Forge 47.x and Java 17. Install the JAR on both the client and server for multiplayer. This mod has no additional mod dependencies.