Robot Knight

The Knight Robot is a Robot added by the mod BuildCraft, which has the special ability to use Swords and kill mobs. It can be used, for example, to defend his home and/or gather mob drops, while the player does other activities. (see Usage). Subsequently, the dropped items can be collected by the Picker Robot and stored in a chest for use by the player.

Usage
The robot automatically kills mobs, as the name implies. It can be used to defend his home or to gather mob drops, so the player can do other activities. Because this is its special ability, it is unable to collect the dropped wood; thus, having a Picker Robot is very useful, and can speed up the process.

The setup to start it up is a little bit complicated, but we will explain it in a step-by-step format.

Needed Items:

 * 1 Chest
 * 1 Wooden Transport Pipe
 * 1 Docking Station
 * 1 Emerald AND Gate (or a other type of Emerald Gate if special functions needed)
 * 1 Lever
 * 1 or more Swords of any type
 * 1 Knight Robot

If the player will define a working/fighing area then he needs also:
 * 4 Land Marks
 * 1 Map Location

Step 1: Define Work Zone
The Knight Robot don't required a working area, but if the player will define an area he must use Land Marks.

The player must place three Land Marks in a 90° angle to each, which defines the base. Now the player can right-click on one of the marks to active the red borders which displays the ground area of the work zone. The marks may not be more than 64 blocks away from the center mark. Then the player must build, for example, a dirt tower over the center until the height where the last mobs are present. On top of the dirt tower, the player must place the fourth Land Mark. If the player now right-click on any Land Mark, then a red border should be appear which frames a 3-dimensional work zone. If no red border appears, then the Land Marks don't stand in a 90° angel to each other.

Step 2: Control Station
In the second step, the player must build up the control station of the robot. It can be placed anywhere but it is recommend to place it in the near of the area where the robot is planned to work. The following explained control station is a minimum example and can be extended.

The station includes a Chest, with a connected Wooden Transport Pipe, as well as a Docking Station and a Emerald AND Gate which can be placed anywhere on the gate (without disconnecting the chest).

In front of the Emerald Gate, the Lever, and in the chest, the sword, can be placed. Now the station should look like the example in Fig. 1.

Step 3: Configuration
The third step is the configuration of the Emerald Gate to control the robot. Also here, this example isn't the only system that works and can be extended.

The player must open the GUI of the Emerald Gate with a right-click, which shows two configurable blocks (one left, one right).

Select all the options as shown in Fig. 2. In the first and third row on the right side is a question mark determining whether the options before are selected. That means that something must be put in this slots.

Now only the important configurations to control the robot, which are shown in Fig. 4, are explained in the following:

A full explanation of all possible functions can be found in the article of the Emerald Gate.

The sequence of rows has no meaning, but only what is in each row.

The option previously required coordinates which must be added by the Map Location.
 * 1) Take the Map Location and right click on one of the Land Marks to receive the coordinates of the working zone (shown in Fig. 5). The Map Location should now have a rectangle on the item. Now this map must be placed in GUI of the Emerald Gate in the "question slot" in the second row ("Working area" option). The Map Location should remain stored, and can be reused for the second coordinates. (This point isn't required if no working area has been defined)
 * 2) Take the Map Location again and right-click on the Docking Station to receive the coordinates. Note: Here it is important, which side is indicated at the coordinates for the docking station. This is displayed in the player inventory if the cursor is moved on the Map Location. Please check if the specified side is the same where the docking station is, for example UP if the docking station is on the upside of the pipe. Now put the map in the GUI of the Emerald Gate in the question slot in the first row ("Go to station" option).
 * 3) At least put any desired sword in one of the empty slots in the third row on the right side

Now the configuration should appear like in Fig. 2 and the control station is configured. Land Marks and the respective frame (if used) are now not longer needed for this example and can be removed. If you want to use the frame for other robots (for example for the "Picker" Robot, make sure you have the coordinates stored in a Map Location.

Step 4: Start and Stop
In the fourth and last step, the "Knight" Robot can be placed on top of the Docking Station (shown in Fig. 3). At first the robot does nothing because the function in the first row commands the robot to stay on the station.

If the Lever in front of the gate is switched and a redstone signal receives the gate, the second and third row is active.

After a short time (the update time of the robot), the robot will take a sword out of the chest (third row in the Emerald Gate) and start the work in the defined zone (second row in the Emerald Gate) (shown in Fig. 4) until there are no mobs in the area more.

Once the sword is broken, which the robot has taken at the start, he return back to the station automatically. Once there, the function on the third row is triggered again, and the robot receives new sword out of the chest (if any are inside) and then continues with the work.

When all mobs are killed in the defined or surrounding area, the robot automatically returns to the control station. But he still active and will start again to work, when a new mob enters the area. The work of the robot can be stopped anytime by switching the lever (in front of the gate) off. When the robot is currently at work, then he returns back to station automatically.

Recharging
If the robot is low on energy, it will begin to seek out a kinesis pipe with a docking station to charge itself. If none are available, it will continue doing its job until its battery dies. The player can also stop the robot with attacks to prematurely drain its battery, causing the to robot drop as item on the ground. Stronger attacks will drain its battery faster. The player can pick up the robot and place in the Charging Table to recharge it. After that, the robot can be placed again on the Docking Station and is again ready to work.