Mining Turtle

From Feed The Beast Wiki
Jump to: navigation, search
Mining Turtle
Mining Turtle

Name Mining Turtle
Source Mod ComputerCraft
ID Name
ComputerCraft:CC-Turtle:1
Type Block
Stackable Yes (64)
Blast Resistance 12.5
Hardness 2.5
Solid Yes
Transparent No
Affected by Gravity No
Emits Light No
Flammable No
Required Tool Diamond Pickaxe

The Mining Turtle is a block added by the ComputerCraft mod. A Turtle with the ability to mine any block it encounters. The turtle requires fuel to move in the form of combustibles such as, starting with the most efficient: Lava, Coal, Charcoal or Wood. The Turtle is immune to lava and its pick is indestructible. The Turtle doesn't keep the chunk loaded, this means that the Player has to stay within the same chunk as the Turtle or use a Dimensional Anchor or Chunk Loader. Leaving the chunk or shutting down the game (or a server reboot) while a Turtle is running will cause it to forget its task.

The Turtle's programming is written in Lua, an easy to learn code language, given some interest and a good resource. Turtle actions are defined by an API, a set of specific action commands to put the turtle in motion. Simple tasks may be written to make the Turtle dig a shaft, place torches and ladders, dig tunnels and bridges across lava and so much more, the possibilities of use are endless. We hope the Player will enjoy this remarkable utility companion. Have Fun!

Recipe [1][edit]

GUI Crafting Table.png
Turtle (ComputerCraft)
Diamond Pickaxe






Mining Turtle

Usage[edit]

Mining Turtle has no known uses in crafting.

Getting Started[edit]

Prompt display in Turtle interface.

Upon placing the Turtle, access its User interface by 'Right-clicking' it. The command prompt window is where the Player types [2] commands and edit programs. It is recommended to name the Turtle using the command:

label set name

With the label set, the name displays above the Turtle (while pointing at it) and it can be removed while retaining it's memory and fuel. A folder [3] is created in the game folder, containing any files edited with the Turtle.

On the right of the Players inventory is the 16 slot [4] Turtle inventory, where fuel, items harvested and to be placed or equipped by the Turtle are stored [5]. At any time the Player may type: help for a list of help subjects. Adding the name of a program or command will give a summary of use.

Built-in Command and Program[edit]

To view a list of built-in commands and programs, at the prompt type:

programs

To run a program, simply type the name of the program or command followed by any parameters it requires. For example, to have the Mining Turtle excavate a 10x10x10 area type:

excavate 10

To make a tunnel 50m long (3 wide and 2 high) type:

tunnel 50. 

The Turtle can be programmed to execute a task automatically upon starting the game, at the prompt enter this simple code:

edit startup
shell.run "nameOfTask"

where nameOfTask is one of the built-in programs, commands [6] or a Player writen task. Press the Control key (Ctrl) and choose Save (using arrow keys) then Ctrl again to Exit

Note[edit]

  1. Reversing the recipe will place the pick on the right side of the Turtle where it's only slightly visible while in inventory.
  2. One line of text copied to the clipboard may be pasted at the prompt in the Turtle's interface.
  3. The Turtle folder is named with a number corresponding to the number of Turtles labelled. The typical folder path is: FTB<Modpack name>/minecraft/saves/world/computer/1. A file codded with an editor such as Notepad++ can be saved as an existing Turtle file in this folder and executed with the Turtle in-game. Once labelled the Turtle will no longer stack with other Turtles.
  4. The numbering of the slots goes from left to right, top to bottom, from 1 to 16.
  5. By default, when the Turtle runs out of fuel it will scan its inventory and use any combustible items stored or harvested as fuel. To avoid the Turtle consuming resources use the command refuel all with the fuel of choice in the Turtle's inventory to manually refuel.
  6. The names of the programs and commands are case sensitive.
  • The Diamond Pick used in the recipe must be undamaged, furthermore, enchantment on the Pick will have no effect on the Mining Turtle.

Tutorial and Resource[edit]

Video[edit]