Home / Uncategorized / ✔️How To Clone, Fill And Setblock Commands In Minecraft: Minecraft Tutorial ✔️

✔️How To Clone, Fill And Setblock Commands In Minecraft: Minecraft Tutorial ✔️

Video Summary

In this tutorial, I walk through three essential Minecraft commands: /fill, /setblock, and /clone. I explain how each command works, demonstrate the different modes like destroy, keep, hollow, and replace, and show practical applications such as automatically replenishing destroyed blocks or cloning terrain sections for server mechanics like jail servers.

How To Use The Clone, Fill and Setblock Commands In Minecraft

Hey everybody, it’s UnderMyCap and welcome back to another video! Today I’m going to be showing you how to use the /clone, /setblock and /fill commands. So without further ado, let’s get straight into it!

The /fill Command

Let’s start off with /fill. Basically, how you use it is you type /fill and then you type in your coordinates for what you want to fill from. Since I don’t have any specific coordinates on hand right now, I’m going to use the tilde (~) symbol and put in the numbers. What the tilde does is when you have three tildes, it centres from the command block — so that’s where it will start from. So if you filled from one point to another, your command block would be filled in with that command, which you don’t want. What you want to do is make sure you avoid a collision with it. So for example, you’d offset it by going something like negative three, and then adjust the other coordinates accordingly — something like three, two, four, four, three. When you press the button, it’s going to fill from one point to the other. Now once you’ve got that down, you’ll want to add in a block type — let’s say stone. There are also a few fill modes you can use:
  • Destroy – This will destroy the blocks currently there and replace them with new ones. Items will drop from the destroyed blocks, which can get quite laggy.
  • Keep – If there is already a block in a space, it keeps it there and won’t replace it. It basically fills up any empty gaps. So if someone built something there and you press the button, nothing will happen to their blocks.
  • Hollow – This replaces the blocks without causing any items to drop out. I quite like this one because if you have it repeating constantly so no one can break it, it won’t fill your whole screen with dropped items and lag out your game. It will just politely replace the blocks without any items coming out.
  • Outline – This appears to work similarly to the other modes. I’d recommend just using hollow, but outline is fine too.
  • Replace – The default option, simply replaces blocks in the area.
So that’s basically the /fill command in a nutshell! As you can see, if you wanted a world where something gets blown up and blocks are destroyed, you’d be able to replenish that area automatically. I wouldn’t recommend using destroy in that situation though — I’d just recommend using the normal fill command with your chosen block and having that constantly running.

The /setblock Command

Now let’s move on to the /setblock command. Setblock is kind of the same as fill, except it only places one block at a time. It has similar modes to the fill command:
  • /setblock … destroy – As you saw before, this causes a whole bunch of items to drop out. It can get pretty laggy.
  • /setblock … keep – If there’s already a block there, it won’t do anything. If the block is removed, it will replace it.
  • /setblock … replace – This won’t cause any items to come out and works really well because of that.
So that’s basically the /setblock command in a nutshell!

The /clone Command

Now let’s get into the /clone command. This is my favourite one. Essentially, /clone copies a section of blocks or an area of land and pastes it into another spot. Here’s how you use it — you type /clone and then use tildes if you want, or if you have specific coordinates for an area in your world, you can use those instead. The first set of coordinates defines the area you want to clone, and the second set of coordinates is where you want it to be cloned to. I would recommend doing a little test with this first, because before this video I accidentally cloned the command block that was running the clone command itself — and it made a massive staircase shooting up into the sky that just kept cloning itself and I couldn’t get rid of it! As a simple example — if you place a few wood blocks in the source area and run the command, those blocks will be copied and pasted into the destination area. You can then change the blocks and run it again. This command is incredibly useful and is commonly used on servers — for example, jail servers where you have to mine cobblestone and the area resets itself automatically.

Wrapping Up

So that’s basically how you use the /clone, /setblock and /fill commands! If you enjoyed this, please leave a like and subscribe — it would be greatly appreciated. Comment below what you’d like me to cover next, I do read through the comments! Down below there are also links to my social accounts, and there’s a Patreon page where you can support me if you’d like to. I’m still setting it up, but there may be some perks, or it might just be a donation option where you can see exclusive posts and ask me questions about Minecraft, video editing, or anything else you’d like me to cover. Thank you so much for watching and I hope to see you in the next one!

Video Thumbnail

Leave a Reply