A cannon in Minecraft uses redstone, dispensers, and gunpowder to fire projectiles
A functional cannon fires TNT or other blocks by combining a dispenser, redstone, and gunpowder. The dispenser holds the ammunition, redstone triggers the firing mechanism, and gunpowder provides the explosive force. Most cannons work by igniting TNT inside or near the dispenser, which launches whatever is loaded inside it.
The simplest design takes about ten minutes to build and requires only basic materials you can gather in the first hour of a survival world. More complex versions add aiming mechanisms, rapid-fire capability, or longer range, but they all follow the same core principle: redstone activates a dispenser that ejects TNT, and a second TNT block nearby ignites to create the blast.
Key Takeaways
- A basic cannon needs a dispenser, redstone dust, a redstone switch, TNT, and ammunition like more TNT or snowballs.
- The dispenser must face the direction you want to fire, and a TNT block placed next to it will ignite the ammunition when activated.
- Redstone dust connects your switch to the dispenser, so flipping the switch triggers the firing sequence.
- Aiming requires rotating the entire cannon structure, and range increases with more TNT blocks stacked near the dispenser.
Gather the materials for a basic cannon
You need a dispenser, which you craft from seven cobblestone, one bow, and one redstone dust arranged in a crafting table. Place the cobblestone in all nine slots except the center (where the bow goes) and the bottom-middle (where the redstone goes). If you do not have a bow yet, kill a skeleton or find one in a dungeon chest.
Collect at least two stacks of TNT — one for the cannon mechanism itself and extras for ammunition. You can mine TNT in desert temples or craft it from five gunpowder and four sand. Gunpowder drops from creepers, ghasts, and witches. You also need redstone dust (mine it from redstone ore with an iron pickaxe or higher) and a redstone switch — a lever, button, or pressure plate all work the same way.
Build the basic cannon structure
Place your dispenser on the ground facing the direction you want to fire. If you want it to shoot forward, the dispenser's front opening should point away from you. Next to the dispenser (touching its side), place one TNT block. This TNT will ignite the ammunition inside the dispenser when the redstone activates.
Behind the dispenser, lay a line of redstone dust leading backward at least three blocks. At the end of this line, place your switch (lever, button, or pressure plate). When you activate the switch, redstone current flows through the dust and powers the dispenser, which ejects whatever is inside. The TNT block next to the dispenser ignites from the redstone power, creating the explosion that launches the ammunition.
Load the dispenser by right-clicking it and placing TNT, snowballs, or other projectiles inside. Test the cannon by activating your switch. The TNT should fire out in front of the dispenser.
Increase range by stacking TNT blocks
A single TNT block creates a small blast. To fire farther, place additional TNT blocks in a vertical stack next to the dispenser before the first one. Stack them directly on top of each other, touching the dispenser's side. When you fire, all the TNT ignites at once, creating a larger explosion that launches ammunition much farther.
Most cannons use between two and five TNT blocks stacked vertically. More TNT means more range but also more damage to the surrounding terrain. In survival mode, this can be useful for mining or clearing land. In creative mode or on a server, check the rules before building large cannons, as they can damage player builds.
Add aiming and rapid-fire capability
To aim your cannon, build it on a rotating platform. Use a slime block piston system or simply place the entire cannon on a turntable made of rotating blocks. Rotate the whole structure left or right to change where it fires. Mark the ground with compass directions or landmarks so you know which way each angle points.
For rapid-fire, replace your single switch with a redstone clock — a circuit that turns on and off repeatedly. The simplest clock uses two repeaters facing each other with redstone dust between them. Set both repeaters to their longest delay (four ticks) and connect the output to your dispenser. The cannon will fire automatically every time the clock pulses, as long as there is ammunition in the dispenser.
Troubleshoot common cannon problems
If the cannon does not fire, check that the dispenser is powered. Place a redstone lamp next to the dispenser — if it lights up when you flip the switch, redstone is reaching it. If the lamp stays dark, your redstone dust is broken or your switch is not connected properly. Redstone dust must form a continuous line with no gaps.
If the TNT block next to the dispenser does not ignite, it may be too far away. TNT must be touching the dispenser or touching another TNT block that touches the dispenser. If ammunition is not launching, the dispenser may be facing the wrong direction. Right-click the dispenser to open it and check which way the opening faces — it should point toward your target.
If the cannon is too weak, add more TNT blocks to the stack. If it is destroying your base, move it farther away or reduce the number of TNT blocks. Remember that TNT explosions destroy blocks in a radius around them, so building your cannon in a remote location prevents accidental damage.
Frequently Asked Questions
Can I use something other than TNT as ammunition?
Yes. Dispensers can fire snowballs, eggs, arrows, and many other items. These projectiles do not explode but travel in a straight line and deal damage on impact. Snowballs and eggs are safer for testing because they do not destroy blocks. TNT is the most powerful option and is best for mining or long-range destruction.
What happens if I use a button instead of a lever?
A button works the same way as a lever but only stays pressed for half a second. This means the dispenser fires once per button press instead of continuously while the lever is held. Buttons are better for single shots; levers are better for holding down to fire multiple times in quick succession.
Can I make a cannon that fires in multiple directions?
Yes, but it requires multiple dispensers and a more complex redstone circuit. Build separate dispensers facing different directions and connect them all to the same redstone clock or switch. You can also build a rotating platform that spins the entire cannon to aim it, which is simpler than building multiple cannons.
How do I make the cannon fire faster?
Use a redstone clock with shorter delays. Repeaters can be set to one, two, three, or four ticks. A one-tick repeater fires the fastest, but the cannon needs time to reload between shots. Experiment with different repeater settings to find the speed that works best for your design.