How to use drain minecraft
Michael Henderson
Updated on March 24, 2026

Another World Edit tutorial on how to use the //drain and //fill commands About Press Copyright Contact us Creators Advertise Developers Terms Privacy Policy & Safety How YouTube works Test new …
There are other answers below:
The best command players can use to drain an ocean is: /setblock ~ ~ ~ repeating_command_block{auto:1,Command:”execute at @p run fill ~-15 ~-15 ~-15 ~15 ~15 ~15 air replace water”}
These commands are pretty simple to use, so i just wanted to give you guys some quick examples of how they… Welcome to one of my shorter world edit tutorials!
This is the command you want: /setblock ~ ~ ~ repeating_command_block {auto:1,Command:”execute at @p run fill ~-15 ~-15 ~-15 ~15 ~15 ~15 air replace water”} This puts down a command block that constantly replaces water around you with air. That’s the answer to your question. But the solution for your problem is:
However, the hard thing now is to drain the water inside the glass dome =/. Currently i have 2 way of draining them. 1) use a bucket(stupid) 2) use sand to fill it (only slightly better) & i need to remove the sand later. Just wondering if anyone have attempt such project or have idea on how to drain the water.
Dive down to a block, and look downward while you swim up, placing dirt or whatever – do this in a checkerboard. Drop one sand or gravel down each resulting hole and it’ll clear the water. So you only have to fill in about half of the squares.
| Draining water (//drain) This command will allow you to drain water. Stand in a flow of water. Use //drain (radius). You will need to replace the ‘(radius)’ with the amount of blocks you would like to drain; the smaller the number is, the less water it will drain. | Naturalize (//naturalize)
History. Talk (0) //drain kill all mods. Community content is available under CC-BY-SA unless otherwise noted. Advertisement. Fan Feed. More Minecraft …
The easiest way to run a command in Minecraft is within the chat window. The game control to open the chat window depends on the version of Minecraft: For Java Edition (PC/Mac), press the T key to open the chat window. For Pocket Edition (PE), tap on the chat button at the top of the screen. For Xbox One, press the D-Pad (right) on the controller.
Caleb pretty much covered it all. I just wanted to add that when using WorldEdit, I find it often easier to use the //drain
Related Questions
What does the drain command do in Minecraft?
This command will effectively drain the ocean or chunk of water the player desires. Also read: Teleport Command in Minecraft: Everything players need to know. Rate this article! Thank You!
How to drain an ocean in Minecraft?
Commands may be the easiest way to drain an ocean in Minecraft. They are a middle ground between direct placing and digging work and using out-of-game Minecraft services. The best command players can use to drain an ocean is:
How do you fill water blocks with air in Minecraft?
Press the Enter key to run the command. Once the cheat has been entered, all water blocks in the fill range will be replaced with air blocks. You will see the message ” 1640 blocks filled ” appear in the lower left corner of the game window to indicate that the fill command has completed.
Is it possible to drain water before building a sphere?
I need it to drain the inside water and not the outside water so draining before building it is not possible. world edit. Use MCEdit to delete the water blocks in your sphere thing.