User:SolidSC/Automated Building Bot

= Automated Building Bot = This article here is about establishing the basics and functionality of Automated Building.

Question
Q What is an automated building bot?

Q How does the automated building bot build?

How to get started
To start open up a Superflat World up and find an nice open space for the Automated Building Bot to build and if you just started a new game then your ready to go to get started.

Step 1: Creating the Automated Building Bot
The first important task is to summon an armor stand with a custom name. The summon command below has the custom name "Drone".

Step 2: Basic Commands
Here in Step Two you are going to create a basic set of commands for the Drone to execute. These basic commands are important for the automated building bot when it comes to storing, providing, and handling certain basic commands and you will use function commands to do this. Now if you don't know how to use function commands refer to the function page above in the contents to gain understanding on how to setup a function command for the automated building bot before continuing. If you know how to create and build a function command then this next part will be easy. For the folder name it  and save the basic commands   files based on this here.

Step 3: Basic Building Commands
For Step 3 you are going to dive right in some basic building command and learn how to build various types of Pyramid Structures along with building a temple inside a temple so to say. Now if you don't know how to use function commands refer to the function page in the wiki to gain understanding on how to setup a function command for the automated building bot before continuing. Now if you know how to create and build a function command then this next part will be easy. For the folder you can name it  and save all the   files based on this here.

Step 4: Building Walls, Columns, Floors, and Stairs
This Step you are going to learn how to build the walls, columns, floors, and stairs through the use of the automated building bot. Now before any good building can be started a foundation must be laid.One way to build a foundation is through the use of Walls and/or Pillars rising out of the ground in symmetrical design or you could just lay down a Slab foundation and call the foundation finished.

Walls

Columns

Floors

Stairs

Step 5: Shapes
This step is about building with all kinds of shapes, this includes circle, ect. Building with shapes is necessary task to learn when it comes to building with the Automated Building Bot. The more complex the shape the more commands probably is needed, so that being said the easiest shape to build is a Solid Shape. A hollow Circle needs about 4x as Commands as a Solid Circle would. Another great thing when it come to building with Shapes is that if you know how to look at numbers as shapes you can divide the shapes in to halves and into quarter sections, so the more complex the shape the more malleability you will have over the shape and Building.

Step 6: The Execute Commands
One of the most important commands for the Automatic Building bot is the Execute Commands. In practice the Execute Command Is what Enables the bot to build but there is more to the Execute Command that meets the eye so this sections is dedicated to the Execute Command and breakdown all the branches of tasks the Bot can do through the Execute Commands.

Execute The Basic Execute Command is the foundation command piece for the Automatic Building Bot. The utility behind this command is enormous and is basically what Drives the Bot to make decisions, and either carry out the command task or not. Now the command can comes in many forms to achieve very select and unique things. I cannot Stress it to you enough on how the Execute Command is important here.

Execute Offset The Execute Offset command is great for building if you want to

Execute Detect The Execute Detect command will only Execute if the Detect Command reads positive at what block its detecting for,other wise the execute command will fail if the detector reads negative.

Execute SelectorThe Execute Selector Command will only Execute if the Selectors match the Entity other wont execute if the selector does not match.

Execute Function The Execute Function Command is an important command when either chaining other functions together for buiding or to create a

Execute Execute The Execute Execute Command is just an Execute command with an extra Execute command. Now the advantages this have advance command have is that when combined with either a tag or a random selector it enables all kinds of selective uses for the automatic building bot to complete. Basically this Can be a List Guide is very important towards decision making.

The Main Execute Function Now this is just a play on words but its a very important concept to understand when dealing with using Functions and I hope you can understand why. It really has nothing to do with the Execute Command in General but rather using the Functions Command overall. Now the idea behind the Main Execute Function is that it will be used as the Main Control Panel for initiating certain Functions Commands that are deep inside a group of folders. When you have alot of functions and folders commands can get long and complex, so to make things easier and shorter to type out you can create a simple Function Command that will execute another Function Command which is located deep in a group of folders.

Execute Execute Execute Now what is this madness here, this is the Triple Execute Command and is very important when it comes to making RPGs and all sorts of stuff. If you ever wanted to add an extra Score to the selector, and wonder why it never worked in a single, well do this command here and add or if you want to do some kind of combination building and you need this will make it happen.

Execute Fill List Now we are talking about building here. The Execute Fill List is what step 3 is all about.

Step 7: Command Block Function Programming
Here in Step 7 we are going to focus on one of the important aspects when it come to building with Command Block Function. Understanding this is essential when it comes to building a range of structures from Mazes, Dungeons, Castles and Fortresses to even constructing natural environment structures Like Mountains, Trees, Rivers, and Caves. There are even ways to build over and over again with loops using a hand full of commands. Here is a link of Natural Generated Structures for reference.

Commands

Function Cycle Loop A function cycle loop works in the similar fashion to a chain of command blocks that are conditionally chained together and here we can use this to build over, over and over again in loops by just using a hand full of function and commands. This is great for control allowing more flexibility to building. The advantages of using Function Cycle over a GameLoopFunction is that a Function Cycle is more technical and serves as a primary loop function that is always running the next function. This is how the building bot can build a Maze with in a Maze and then build a maze either above or underneath of the previous maze.

GameLoopFunction GameLoopFunction Is the brute force repeating command and is great to use for building mazes, walls and inside function cycles. The key for making a good GameLoopFunction is having the GameLoop setup in a way so it can stop itself immediately after completing its task. With mazes the Building Bot can set a gold block directly above itself at the starting point which will double as the finishing point so this way you can use the execute detect block command inside the GameLoopFunction as a way to Stop the GameLoopFunction inside the loop.

Summoning and Selecting Summoning and Selecting entities is important when it comes to building with the Bot. By summoning entities where the building bots need them you can Create a reference points for the building bot to teleport back to or by selecting random summoned Entities the bot can select one at random to chose to either build from or teleport too. Now most the time we are basically selecting based on the name and type of the building bot.

Scoreboard Tag and Values Cycling A scoreboard Tag and value cycle is a very useful set of commands burrowed inside a set of function that can do very useful things like build in patterns example (red, blue, green, and yellow) and even call for building in steps which is necessary for building structures like mazes and dungeons but not only that a scoreboard Tag and value cycle can also provide a way the Start, Stop and even can act as a switch that can bring the function to a Halt in order to complete another functions a good example is a maze being built inside a dungeon generator. In essence it allows one function to do a range of selected actions in procedural step if the said function is in a function/game loop sequence. Very useful selector if used properly, but if used improperly it could work like an Elevator that is stuck going up. Scoreboard Values Scoreboard Tags

Step 8:
=Advance= 