This post explains how to build a minecraft castle using the fill and clone commands. The first part is a very simple tutorial on the commands themselves, while the second part explains how to use the commands to build the castle. If you are familiar with the commands already skip to the second part of the post.
Fill and Clone Basics
Minecraft coordinates are written out as sets of three numbers. For example: 6 5 9. The middle coordinate (the y one) tells you how high the location is. A positive x coordinate tells you how far east you are from an arbitrary location of x = 0, and a negative x coordinate tells you how far west you are from that same place. A positive z coordinate tells you how far south you are, and a negative z coordinate tells you how far north you are from that same place. To find out the location of the block (or empty space) you are looking at us the F3 button.
To do the fill command you type in the coordinates of two corners of the rectangular prism you’d like to fill. So if you wanted to create this lovely stack of emerald blocks, what you would need is the coordinates of where you want to place the two corners I have marked out with the arrows.
Try teleporting to 0 4 0 on a superflat world, and typing /fill 1 4 1 3 5 2 emerald_block. The first three numbers tell the coordinates of one corner of the shape, and the second three numbers are the coordinates of the other corner.
You can get rid of the shape easily. Press / to be able to type a command but then instead of typing a command press the up arrow button to bring back the last command you had typed. Now erase “emerald_block” and write “air.” Click enter and what you built is replaced with air.
But now put the emerald blocks back to practice cloning. For cloning you need three sets of coordinates. The first two tell the corners of the rectangular prism you want to clone, and the third set of coordinates tells the first corner of where you want to place your clone.
Try /clone 1 4 1 3 5 2 10 4 8 You’ll notice of this string of nine numbers that the first six are the coordinates for the emerald blocks I just had you make. The third set of coordinates are not too far away.
To practice place six gold blocks on top of the original set of emerald blocks. Now try cloning the emeralds and the gold. You can use almost the same string of numbers as before, but you need to change the one that controls the upper height of what you are cloning. That is the y coordinate of the second set of coordinates, or in other words, the fifth number from the whole list. Try altering it one higher, and doing the clone. Did you get the emeralds and the gold?
Now try to clone the whole thing up in the sky. Change the y coordinate of the third set of coordinates, the one that controls where the new creation will be placed.
Building the Castle
This castle is built by creating rectangular prisms of stone and then hollowing them out with rectangular prisms of air inside.
The first thing to do to build this castle is to open a superflat world and teleport to 0 4 0. All of these instructions can be altered to use with a different terrain and different location, but it is simplest to practice it first on a superflat world.
The Lower Part of the Walls
Type in: /fill 1 4 1 90 7 90 stone (This creates a giant rectangular box of stone.)
(Now your courtyard appears!)
Upper Part of the Walls
The Automatic Minecraft Castle Towers
The Automatic Minecraft Castle Keep
Once you get used to using the clone and fill commands there are lots of things that can be built quickly. It is easy to start picturing minecraft houses as prisms of air inside prisms of wood or stone. Though the keep above has only three big open floors, it is possible to plan out a more complicated collection of “bubbles” or “rooms” inside. Try using the following three commands and then designing your own rooms by number.