What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Use /fill to change every block in a three-dimensional region between two corner coordinates. Choose the command syntax for your edition first: the examples below are for Bedrock unless marked otherwise, and Java Edition’s syntax differs. Start with a small area and check both corners before running a command that may remove or replace blocks.
Before you start: check your Minecraft edition
Bedrock and Java do not always use the same /fill syntax. The Bedrock command reference lists cheats as required and gives the permission level as Game Directors. In other editions, whether you can run commands depends on the world settings or server permissions. If the command is rejected, confirm your edition and version before changing its syntax.
Java Edition 1.21.5 documents a flexible set of fill options, including strict. That release describes strict placement as avoiding block and shape updates. Check the command help for your current Java version rather than pasting a Bedrock example into Java unchanged. See the Java Edition 1.21.5 release notes.
How to fill an area with blocks in Bedrock
- Choose two opposite corners. Each position is a set of coordinates in
x y zorder. The two positions define the region to change. - Choose a block name. For a first test, use a familiar block such as
stoneorglass. - Enter the basic command. The Bedrock form is
/fill <from> <to> <block>. For example,/fill ~-5 ~ ~-5 ~5 ~3 ~5 stonefills a nearby region around the player with stone. The tildes make the coordinates relative to the command’s position. - Run the command and inspect the region. If the result is not where expected, recheck the coordinate order and the two corners before trying again.
Microsoft’s Bedrock command examples include the relative-coordinate fill shown above. The command reference describes positions as coordinate vectors; Minecraft Education’s command guide also illustrates the two-position-and-block form.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitches#1 Best Overall
- Minecraft fans can join Steve on a quest to save the Village from attack with this Village Raid action figures and accessories set!
- The collectible pack includes 3 Minecraft action figures and 3 accessories to recreate the action in real life for play or display!
- Steve, a Raid Captain and a Ravager are included in 3-inch scale with movable joints for action moves and posability!
- Storm into the story with accessories that include an iron sword, enchanted crossbow and ominous banner!
- The collectible Minecraft set makes a fun, themed toy for video-game players and fans ages 6 years old and up!
Choose a fill mode for the result you want
In Bedrock, a mode changes how the command treats the region. Think through whether you want to preserve the interior, affect only air, or remove existing blocks before executing it.
| Mode | Effect | Use it when |
|---|---|---|
replace |
Replaces blocks across the selected region; it can include a block filter. | You want to replace a particular block, or replace everything in the region. |
destroy |
Replaces blocks and removes existing blocks. | You intend to clear a region and accept the destructive effect. |
hollow |
Creates a shell and empties the interior. | You want a box with a boundary but an empty inside. |
outline |
Places blocks on the boundary while preserving the interior. | You want a boundary without hollowing the interior. |
keep |
Affects air blocks only. | You want to fill empty spaces without replacing existing blocks. |
These modes and their effects are documented in Microsoft’s Bedrock /fill reference.
Rank #2
- FULLY ARTICULATED ACTION FIGURES: Each Magneverse magnetic action figure features 360° rotating arms, bendable legs, and a swiveling head. With freely movable joints designed for smooth, snag-free articulation, children can effortlessly pose figures in standing, sitting, running, or jumping positions. This encourages imaginative play while developing fine motor skills and spatial creativity.
- PERFECTLY COMPATIBLE WITH MAGNETIC BUILDING BLOCKS: As professional magnetic toy accessories, these magnetic action figures seamlessly integrate with mainstream magnetic building blocks on the market. Pair them with castles, vehicles, or scenes constructed from blocks to bring static building pieces to life, enrichin
- MAGNETIC ADHESION FOR ANY SURFACE: Each magnetic figure features a built-in high-quality magnet, ensuring a secure hold on refrigerator doors, whiteboards, or any metal surface without slipping off! Kids can freely pose them in fun ways (standing, hanging, leaning) in kitchens, study rooms, children's rooms, or classrooms. They serve as creative decorations and handy desktop toys.
- STEM ENRICHMENT TOYS: Magnetic Blocks are specifically designed for children's STEM education. This magnetic sensory toy combines joint manipulation, magnetic attraction, and building block assembly to help cultivate children's creative expression, logical thinking, and hand-eye coordination. It also serves as an early education magnetic teaching aid, making learning through play more effective.
- DURABLE AND LONG-LASTING: Designed to withstand rough play, these magnetic Action figures for kids ages 4-8 are shock-resistant and scratch-proof. The thickened plastic casing resists cracking, while the magnets maintain their strength even after years of use. Unlike flimsy alternatives, this set won't easily break or lose its magnetic properties. Suitable for 3+ year old boys, these magnetic blocks are perfect for toddlers and older children alike, ideal for classroom learning and parent-child bonding.
Make a hollow box
To create a hollow glass box in Bedrock, use the documented example /fill ~-3 ~ ~-3 ~3 ~4 ~3 glass 0 hollow. The two relative-coordinate triples set opposite corners; glass is the block, and hollow leaves a shell rather than filling the interior. Check the corners in the world before running it, especially near builds you want to keep.
Replace one block with another
Bedrock’s replace mode can filter by the block to be replaced. For example, /fill 0 64 0 10 64 10 grass_block 0 replace dirt replaces dirt with grass in the bounded region. The coordinate triples describe the two corners, grass_block is the replacement, and dirt is the filter.
Rank #3
- Capture the excitement and adventurous play of Minecraft
- Each 3.25-inch scale Minecraft action figure comes with accessories to re-create favorite in-game moments
- The character figures are posable with movable joints for even more ways to play
- The designs of the figures and accessories stay true to the unique, pixelated world of Minecraft
- Makes a great toy for video-game players and fans ages 6 years old and up, who will want them all (Each sold separately, subject to availability.)
A filter can also target a block you want to remove by replacing it with air. For example, /fill ~-10 ~-10 ~-10 ~10 ~10 ~10 air 0 replace water clears water from the selected region. Because replacing with air removes the targeted blocks, verify both coordinates and the filter before running it.
Bedrock and Java syntax at a glance
| Edition and version | Documented syntax or option | Important distinction |
|---|---|---|
| Bedrock | /fill <from> <to> <block>, with documented modes including destroy, hollow, keep, outline, and replace. |
The examples in this guide are Bedrock examples; Bedrock’s reference says cheats are required and lists Game Directors as the permission level. |
| Java Edition 1.21.5 | The release notes document optional replace <filter>, followed by optional strict, destroy, hollow, or outline. |
strict placement avoids block and shape updates. Confirm the syntax for the Java version you play. |
For Java details, use the official 1.21.5 release notes. The precise syntax can change by edition and version.
Quick Recap
Best Value
- Take home the epic adventures of A Minecraft Movie with the Ultimate Movie Pack featuring 8 action figures and 8 accessories
- The instant collection includes Steve, Garrett, Henry, Dennis the wolf, a hostile Skeleton, Dawn and Natalie -- both making their first appearance -- and a Creeper that glows in the dark
- Equip each character with a signature accessory, like Garett with buckchuckets, Steve with his sword or the Skeleton with its bow and arrow
- Designed in 4-inch scale, the figures feature authentic details and possibility, great for recreating favorite movie scenes or inventing new ones
- Packed with fan-favorite characters, Minecraft fans of all ages will love adding this pack to their collections for play and display
Rank #4
- Capture the excitement and adventurous play of Minecraft!
- Each 3.25-inch scale Minecraft action figure comes with an accessory to recreate favorite in-game moments!
- Each also includes 1 Redstone Building Piece -- fans can collect the figures and combine all 6 building pieces to build a working TNT Cannon (each sold separately, subject to availability).
- For even more ways to play and display, the pixelated character figures are posable with movable joints!
- The collectible figures make a great toy for video-game players and fans ages 6 years old and up, who will want them all! (Each sold separately, subject to availability.)
If the command fails or changes the wrong area
- Syntax error: Confirm whether you are on Bedrock or Java, then check the command form for that version.
- Invalid block: Check the block name and use the spelling expected by your edition.
- Unexpected location or size: Check that coordinates are in
x y zorder and that relative coordinates are being used as intended. - Permission error: Check whether cheats are enabled and whether your world or server grants command access.
- Execution-limit error: Reduce the region or split it into smaller sections. The official references cited here do not establish one universal current size limit across editions.
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.




