Most of the battles in Minecraft take place up close and in person. TNT cannons can shoot a lot of bullets, but they are resource intensive and blow up all your belongings. What's the best way to crush an army trying to get past your defenses? Machine gun Minecraft.
Steps

Step 1. Collect your resources
You will need 6 blocks, 1 dispenser, 3 redstones, 4 redstone torches, a lever, and ammo.

Step 2. Place the dispenser, redstone dust behind it, and 2 blocks in the back

Step 3. Place one block at the top left and top right of your back blocks

Step 4. Place redstone torches on the sides of your bottom back blocks (4 in total)

Step 5. Place the redstone dust into the channel at the top of the rear lower blocks
It will start blinking.

Step 6. Place the lever on the edge of the back of the lower unit and turn it on
This will "turn on" the machine gun, but not the release mechanism

Step 7. Fill your machine gun with ammunition (bullets or charges)
