October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

What Is the Command to Fill an Area With TNT in Minecraft?

Fill a Minecraft region with TNT using the right /fill syntax for Java or Bedrock, with coordinate examples and permission guidance.
WorldMinecraft? Length2 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use /fill <from x y z> <to x y z> tnt in Bedrock Edition, or /fill <from x y z> <to x y z> minecraft:tnt in Java Edition. The two coordinate triplets mark opposite corners of the rectangular area to fill.

Commands to fill an area with TNT

Edition Command format Example around the command origin
Bedrock Edition /fill <from x y z> <to x y z> tnt /fill ~-2 ~ ~-2 ~2 ~2 ~2 tnt
Java Edition /fill <from x y z> <to x y z> minecraft:tnt /fill ~-2 ~ ~-2 ~2 ~2 ~2 minecraft:tnt

The example uses relative coordinates to place TNT in a small volume around the command’s execution origin. It fills the region with TNT blocks; this syntax does not ignite them.

As an Amazon Associate I earn from qualifying purchases.

How the coordinates work

Enter two positions, each in x y z order. They define opposite corners of the rectangular volume, and the command fills the region between them. A tilde (~) means the execution origin on that axis; a number after it specifies an offset. For example, ~-2 is two blocks below the origin on that axis, while ~2 is two blocks above it. See Microsoft’s Bedrock command introduction for the relative-coordinate explanation.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Permissions and edition notes

  • Bedrock: Cheats must be enabled to use /fill. Microsoft’s command list identifies its permission level as Game Directors. The documented command structure takes two positions followed by a block identifier; substituting tnt fills the region with TNT. See the Bedrock /fill reference and Bedrock command list.
  • Java: Use the namespaced block identifier minecraft:tnt. Java command syntax has changed across releases; if the command does not match your version, check the in-game /help fill output. The modern syntax is documented in the Java Edition Snapshot 25w02a notes.

Choose the fill area carefully

/fill replaces blocks across the specified region with the chosen block. Check both corners before running it, particularly in a world you want to preserve: a larger region can overwrite existing blocks and create many TNT blocks. For a straightforward fill, leave optional fill modes out of the command.

Quick Recap

Bestseller No. 1
Minecraft - Nintendo Switch
Minecraft - Nintendo Switch
Minecraft is a game about placing blocks and going on adventures; Play on the go in handheld or tabletop modes
$29.83
Bestseller No. 2
Bestseller No. 3
Minecraft - Nintendo Switch [Digital Code]
Minecraft - Nintendo Switch [Digital Code]
Minecraft is a game about placing blocks and going on adventures; Play on the go in handheld or tabletop modes
$29.88
Bestseller No. 4
Bestseller No. 5
Rank #3
Minecraft - Nintendo Switch [Digital Code]
  • Minecraft is a game about placing blocks and going on adventures
  • Explore randomly generated worlds and build amazing things from the simplest of homes to the grandest of castles
  • Play in creative mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armor to fend off the dangerous mobs
  • Play on the go in handheld or tabletop modes
  • Includes Super Mario Mash-Up, Natural Texture Pack, Biome Settlers Skin Pack, Battle & Beasts Skin Pack, Campfire Tales Skin Pack; Compatible with Nintendo Switch only
Rank #2
Minecraft: Switch Edition
  • Explore randomly-generated worlds and build amazing things from the simplest of homes to the grandest of castles
  • Play in Creative Mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armour to fend off the dangerous mobs
#1 Best Overall
Minecraft - Nintendo Switch
  • Minecraft is a game about placing blocks and going on adventures
  • Explore randomly generated worlds and build amazing things from the simplest of homes to the grandest of castles
  • Play in creative mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armor to fend off the dangerous mobs
  • Play on the go in handheld or tabletop modes
  • Includes Super Mario Mash-Up, Natural Texture Pack, Biome Settlers Skin Pack, Battle & Beasts Skin Pack, Campfire Tales Skin Pack; Compatible with Nintendo Switch only

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.