<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dan200</id>
		<title>ComputerCraft Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dan200"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/Special:Contributions/Dan200"/>
		<updated>2026-07-11T07:38:43Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Changelog&amp;diff=7456</id>
		<title>Template:Changelog</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Changelog&amp;diff=7456"/>
				<updated>2016-11-27T12:02:22Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: Removed a confusing april fools joke from the changelog&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 15%&amp;quot; | Version&lt;br /&gt;
! class=&amp;quot;unsortable&amp;quot; | New Features or Changes&lt;br /&gt;
! style=&amp;quot;width: 15%&amp;quot; | Minecraft Version&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2016/04/01/computercraft-and-computercraftedu-1-79/ ComputerCraft 1.79]&lt;br /&gt;
|&lt;br /&gt;
*Ported ComputerCraftEdu to Minecraft 1.8.9.&lt;br /&gt;
*Fixed a handful of bugs in ComputerCraft.&lt;br /&gt;
|align=center|1.8.9&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2016/01/15/computercraft-1-78/ ComputerCraft 1.77 - 1.78]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.8.9.&lt;br /&gt;
*Added [[Settings_(API)|“settings” API]].&lt;br /&gt;
*Added [[set|“set”]] and [[wget|“wget”]] programs.&lt;br /&gt;
*Added [[Settings_(API)|settings]] to disable [[multishell]], startup scripts, and tab completion on a per-computer basis. The default values for these settings can be customised in [[ComputerCraft.cfg]].&lt;br /&gt;
*All [[Computer]] and [[Turtle]] items except [[Command Computer]]s can now be mounted in [[Disk Drive]]s.&lt;br /&gt;
|align=center|1.8.9&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2015/12/24/computercraft-1-76/ ComputerCraft 1.76]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.8.&lt;br /&gt;
*Added [[Ender Modem]]s for cross-dimensional communication.&lt;br /&gt;
*Fixed handling of 8-bit characters. All the characters in the [https://en.wikipedia.org/wiki/ISO/IEC_8859-1 ISO 8859-1 codepage] can now be displayed.&lt;br /&gt;
*Added some extra graphical characters in the unused character positions, including a suite of characters for [http://teletextart.tumblr.com/ Teletext-style drawing].&lt;br /&gt;
*Added support for the new commands in Minecraft 1.8 to the [[Command Computer]].&lt;br /&gt;
*The return values of [[turtle.inspect]]() and [[commands.getBlockInfo]]() now include blockstate information.&lt;br /&gt;
*Added [[commands.getBlockInfos]]() function for Command Computers.&lt;br /&gt;
*Added new &amp;quot;[[Peripherals (program)|peripherals]]&amp;quot; program.&lt;br /&gt;
*Replaced the &amp;quot;_CC_VERSION&amp;quot; and &amp;quot;_MC_VERSION&amp;quot; constants with a new &amp;quot;_HOST&amp;quot; constant.&lt;br /&gt;
*Shortened the length of time that &amp;quot;Ctrl+T&amp;quot;, &amp;quot;Ctrl+S&amp;quot; and &amp;quot;Ctrl+R&amp;quot; must be held down to terminate, shutdown or reboot the computer.&lt;br /&gt;
*[[textutils.serializeJSON]]() now takes an optional parameter allowing it to produce JSON text with unquoted object keys. This is used by all autogenerated methods in the [[commands (API)|commands API]] except for &amp;quot;title&amp;quot; and &amp;quot;tellraw&amp;quot;.&lt;br /&gt;
*Fixed many bugs.&lt;br /&gt;
|align=center|1.8&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2015/12/04/computercraft-1-75/ ComputerCraft 1.75]&lt;br /&gt;
|&lt;br /&gt;
*Fixed monitors sometimes rendering without part of their text.&lt;br /&gt;
*Fixed a regression in the [[Bit_(API)|“bit” API]].&lt;br /&gt;
|align=center|1.7.10&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2015/06/27/computercraft-1-74/ ComputerCraft 1.74]&lt;br /&gt;
|&lt;br /&gt;
*Added tab completion to [[Edit|“edit”]], [[Lua|“lua”]] and the [[shell]].&lt;br /&gt;
*Added [[textutils.complete]](), [[fs.complete]](), [[shell.complete]](), [[shell.completeProgram]](), [[shell.setCompletionFunction]](), [[shell.getCompletionInfo]](), and [[help.completeTopic]]().&lt;br /&gt;
*Added tab completion options to [[read]]().&lt;br /&gt;
*Added [[key_up_(event)|“key_up”]] and [[mouse_up_(event)|“mouse_up”]] events.&lt;br /&gt;
*Non-advanced terminals now accept both grey [[Color_(API)|colour]]s.&lt;br /&gt;
*Added [[term.getTextColor]](), [[term.getBackgroundColor]]() and [[term.blit]]().&lt;br /&gt;
*Improved the performance of text rendering on [[Advanced Computer]]s.&lt;br /&gt;
*Added a “Run” button to the [[edit|“edit”]] program on [[Advanced Computer]]s.&lt;br /&gt;
*[[Turtle]]s can now push players and entities ([[ComputerCraft.cfg|configurable]]).&lt;br /&gt;
*[[Turtle]]s now respect server spawn protection ([[ComputerCraft.cfg|configurable]]).&lt;br /&gt;
*Added a turtle permissions API for mod authors.&lt;br /&gt;
*Implemented a subset of the Lua 5.2 API so programs can be written against it now, ahead of a future Lua version upgrade.&lt;br /&gt;
*Added a [[ComputerCraft.cfg|config option]] to disable parts of the Lua 5.1 API which will be removed when a future Lua version upgrade happens.&lt;br /&gt;
*[[Command Computer]]s can no longer be broken by survival players.&lt;br /&gt;
*Fixed the “pick block” key not working on ComputerCraft items in creative mode.&lt;br /&gt;
*Fixed the [[edit|“edit”]] program being hard to use on certain European keyboards.&lt;br /&gt;
*Added “_CC_VERSION” and “_MC_VERSION” constants.&lt;br /&gt;
|align=center|1.7.10&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2015/02/22/computercraft-1-73/ ComputerCraft 1.71 - 1.73]&lt;br /&gt;
|&lt;br /&gt;
*[CC 1.71] The [[exec|“exec”]] program, [[commands.exec]]() and all related [[Command Computer]] functions now return the console output of the command.&lt;br /&gt;
*[CC 1.72 - 1.73] Fixed two multiplayer-only crash bugs when placing certain blocks.&lt;br /&gt;
|align=center|1.7.10&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2015/02/15/computercraft-1-7/ ComputerCraft 1.7]&lt;br /&gt;
|&lt;br /&gt;
*Added [[Command Computer]]s.&lt;br /&gt;
*Added new API: [[commands_(API)|commands]].&lt;br /&gt;
*Added new programs: [[commands]], [[exec]].&lt;br /&gt;
*Added [[textutils.serializeJSON]]().&lt;br /&gt;
*Added ILuaContext.executeMainThreadTask() for peripheral developers.&lt;br /&gt;
*[[Disk Drive]]s and [[Printer]]s can now be renamed with Anvils.&lt;br /&gt;
*Fixed problems with HD texture packs.&lt;br /&gt;
*Fixed various bugs and crashes.&lt;br /&gt;
*Documented all the new features in the in-game help system.&lt;br /&gt;
|align=center|1.7.10&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2014/10/09/computercraft-1-65/ ComputerCraft 1.65]&lt;br /&gt;
|&lt;br /&gt;
*Fixed a multiplayer-only crash with [[turtle.place]]().&lt;br /&gt;
*Fixed some problems with [[http.post]]().&lt;br /&gt;
*Fixed [[fs.getDrive]]() returning incorrect results on remote peripherals.&lt;br /&gt;
|align=center|1.7.10&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2014/09/27/computercraft-1-64/ ComputerCraft 1.64]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.7.10.&lt;br /&gt;
*New [[turtle_(API)|turtle API]] functions: [[turtle.inspect]](), [[turtle.inspectUp]](), [[turtle.inspectDown]](), [[turtle.getItemDetail]]().&lt;br /&gt;
*Lots of bug fixes and crash fixes, a huge stability improvement over previous versions.&lt;br /&gt;
*New [[paintutils_(API)|paintutils API]] functions: [[paintutils.drawBox]]( startX, startY, endX, endY [, color] ), [[paintutils.drawFilledBox]]( startX, startY, endX, endY [, color] ).&lt;br /&gt;
|align=center|1.7.10&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2014/04/16/computercraft-1-63/ ComputerCraft 1.63]&lt;br /&gt;
|&lt;br /&gt;
*[[Turtle]]s can now be painted with dyes, and cleaned with water buckets.&lt;br /&gt;
*Added a new game: [[Redirection]] – ComputerCraft Edition by [http://www.computercraft.info/forums2/index.php?/user/16414-ramilego4game/ RamiLego] (type “redirection” on an Advanced Computer to play).&lt;br /&gt;
*[[Turtle]] label nameplates now only show when the [[Turtle]] is moused-over.&lt;br /&gt;
*The HTTP API is now enabled by default, and can be configured with a whitelist of permitted domains.&lt;br /&gt;
*[[http.get]]() and [[http.post]]() now accept parameters to control the request headers.&lt;br /&gt;
*New [[Fs_(API)|fs API]] function: [[fs.getDir]]( path ).&lt;br /&gt;
*Fixed some bugs.&lt;br /&gt;
|align=center|1.6.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2014/04/04/computercraft-1-62/ ComputerCraft 1.62]&lt;br /&gt;
|&lt;br /&gt;
*Fixed some bugs which were crashing the game.&lt;br /&gt;
*[[Chat]] now supports IRC commands.&lt;br /&gt;
|align=center|1.6.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2014/04/01/computercraft-1-61-bug-fix-update/ ComputerCraft 1.61]&lt;br /&gt;
|&lt;br /&gt;
*Fixed a bug where newly placed [[Computer]]s would share their folder structure until game restart.&lt;br /&gt;
*Fixed a bug where running [[Computer]]s might not automatically restart as the game did so.&lt;br /&gt;
|align=center|1.6.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2014/03/27/computercraft-1-6-is-here/ ComputerCraft 1.6]&lt;br /&gt;
|&lt;br /&gt;
*Added [[Pocket Computer]]s.&lt;br /&gt;
*Added a [[Multishell|multi-tasking system]] for [[Advanced Computer]]s and [[Turtle]]s.&lt;br /&gt;
*[[Turtle]]s can now [[Equip|swap out their tools and peripherals]] at runtime.&lt;br /&gt;
*[[Turtle]]s can now carry two tools or peripherals at once in any combination.&lt;br /&gt;
*[[Turtle]]s and [[Computer]]s can now be labelled using Name Tags and Anvils.&lt;br /&gt;
*Added a [[ComputerCraft.cfg|configurable fuel limit]] for [[Turtle]]s.&lt;br /&gt;
*Added hostnames, protocols and long distance routing to the [[Rednet (API)|rednet API]].&lt;br /&gt;
*Added a peer-to-peer [[chat]] program to demonstrate new rednet capabilities.&lt;br /&gt;
*Added a new game, only on [[Pocket Computer]]s: “[[falling]]” by [http://www.computercraft.info/forums2/index.php?/user/3545-gopheratl/ GopherATL].&lt;br /&gt;
*File system commands in the shell now accept wildcard arguments.&lt;br /&gt;
*The shell now accepts long arguments in quotes.&lt;br /&gt;
*[[term.redirect|Terminal redirection]] now no longer uses a stack-based system. Instead: [[term.current]]() gets the current terminal object and [[term.redirect]]() replaces it. [[term.restore]]() has been removed.&lt;br /&gt;
*Added a new [[Window (API)|Windowing API]] for addressing sub-areas of the terminal.&lt;br /&gt;
*New programs: [[fg]], [[bg]], [[multishell]], [[chat]], [[repeat]], [[Redstone (program)|redstone]], [[equip]], [[unequip]].&lt;br /&gt;
*Improved programs: [[copy]], [[move]], [[delete]], [[rename]], [[paint]], [[CraftOS|shell]].&lt;br /&gt;
*Removed programs: redset, redprobe, redpulse.&lt;br /&gt;
*New [[:Category:APIs|APIs]]: [[Window (API)|window]], [[Multishell (API)|multishell]].&lt;br /&gt;
*New [[Turtle (API)|turtle API]] functions: [[turtle.equipLeft]](), [[turtle.equipRight]](), [[turtle.getFuelLimit]](), [[turtle.getSelectedSlot]]().&lt;br /&gt;
*New [[Peripheral (API)|peripheral API]] functions: [[peripheral.find]]( [type] ).&lt;br /&gt;
*New [[Rednet (API)|rednet API]] functions: [[rednet.host]]( protocol, hostname ), [[rednet.unhost]]( protocol ), [[rednet.lookup]]( protocol, [hostname] ).&lt;br /&gt;
*Improved [[Rednet (API)|rednet API]] functions: [[rednet.send]](), [[rednet.broadcast]]() and [[rednet.receive]]() now take optional protocol parameters.&lt;br /&gt;
*New [[fs (API)|fs API]] function: [[fs.find]]( wildcard ).&lt;br /&gt;
*New [[Shell (API)|shell API]] functions: [[shell.openTab]]( command ), [[shell.switchTab]]( number ).&lt;br /&gt;
*New event “[[Term_resize_(event)|term_resize]]” fired when the size of a terminal changes.&lt;br /&gt;
*[[turtle.craft]](0) and [[turtle.refuel]](0) now return true if there is a valid recipe or fuel item, but do not craft or refuel anything.&lt;br /&gt;
*[[turtle.suck]]( [limit] ) can now be used to limit the number of items picked up.&lt;br /&gt;
*Users of [[turtle.dig]]() and [[turtle.attack]]() can now specify which side of the turtle to look for a tool to use (by default, both will be considered).&lt;br /&gt;
*[[textutils.serialize]]() now produces human-readable output.&lt;br /&gt;
*Refactored most of the codebase and fixed many old bugs and instabilities, [[Turtle]]s should never ever lose their content now.&lt;br /&gt;
*Fixed the “[[turtle_inventory_(event)|turtle_inventory]]” event firing when it shouldn’t have.&lt;br /&gt;
*Added error messages to many more [[Turtle_(API)|turtle API]] functions after they return false.&lt;br /&gt;
*Documented all new programs and API changes in the “[[help]]” system.&lt;br /&gt;
|align=center|1.6.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/12/09/computercraft-1-58/ ComputerCraft 1.58]&lt;br /&gt;
|&lt;br /&gt;
*Fixed a long standing bug where [[Turtle]]s could lose their identity.&lt;br /&gt;
*Fixed use of deprecated code, ensuring mod compatibility with the latest versions of Minecraft Forge and world compatibility with future versions of Minecraft.&lt;br /&gt;
|align=center|1.6.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/10/14/new-versions/ ComputerCraft 1.57]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.6.4.&lt;br /&gt;
*Added two new [[Treasure Disks]]: Conway’s Game of Life by [http://www.computercraft.info/forums2/index.php?/user/1823-vilsol/ vilsol] and Protector by [http://www.computercraft.info/forums2/index.php?/user/6929-fredthead/ fredthead].&lt;br /&gt;
*Fixed a very nasty item duplication bug.&lt;br /&gt;
|align=center|1.6.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/08/04/computercraft-1-56/ ComputerCraft 1.56]&lt;br /&gt;
|&lt;br /&gt;
*Added [[Treasure Disks]]: Rare [[Floppy Disk]]s found only in dungeons, which contain fun programs made by the community. Find them all!&lt;br /&gt;
*All [[Turtle_(API)|turtle API]] functions now return additional error messages when they fail.&lt;br /&gt;
*Resource Packs with Lua Programs can now be loaded when extracted to a folder, for easier editing.&lt;br /&gt;
|align=center|1.6.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/07/11/computercraft-1-55/ Computercraft 1.55]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.6.2.&lt;br /&gt;
*Added [[Advanced Turtle]]s.&lt;br /&gt;
*Added [[turtle_inventory_(event)|“turtle_inventory”]] event. Fires when any change is made to the inventory of a [[Turtle]].&lt;br /&gt;
*Added missing [[IO_(API)|io API]] functions: io.close, io.flush, io.input, io.lines, io.output.&lt;br /&gt;
*Tweaked the screen colours used by [[Advanced Computer]]s, [[Advanced Monitor]]s and [[Advanced Turtle]]s.&lt;br /&gt;
*Added several new features for Peripheral authors.&lt;br /&gt;
*Lua programs can now be included in Resource Packs.&lt;br /&gt;
|align=center|1.6.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/05/23/computercraft-1-53/ ComputerCraft 1.53]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.5.2.&lt;br /&gt;
*[[redstone.setBundledOutput]]() and [[redstone.getBundledOutput]]() now work with cables from Minefactory Reloaded, as well as RedPower.&lt;br /&gt;
*[[Monitor]]s and [[Advanced Monitor]]s can now be placed on floors and ceilings.&lt;br /&gt;
|align=center|1.5.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/03/26/computercraft-1-52/ Computercraft 1.52]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.5.1.&lt;br /&gt;
|align=center|1.5.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/03/15/computercraft-1-51/ Computercraft 1.51]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.5.&lt;br /&gt;
*Added [[Wired Modem]]s.&lt;br /&gt;
*Added [[Networking Cable]]s.&lt;br /&gt;
*Made [[Wireless Modem]]s more expensive to craft.&lt;br /&gt;
*New [[redstone_(API)|redstone API]] functions: [[redstone.getAnalogInput]](), [[redstone.setAnalogOutput]](), [[redstone.getAnalogOutput]]().&lt;br /&gt;
*Peripherals can now be controlled remotely over wired networks.&lt;br /&gt;
*New [[peripheral_(API)|peripheral API]] function: [[peripheral.getNames]]().&lt;br /&gt;
*New event: [[monitor_resize_(event)|“monitor_resize”]]is fired when the size of a monitor changes.&lt;br /&gt;
*Except for labelled [[Computer]]s and [[Turtle]]s, ComputerCraft blocks no longer drop items in creative mode.&lt;br /&gt;
*The pick block function works in creative mode now works for all ComputerCraft blocks.&lt;br /&gt;
*All blocks and items now use the IDs numbers assigned by FTB by default.&lt;br /&gt;
*Fixed [[Turtle]]s sometimes placing blocks with incorrect orientations.&lt;br /&gt;
*Fixed [[Wireless Modem]]s being able to send messages to themselves.&lt;br /&gt;
*Fixed [[turtle.attack]]() having a very short range.&lt;br /&gt;
*Various bugfixes.&lt;br /&gt;
|align=center|1.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/02/11/computercraft-1-5/ Computercraft 1.5]&lt;br /&gt;
|&lt;br /&gt;
*Redesigned [[Wireless Modem]]s; they can now send and receive on multiple channels, independent of the computer ID. To use these features, interface with modem peripherals [[Modem_(API)|directly]]. The [[Rednet_(API)|rednet API]] still functions as before.&lt;br /&gt;
*[[Floppy Disk]]s can now be dyed with multiple dyes, just like armour.&lt;br /&gt;
*The [[Excavate|“excavate”]] program now retains fuel in it’s inventory, so can run unattended.&lt;br /&gt;
*[[turtle.place]]() now tries all possible block orientations before failing.&lt;br /&gt;
*[[turtle.refuel]](0) returns true if a fuel item is selected.&lt;br /&gt;
*[[turtle.craft]](0) returns true if the inventory is a valid recipe.&lt;br /&gt;
*The in-game help system now has documentation for all the peripherals and their methods, including the new [[Modem]] functionality.&lt;br /&gt;
*A romantic surprise.&lt;br /&gt;
|align=center|1.4.7&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/12/27/computercraft-1-481-miscperipherals-fix/ Computercraft 1.481]&lt;br /&gt;
|&lt;br /&gt;
*Fixed compatibility bug with MiscPeripherals.&lt;br /&gt;
|align=center|1.4.6&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/12/23/computercraft-1-48/ Computercraft 1.48]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.6.&lt;br /&gt;
*[[Advanced Monitor]]s can now be used as touchscreens.&lt;br /&gt;
*[[Advanced Monitor]]s are now easier to craft.&lt;br /&gt;
*[[Turtle]]s now get slightly less movement from fuel.&lt;br /&gt;
*[[Turtle]]s can now push items.&lt;br /&gt;
*[[Computer]]s can now [[Command_Block_(API)|control Command Blocks]], if enabled in the [[ComputerCraft.cfg|config]].&lt;br /&gt;
*New [[OS_(API)|os API]] function: [[os.day]]().&lt;br /&gt;
*A Christmas surprise.&lt;br /&gt;
|align=center|1.4.6&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/11/15/computercraft-1-47-and-minecon-news/ ComputerCraft 1.47]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.4.&lt;br /&gt;
*Fixed label tooltips not showing up in SMP.&lt;br /&gt;
|align=center|1.4.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/25/computercraft-1-46-minecraft-update/ ComputerCraft 1.46]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.2.&lt;br /&gt;
*ComputerCraft items now have their own tab in Creative Mode.&lt;br /&gt;
|align=center|1.4.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/22/computercraft-1-45-now-with-colors/ ComputerCraft 1.45]&lt;br /&gt;
|&lt;br /&gt;
*Added [[Advanced Computer]]s.&lt;br /&gt;
*Added [[Advanced Monitor]]s.&lt;br /&gt;
*New program: [[paint]] (by [http://www.computercraft.info/forums2/index.php?/user/643-nitrogenfingers/ nitrogenfingers]).&lt;br /&gt;
*New API: [[paintutils_(API)|paintutils]].&lt;br /&gt;
*New term functions: [[term.setBackgroundColor]]( color ), [[term.setTextColor]]( color ), [[term.isColor]]().&lt;br /&gt;
*New [[Turtle|Turtle API]] function: [[turtle.transferTo]]().&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/04/computercraft-1-43-books/ ComputerCraft 1.43]&lt;br /&gt;
|&lt;br /&gt;
*Added [[Printed Page]]s (bind several [[Printed Page]] items into one with a string).&lt;br /&gt;
*Added [[Printed_book|Printed Books]] (add a leather cover to the above).&lt;br /&gt;
*Labelled [[Turtle]]s now keep their fuel when broken.&lt;br /&gt;
*Fixed incompatibility with Forge 275 and above.&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/09/22/computercraft-1-42-is-released/ ComputerCraft 1.42]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.3.2 and the Forge mod system.&lt;br /&gt;
*Added [[Printer]]s.&lt;br /&gt;
*[[Floppy Disk]]s can now be dyed different colours.&lt;br /&gt;
*[[Turtle|Wireless Crafty Turtles]] can now be crafted.&lt;br /&gt;
*All new textures.&lt;br /&gt;
*New Forge [[ComputerCraft.cfg|config file]].&lt;br /&gt;
*Various tweaks and bug fixes.&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/07/29/computercraft-1-41-bugfix-update/ ComputerCraft 1.41]&lt;br /&gt;
|&lt;br /&gt;
*Fixed labelled [[Computer]]s not keeping their data when destroyed.&lt;br /&gt;
*Fixed the [[Excavate|“excavate”]] program outputting lots of spam.&lt;br /&gt;
*File system size limits now take into account empty files and directories.&lt;br /&gt;
*Some small changes to the Turtle Upgrade API ahead of it’s impending release. (Update: The API has now been released).&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/07/27/computercraft-1-4-is-released/ ComputerCraft 1.4]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Forge Mod Loader: ComputerCraft can now be ran directly from the .zip without extraction.&lt;br /&gt;
*Added Farming [[Turtle]]s, Felling [[Turtle]]s, Digging [[Turtle]]s, Melee [[Turtle]]s and Crafty [[Turtle]]s.&lt;br /&gt;
*Added 14 new [[Turtle]] combinations accessible by combining the turtle upgrades above.&lt;br /&gt;
*Labelled [[Computer]]s and [[Turtle]]s can now be crafted into [[Turtle]]s or other [[Turtle]] types without losing their ID, label and data.&lt;br /&gt;
*Added a “[[Turtle]] Upgrade API” for mod developers to create their own tools and peripherals for [[Turtle]]s.&lt;br /&gt;
*[[Turtle]]s can now attack entities with [[turtle.attack]]() and collect their dropped items.&lt;br /&gt;
*[[Turtle]]s can now use [[turtle.place]]() with any item the player can and can interact with entities.&lt;br /&gt;
*[[Turtle]]s can now craft items with [[turtle.craft]]().&lt;br /&gt;
*[[Turtle]]s can now place items into inventories with [[turtle.drop]]().&lt;br /&gt;
*Changed the behaviour of [[turtle.place]]() and [[turtle.drop]]() to only consider the currently selected slot.&lt;br /&gt;
*[[Turtle]]s can now pick up items from the ground or from inventories with [[turtle.suck]]().&lt;br /&gt;
*[[Turtle]]s can now compare items in their inventories.&lt;br /&gt;
*[[Turtle]]s can place signs with text on them with [[turtle.place]]( [signText] ).&lt;br /&gt;
*[[Turtle]]s now optionally require fuel items to move, and can [[turtle.refuel|refuel]] themselves.&lt;br /&gt;
*The size of the the [[Turtle]] inventory has been increased to 16 slots.&lt;br /&gt;
*The size of the [[Turtle]] screen has been increased.&lt;br /&gt;
*New [[Turtle_(API)|turtle API]] functions: [[turtle.compareTo]]( [slotNum] ), [[turtle.craft]](), [[turtle.attack]](), [[turtle.attackUp]](), [[turtle.attackDown]](), [[turtle.dropUp]](), [[turtle.dropDown]](), [[turtle.getFuelLevel]](), [[turtle.refuel]]().&lt;br /&gt;
*New [[Disk_(API)|disk API]] function: [[disk.getID]]().&lt;br /&gt;
*New [[Turtle]] programs: [[craft]], [[refuel]].&lt;br /&gt;
*[[Excavate|“excavate”]] program is now much smarter: will return items to a chest when full, attack mobs, and refuel itself automatically.&lt;br /&gt;
*New API: [[Keys_(API)|keys]].&lt;br /&gt;
*Added optional [[Floppy Disk]] and Hard Drive space limits for [[Computer]]s and [[Turtle]]s.&lt;br /&gt;
*New [[Fs_(API)|fs API]] function: [[fs.getFreeSpace]]( path ). Also [[fs.getDrive]]() works again.&lt;br /&gt;
*The send and receive range of wireless modems now increases with altitude, allowing long range networking from high-altitude [[Computer]]s (great for GPS networks).&lt;br /&gt;
*[[http.request]]() now supports &amp;lt;code&amp;gt;https://&amp;lt;/code&amp;gt; URLs.&lt;br /&gt;
*Right clicking a [[Disk Drive]] with a [[Floppy Disk]] or a Record when sneaking will insert the item into the [[Disk Drive]] automatically.&lt;br /&gt;
*The default size of the [[Computer]] screen has been increased.&lt;br /&gt;
*Several stability and security fixes: LuaJ can now no longer leave dangling threads when a [[Computer]] is unloaded, [[Turtle]]s can no longer be destroyed by tree leaves or walking off the edge of the loaded map. [[Computer]]s no longer crash when used with RedPower frames.&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/04/23/computercraft-updated-to-1-2-5/ ComputerCraft 1.33]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.5.&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/03/30/computercraft-1-32-out-now/ ComputerCraft 1.32]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.4.&lt;br /&gt;
*Fixed a big memory leak in LuaJ that caused extra threads to stay around forever when [[Computer]]s were shut down.&lt;br /&gt;
|align=center|1.2.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/03/13/computercraft-1-31-is-released/ ComputerCraft 1.31]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.3.&lt;br /&gt;
*Added [[Monitor]]s (thanks to Cloudy). Build huge external displays for your [[Computer]]s!&lt;br /&gt;
*New positioning capabilities for [[Computer]]s and [[Turtle]]s. Build GPS networks and triangulate the positions of your [[Turtle]]'s position so they never get lost!&lt;br /&gt;
*New [[turtle.compare]]() function for [[Turtle]]s for more intelligent mining.&lt;br /&gt;
*New programs and APIs: [[Gps_(program)|gps]], [[Monitor_(program)|monitor]], [[Vector_(API)|vector API]].&lt;br /&gt;
*New program: [[Pastebin_(program)|pastebin]] (requires &amp;lt;code&amp;gt;enableAPI_HTTP=1&amp;lt;/code&amp;gt; in [[ComputerCraft.cfg]]), upload and download programs made by other users ingame!&lt;br /&gt;
*Added a new top secret program designed for use with [[Monitor]]s, see if you can find it.&lt;br /&gt;
*Lots of additions to existing APIs and programs. Type &amp;quot;help whatsnew&amp;quot; in game for full details.&lt;br /&gt;
|align=center|1.2.3&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/02/23/computercraft-1-3-trailer/ ComputerCraft 1.3]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft Forge.&lt;br /&gt;
*Added [[Turtle]]s, Mining [[Turtle]]s, Wireless [[Turtle]]s and Wireless Mining [[Turtle]]s (Block ID 209).&lt;br /&gt;
*Added a Peripheral API to allow mod developers to create custom peripherals for ComputerCraft. Details on this will be posted in the next few days.&lt;br /&gt;
*Added [[Wireless Modem]]s. Use the [[Rednet_(API)|rednet API]] to send data wirelessly between [[Computer]]s and [[Turtle]]s!&lt;br /&gt;
*[[Computer]]s and [[Disk Drive]]s no longer get destroyed by water.&lt;br /&gt;
*[[Computer]]s and [[Turtle]]s can now be labelled, destroyed, and moved around, keeping their state.&lt;br /&gt;
*[[Computer]]s and [[Turtle]]s can connect to adjacent devices and turn them on or off.&lt;br /&gt;
*User programs now give line numbers in their error messages, for easier debugging.&lt;br /&gt;
*New APIs and programs for [[Turtle]]s: [[Turtle_(API)|turtle]], [[excavate]], [[tunnel]], [[go]], [[turn]] and [[dance]].&lt;br /&gt;
*Lots of additions to existing APIs and programs. Type &amp;quot;help whatsnew&amp;quot; in game for the full details.&lt;br /&gt;
|align=center|1.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.21&lt;br /&gt;
|&lt;br /&gt;
*Added shortcut key to shutdown the computer (CTRL + S).&lt;br /&gt;
*Added a [[Help_(API)|help API]] add-on pack.&lt;br /&gt;
*Various bug fixes.&lt;br /&gt;
|align=center|1.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.2&lt;br /&gt;
|&lt;br /&gt;
*Added [[Disk Drive]]s.&lt;br /&gt;
*Added shortcut keys to terminate the current program (CTRL + T) and reboot the computer (CTRL + R).&lt;br /&gt;
*Added [[os.loadAPI|a new system]] for user created APIs.&lt;br /&gt;
*Added [[Rednet_(API)|RedNet]].&lt;br /&gt;
*Added [[shell.setPath]]() and [[shell.setAlias]]().&lt;br /&gt;
*Added a new ROM startup script.&lt;br /&gt;
*Added [[os.clock]](), [[os.time]]() and [[os.setAlarm]]().&lt;br /&gt;
*Added game: [[Worm|&amp;quot;Worm!&amp;quot;]].&lt;br /&gt;
*Added programs: [[alias]], [[apis]], [[copy]], [[delete]], [[dj]], [[drive]], [[eject]], [[id]], [[label]], [[list]], [[move]], [[reboot]], [[redset]], [[rename]], [[time]].&lt;br /&gt;
*Added APIs: [[Bit_(API)|bit]], [[Colours_(API)|colours]], [[Disk_(API)|disk]], [[Help_(API)|help]], [[Rednet_(API)|rednet]], [[Parallel_(API)|parallel]], [[Textutils_(API)|textutils]].&lt;br /&gt;
*Text can be edited with left and right arrow keys.&lt;br /&gt;
*Many bug fixes.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.11&lt;br /&gt;
|&lt;br /&gt;
*Fixed bug where [[Computer]]s could not read input from RedPower cables which had a bend in the immediately adjacent square.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.1&lt;br /&gt;
|&lt;br /&gt;
*Changed the default block ID for the [[Computer]] to 207.&lt;br /&gt;
*Added multiplayer support.&lt;br /&gt;
*Added connectivity with RedPower bundled cables.&lt;br /&gt;
*Added [[HTTP_(API)|HTTP API]].&lt;br /&gt;
*Fixed support for HD textures on the front of [[Computer]]s.&lt;br /&gt;
*Added command history to the [[Computer]].&lt;br /&gt;
*Added [[ComputerCraft.cfg|config]] options to change the size of the [[Computer]] GUI and the text color.&lt;br /&gt;
*Programs with infinite loops that don't yield will no longer freeze Minecraft and will terminate after 10 seconds.&lt;br /&gt;
*Extended Help and fixed typos/small errors in various programs.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.02&lt;br /&gt;
|&lt;br /&gt;
*Fixed the MCPatcher HD textures incompatibility that was causing the computer texture to replace cobblestone blocks.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.01&lt;br /&gt;
|&lt;br /&gt;
*Added a ModLoader configuration file, so the computers block ID can be changed.&lt;br /&gt;
*Made the error message that displays when Lua files are not correctly installed much more clear, no more &amp;quot;Assertion failed.&amp;quot;&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.0&lt;br /&gt;
|&lt;br /&gt;
*First Release.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.dig&amp;diff=7419</id>
		<title>Turtle.dig</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.dig&amp;diff=7419"/>
				<updated>2016-06-09T19:37:06Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: Reverted edits by Bomb Bloke (talk) to last revision by MisterSanderson&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.dig&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{Type|boolean}} whether the turtle succeeded in digging, {{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to dig the block in front of the turtle.  If successful, [[Turtle.suck|suck()]] is automatically called, placing the item in turtle inventory in the selected slot if possible (block type matches and the slot is not a full stack yet), or in the next available slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Digs the block in front of the turtle.&lt;br /&gt;
|code=[[print]](turtle.dig())&lt;br /&gt;
|output=true if the turtle could dig the block, false if it could not or no block present.&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Digs the block in front of the turtle, but only if there is a block to dig (saves time).&lt;br /&gt;
|code=if [[turtle.detect]]() then&lt;br /&gt;
  turtle.dig()&lt;br /&gt;
 end&lt;br /&gt;
|output=the turtle digs if there is a block in front.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.digUp]]&lt;br /&gt;
*[[turtle.digDown]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Parallel.waitForAny&amp;diff=7387</id>
		<title>Parallel.waitForAny</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Parallel.waitForAny&amp;diff=7387"/>
				<updated>2016-01-27T21:54:49Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: Removed very misleading incorrect note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
|name=parallel.waitForAny&lt;br /&gt;
|args={{type|function}} function1, {{type|function}} function2, ...&lt;br /&gt;
|returns = {{type|number}} indicating which function has completed based on argument order&lt;br /&gt;
|api=parallel&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Lets you run multiple functions at the same time, alternating between them until any happen to finish.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Tells the computer to run &amp;lt;var&amp;gt;receive&amp;lt;/var &amp;gt;and &amp;lt;var&amp;gt;send&amp;lt;/var&amp;gt; the same time. Will broadcast what the user enters or prints what it receives over rednet, depending on what happens first.&lt;br /&gt;
|code= local function receive ()  -- Define function1.&lt;br /&gt;
  [[print]]([[rednet.receive]]())&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 local function send ()  -- Define function2.&lt;br /&gt;
  [[rednet.broadcast]]([[read]]())&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 '''parallel.waitForAny(receive, send)'''  -- Run both functions in parallel until one finishes.&lt;br /&gt;
|output=Either it prints what it received via rednet, or it broadcasts the message the user typed.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Settings_(API)&amp;diff=7385</id>
		<title>Settings (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Settings_(API)&amp;diff=7385"/>
				<updated>2016-01-18T19:41:58Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
The '''settings API''' allows to store values and save them to a file for persistent configurations for your and CraftOS programs. The default file for saving settings is &amp;lt;var&amp;gt;.settings&amp;lt;/var&amp;gt; sitting in the root of the computer. Settings can also be changed and added to all computers through [[ComputerCraft.cfg]]'s &amp;lt;var&amp;gt;S:default_computer_settings&amp;lt;/var&amp;gt; value.&lt;br /&gt;
&lt;br /&gt;
{{API table|settings|image=Grid_disk.png|2=&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[settings.set]]({{type|string}} name, {{type|any}} value)&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Sets the setting &amp;lt;var&amp;gt;name&amp;lt;/var&amp;gt; to &amp;lt;var&amp;gt;value&amp;lt;/var&amp;gt;.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[settings.get]]({{type|string}} name [, {{type|any}} default])&lt;br /&gt;
|{{type|any}} value&lt;br /&gt;
|Returns the setting's &amp;lt;var&amp;gt;name&amp;lt;/var&amp;gt; value, or &amp;lt;var&amp;gt;default&amp;lt;/var&amp;gt; if the setting does not exist.}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[settings.unset]]({{type|string}} name)&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Removes the setting &amp;lt;var&amp;gt;name&amp;lt;/var&amp;gt;.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[settings.clear]]()&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Removes all settings.}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[settings.getNames]]()&lt;br /&gt;
|{{type|table}} settingNames&lt;br /&gt;
|Returns a numerically-indexed table of all the setting's names.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[settings.load]]({{type|string}} path)&lt;br /&gt;
|{{type|boolean}} loaded&lt;br /&gt;
|Loads settings from a file.}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[settings.save]]({{type|string}} path)&lt;br /&gt;
|{{type|boolean}} saved&lt;br /&gt;
|Saves current settings to a file.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
* Settings are '''not''' automatically saved to a file, you have to do this [[settings.save|manually]].&lt;br /&gt;
* Setting's names can only be of type {{type|string}}.&lt;br /&gt;
* Setting's values can only be [[textutils.serialize|serializable]] types: {{type|string}}, {{type|number}}, {{type|boolean}} or {{type|table}}.&lt;br /&gt;
&lt;br /&gt;
==Default Settings==&lt;br /&gt;
These are the default settings of a computer (as seen in CC 1.77)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  [ &amp;quot;bios.use_multishell&amp;quot; ] = true,&lt;br /&gt;
  [ &amp;quot;shell.autocomplete&amp;quot; ] = true,&lt;br /&gt;
  [ &amp;quot;shell.allow_disk_startup&amp;quot; ] = true (for all Computer types except Command Computers),&lt;br /&gt;
  [ &amp;quot;shell.allow_startup&amp;quot; ] = true,&lt;br /&gt;
  [ &amp;quot;lua.autocomplete&amp;quot; ] = true,&lt;br /&gt;
  [ &amp;quot;list.show_hidden&amp;quot; ] = false,&lt;br /&gt;
  [ &amp;quot;edit.autocomplete&amp;quot; ] = true,&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*'''&amp;lt;var&amp;gt;shell.autocomplete&amp;lt;/var&amp;gt;''' - enables auto-completion in the [[Shell]].&lt;br /&gt;
*'''&amp;lt;var&amp;gt;lua.autocomplete&amp;lt;/var&amp;gt;''' - enables auto-completion in the [[Lua]] program.&lt;br /&gt;
*'''&amp;lt;var&amp;gt;edit.autocomplete&amp;lt;/var&amp;gt;''' - enables auto-completion in the [[Edit]] program.&lt;br /&gt;
*'''&amp;lt;var&amp;gt;bios.use_multishell&amp;lt;/var&amp;gt;''' - enables [[Multishell]] on [[Advanced Computer]]s, [[Advanced Turtle|Turtles]], [[Advanced Pocket Computer|Pocket Computers]] and [[Command Computer]]s.&lt;br /&gt;
*'''&amp;lt;var&amp;gt;shell.allow_disk_startup&amp;lt;/var&amp;gt;''' - if a [[Disk Drive]] with a [[Disk]] inside that has a 'startup' script is attached to a computer, this setting allows to automatically run that script when the computer starts.&lt;br /&gt;
*'''&amp;lt;var&amp;gt;shell.allow_startup&amp;lt;/var&amp;gt;''' - if there is a 'startup' script in a computer's root, this setting allow to automatically run that script when the computer runs.&lt;br /&gt;
*'''&amp;lt;var&amp;gt;list.show_hidden&amp;lt;/var&amp;gt;''' - determines, whether the [[List]] program will list hidden files or not.&lt;br /&gt;
&lt;br /&gt;
==ComputerCraft.cfg==&lt;br /&gt;
You can change or add default settings for all computers through [[ComputerCraft.cfg]]. The format is as follows:&lt;br /&gt;
* each setting is separated by a comma (&amp;lt;var&amp;gt;,&amp;lt;/var&amp;gt;)&lt;br /&gt;
* setting's name and value is separated by an equals sign (&amp;lt;var&amp;gt;=&amp;lt;/var&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
This example will disable auto-completion features in the default programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
S:default_computer_settings=shell.autocomplete=false,lua.autocomplete=false,edit.autocomplete=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=7354</id>
		<title>Turtle</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=7354"/>
				<updated>2015-12-26T23:32:35Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: /* Recipes */  Added some ender modem info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Block&lt;br /&gt;
|name=Turtle&lt;br /&gt;
|image=Grid turtle.png&lt;br /&gt;
|id=&lt;br /&gt;
|damage-value=&lt;br /&gt;
|is-peripheral=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Selfref|This is for the turtle block/item. For the API, visit [[Turtle (API)]].}}&lt;br /&gt;
&lt;br /&gt;
[[File:Turtles.png|thumb|Normal Turtle (left) and Advanced Turtle (right).]]&lt;br /&gt;
&lt;br /&gt;
'''Turtles''' and '''Advanced Turtles''' are essentially robots, and were added in the 1.3 update. They run an OS named [[TurtleOS]], similar to [[CraftOS]] for [[Computer]]s. They have the ability to place, break and detect blocks, move around and drop items in their inventory via their access to the [[Turtle_(API)|Turtle API]]. The programs they run are stored in their internal memory, or on [[Floppy Disk|floppy disks]].&lt;br /&gt;
&lt;br /&gt;
The 1.4 update was focused on turtles, and expanded their ability to use tools. Turtles are capable of using pickaxes, hoes, axes, shovels and swords. The update added &amp;quot;Crafty Turtles&amp;quot;, which have the ability to craft using their inventory - and part of this upgrade saw the number of inventory slots in the Turtle raised to 16 from the previous 9 slot inventory. The 1.4 update also included a new [[fuel]] system for the turtles.&lt;br /&gt;
&lt;br /&gt;
The 1.55 update added Advanced Turtles - made of gold, are able to display color, and have mouse input available through their display. Their exterior appearance is also of gold. They're just like [[Advanced Computer|Advanced Computers]], but with a smaller screen.&lt;br /&gt;
&lt;br /&gt;
Prior to 1.6, turtles had to have tools manually attached via crafting. As of that update, they are now also able to swap tools in and out of their inventory at will. That build also brought in caps to the arbitrarily large fuel values turtles could previously store - by default, they are now 20,000 units for regular turtles and 100,000 for advanced.&lt;br /&gt;
&lt;br /&gt;
Turtles are submersible and lavaproof. As such, they are extremely useful for mining near bedrock, where heavy [[lava]] flows can prevent access to diamonds and other rare finds.&lt;br /&gt;
&lt;br /&gt;
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].&lt;br /&gt;
&lt;br /&gt;
Keep in mind that when turtles are 'mined', picked up, and placed somewhere else, they will not keep their programs unless they have been given a label. To do so, you simply need to type in &amp;quot;label set ''&amp;lt;labelName&amp;gt;''&amp;quot; at the [[TurtleOS]] prompt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Floppy Disks and Peripherals==&lt;br /&gt;
Turtles do not have a built-in [[Disk Drive]]. As such, they need a [[Disk Drive]] placed beside them to access [[Floppy Disk|Floppy Disks]]. However, if the Turtle is of the Wireless family, the [[Disk Drive]] (and other peripherals) must be placed on a side other than the side the [[Wireless Modem|wireless modem]] is on. Any other peripherals, such as [[Monitor|Monitors]] and [[Printer|Printers]] can be interacted using the peripheral API.&lt;br /&gt;
&lt;br /&gt;
==Power source==&lt;br /&gt;
Turtles require [[fuel]] to operate - this means Turtles must be powered from any item that works in a regular furnace, like coal and lava. The turtle gains 0.6 &amp;quot;movement&amp;quot; per half second the fuel would have burnt in a furnace. The Turtle can move 1 block for each fuel count it has, for example, coal yields 80 block movements.&lt;br /&gt;
&lt;br /&gt;
=== Optional Non-fuel mode ===&lt;br /&gt;
In this mode, Turtles use their internal Redstone Engine, and as such, they do not need to be re-charged, or receive any other form of external power. This is because Redstone continuously emits low levels of energy, and the Turtle's engine is very efficient. This mode can be turned on by editing [[ComputerCraft.cfg]] and setting &amp;lt;var&amp;gt;turtleNeedsFuel&amp;lt;/var&amp;gt; to &amp;lt;var&amp;gt;false&amp;lt;/var&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Dyeing==&lt;br /&gt;
As of ComputerCraft 1.63 Turtles can be dyed using Dyes. It supports all 16 different colors, so you can have a green Farming Turtle harvesting some melons and a gray Mining Turtle gathering materials and mining ores.&lt;br /&gt;
&lt;br /&gt;
==Farming==&lt;br /&gt;
Turtles equipped with a [[diamond hoe]] can till dirt so it can later be used for Farming. An example of a use for this would be using it to till, plant, and harvest your wheat farm and dropping any product in a chest for you.&lt;br /&gt;
&lt;br /&gt;
==Mining==&lt;br /&gt;
Turtles crafted with a [[diamond pickaxe]], [[diamond axe]], or [[diamond shovel]], can break blocks, chop wood, mine stone and ores, and even break dirt and gravel (depending on the tool you used on it). The tools equipped on the Turtle have no durability, and so can be used indefinitely without the need for any additional materials. When a Turtle breaks the block, the Turtle receives the item directly into it's inventory. Different tools yield different drops - for example, an axe can break anything, but it won't drop ores.&lt;br /&gt;
&lt;br /&gt;
==Crafting==&lt;br /&gt;
Turtles with a [http://www.minecraftwiki.net/wiki/Crafting_Table Crafting Table] can craft items if they have the correct materials to do so, and all other slots outside the crafting-zone are empty.&lt;br /&gt;
&lt;br /&gt;
==Melee==&lt;br /&gt;
Turtles equipped with a [[diamond sword]] can attack players and mobs. When a Turtle kills a mob it will leave the experience orbs on the ground, but add the loot to its inventory. Turtles can also attack with any tool, where the [[diamond axe]] is the second best after the [[diamond sword]].&lt;br /&gt;
&lt;br /&gt;
==Inventory Interaction==&lt;br /&gt;
Turtles can interact with blocks that have inventories. This includes chests, furnaces, [[Printer]]s and even blocks with inventories in other mods. (This means a turtle cannot interact with a player's inventory, unless you use a third party peripheral). Turtles can interact with such inventories by using [[Turtle.suck|turtle.suck, turtle.suckDown, turtle.suckUp]] (To retrieve the first item in the inventory. The turtle finds the first item by scanning the first row from left to right, then the second row from left to right, etc). Turtles can also place items inside inventories, by using [[Turtle.drop|turtle.drop, turtle.dropUp, turtle.dropDown]], which places items on the first item slot available (Using the same system as the one described for retrieving items).&lt;br /&gt;
&lt;br /&gt;
In special inventories, with just a few slots on the top or bottom - for example furnaces - you can specify which slot to place an item in by positioning the turtle in the corresponding location to the front face of the inventory. For example in a furnace, you would use a turtle at the bottom of the furnace for it to place fuel in the furnace, a turtle at the top to place objects to smelt, and a turtle to the right to retrieve the smelted objects (Note that you can do this with just 1 turtle moving around).&lt;br /&gt;
&lt;br /&gt;
==Peripheral functions==&lt;br /&gt;
&lt;br /&gt;
Just like a [[Computer]], a Turtle can be [[peripheral.wrap|used]] as a peripheral. You can find all Turtle peripheral functions [[Computer_(API)|here]].&lt;br /&gt;
&lt;br /&gt;
==Recipes==&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+'''Crafting ingredients'''&lt;br /&gt;
|-&lt;br /&gt;
|Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=Computer   |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest      |C3=iron_ingot&lt;br /&gt;
 |Output=turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|Advanced Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=Advanced_Computer   |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=chest      |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Note:''' NEI has been known to present the recipe for an advanced turtle as requiring a normal computer, somehow ignoring the actual recipe.&lt;br /&gt;
&lt;br /&gt;
Turtles can be equipped with different peripherals and tools. A turtle can be crafted with any combination of tools and peripherals. Turtles may later use [[Turtle.equipLeft|turtle.equipLeft()]] / [[Turtle.equipRight|turtle.equipRight()]] to add, remove or exchange tools in any combination.&lt;br /&gt;
&amp;lt;br&amp;gt;The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]&lt;br /&gt;
&amp;lt;br&amp;gt;The following peripherals can be equipped to a turtles: [[Wireless Modem|wireless modems]], [[Ender_Modem|ender modems]] and [[Crafting Table|crafting tables]].&lt;br /&gt;
&amp;lt;br&amp;gt;Diamond tools must be unused (i.e. not have a durability bar showing) an unenchanted to combine with a turtle.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;'''Turtle recipe and examples for equipping a turtle with tools and peripherals (Note that any variants of the turtle can also be crafted with the Advanced Turtle):'''&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! !! None !! Crafty !! Wireless&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| None&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle&lt;br /&gt;
 |Output=turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=workbench&lt;br /&gt;
 |Output=Crafty_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=Modem&lt;br /&gt;
 |Output=wireless_turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Mining&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=Crafty_Mining_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=wireless_mining_turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Farming&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Farming_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Crafty_Farming_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Wireless_Farming_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Melee&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Melee_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Crafty_Melee_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Wireless_Melee_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Felling&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Felling_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Crafty_Felling_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Wireless_Felling_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Digging&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Digging_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Crafty_Digging_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Wireless_Digging_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Crafty&lt;br /&gt;
|See Above&lt;br /&gt;
|N/A&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=workbench&lt;br /&gt;
 |Output=Wireless_Crafty_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{BlocksItemsList}}&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=7353</id>
		<title>Turtle</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=7353"/>
				<updated>2015-12-26T23:31:22Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: /* Recipes */ Corrected falsehoods about recipe limiations&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Block&lt;br /&gt;
|name=Turtle&lt;br /&gt;
|image=Grid turtle.png&lt;br /&gt;
|id=&lt;br /&gt;
|damage-value=&lt;br /&gt;
|is-peripheral=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Selfref|This is for the turtle block/item. For the API, visit [[Turtle (API)]].}}&lt;br /&gt;
&lt;br /&gt;
[[File:Turtles.png|thumb|Normal Turtle (left) and Advanced Turtle (right).]]&lt;br /&gt;
&lt;br /&gt;
'''Turtles''' and '''Advanced Turtles''' are essentially robots, and were added in the 1.3 update. They run an OS named [[TurtleOS]], similar to [[CraftOS]] for [[Computer]]s. They have the ability to place, break and detect blocks, move around and drop items in their inventory via their access to the [[Turtle_(API)|Turtle API]]. The programs they run are stored in their internal memory, or on [[Floppy Disk|floppy disks]].&lt;br /&gt;
&lt;br /&gt;
The 1.4 update was focused on turtles, and expanded their ability to use tools. Turtles are capable of using pickaxes, hoes, axes, shovels and swords. The update added &amp;quot;Crafty Turtles&amp;quot;, which have the ability to craft using their inventory - and part of this upgrade saw the number of inventory slots in the Turtle raised to 16 from the previous 9 slot inventory. The 1.4 update also included a new [[fuel]] system for the turtles.&lt;br /&gt;
&lt;br /&gt;
The 1.55 update added Advanced Turtles - made of gold, are able to display color, and have mouse input available through their display. Their exterior appearance is also of gold. They're just like [[Advanced Computer|Advanced Computers]], but with a smaller screen.&lt;br /&gt;
&lt;br /&gt;
Prior to 1.6, turtles had to have tools manually attached via crafting. As of that update, they are now also able to swap tools in and out of their inventory at will. That build also brought in caps to the arbitrarily large fuel values turtles could previously store - by default, they are now 20,000 units for regular turtles and 100,000 for advanced.&lt;br /&gt;
&lt;br /&gt;
Turtles are submersible and lavaproof. As such, they are extremely useful for mining near bedrock, where heavy [[lava]] flows can prevent access to diamonds and other rare finds.&lt;br /&gt;
&lt;br /&gt;
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].&lt;br /&gt;
&lt;br /&gt;
Keep in mind that when turtles are 'mined', picked up, and placed somewhere else, they will not keep their programs unless they have been given a label. To do so, you simply need to type in &amp;quot;label set ''&amp;lt;labelName&amp;gt;''&amp;quot; at the [[TurtleOS]] prompt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Floppy Disks and Peripherals==&lt;br /&gt;
Turtles do not have a built-in [[Disk Drive]]. As such, they need a [[Disk Drive]] placed beside them to access [[Floppy Disk|Floppy Disks]]. However, if the Turtle is of the Wireless family, the [[Disk Drive]] (and other peripherals) must be placed on a side other than the side the [[Wireless Modem|wireless modem]] is on. Any other peripherals, such as [[Monitor|Monitors]] and [[Printer|Printers]] can be interacted using the peripheral API.&lt;br /&gt;
&lt;br /&gt;
==Power source==&lt;br /&gt;
Turtles require [[fuel]] to operate - this means Turtles must be powered from any item that works in a regular furnace, like coal and lava. The turtle gains 0.6 &amp;quot;movement&amp;quot; per half second the fuel would have burnt in a furnace. The Turtle can move 1 block for each fuel count it has, for example, coal yields 80 block movements.&lt;br /&gt;
&lt;br /&gt;
=== Optional Non-fuel mode ===&lt;br /&gt;
In this mode, Turtles use their internal Redstone Engine, and as such, they do not need to be re-charged, or receive any other form of external power. This is because Redstone continuously emits low levels of energy, and the Turtle's engine is very efficient. This mode can be turned on by editing [[ComputerCraft.cfg]] and setting &amp;lt;var&amp;gt;turtleNeedsFuel&amp;lt;/var&amp;gt; to &amp;lt;var&amp;gt;false&amp;lt;/var&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Dyeing==&lt;br /&gt;
As of ComputerCraft 1.63 Turtles can be dyed using Dyes. It supports all 16 different colors, so you can have a green Farming Turtle harvesting some melons and a gray Mining Turtle gathering materials and mining ores.&lt;br /&gt;
&lt;br /&gt;
==Farming==&lt;br /&gt;
Turtles equipped with a [[diamond hoe]] can till dirt so it can later be used for Farming. An example of a use for this would be using it to till, plant, and harvest your wheat farm and dropping any product in a chest for you.&lt;br /&gt;
&lt;br /&gt;
==Mining==&lt;br /&gt;
Turtles crafted with a [[diamond pickaxe]], [[diamond axe]], or [[diamond shovel]], can break blocks, chop wood, mine stone and ores, and even break dirt and gravel (depending on the tool you used on it). The tools equipped on the Turtle have no durability, and so can be used indefinitely without the need for any additional materials. When a Turtle breaks the block, the Turtle receives the item directly into it's inventory. Different tools yield different drops - for example, an axe can break anything, but it won't drop ores.&lt;br /&gt;
&lt;br /&gt;
==Crafting==&lt;br /&gt;
Turtles with a [http://www.minecraftwiki.net/wiki/Crafting_Table Crafting Table] can craft items if they have the correct materials to do so, and all other slots outside the crafting-zone are empty.&lt;br /&gt;
&lt;br /&gt;
==Melee==&lt;br /&gt;
Turtles equipped with a [[diamond sword]] can attack players and mobs. When a Turtle kills a mob it will leave the experience orbs on the ground, but add the loot to its inventory. Turtles can also attack with any tool, where the [[diamond axe]] is the second best after the [[diamond sword]].&lt;br /&gt;
&lt;br /&gt;
==Inventory Interaction==&lt;br /&gt;
Turtles can interact with blocks that have inventories. This includes chests, furnaces, [[Printer]]s and even blocks with inventories in other mods. (This means a turtle cannot interact with a player's inventory, unless you use a third party peripheral). Turtles can interact with such inventories by using [[Turtle.suck|turtle.suck, turtle.suckDown, turtle.suckUp]] (To retrieve the first item in the inventory. The turtle finds the first item by scanning the first row from left to right, then the second row from left to right, etc). Turtles can also place items inside inventories, by using [[Turtle.drop|turtle.drop, turtle.dropUp, turtle.dropDown]], which places items on the first item slot available (Using the same system as the one described for retrieving items).&lt;br /&gt;
&lt;br /&gt;
In special inventories, with just a few slots on the top or bottom - for example furnaces - you can specify which slot to place an item in by positioning the turtle in the corresponding location to the front face of the inventory. For example in a furnace, you would use a turtle at the bottom of the furnace for it to place fuel in the furnace, a turtle at the top to place objects to smelt, and a turtle to the right to retrieve the smelted objects (Note that you can do this with just 1 turtle moving around).&lt;br /&gt;
&lt;br /&gt;
==Peripheral functions==&lt;br /&gt;
&lt;br /&gt;
Just like a [[Computer]], a Turtle can be [[peripheral.wrap|used]] as a peripheral. You can find all Turtle peripheral functions [[Computer_(API)|here]].&lt;br /&gt;
&lt;br /&gt;
==Recipes==&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+'''Crafting ingredients'''&lt;br /&gt;
|-&lt;br /&gt;
|Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=Computer   |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest      |C3=iron_ingot&lt;br /&gt;
 |Output=turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|Advanced Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=Advanced_Computer   |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=chest      |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Note:''' NEI has been known to present the recipe for an advanced turtle as requiring a normal computer, somehow ignoring the actual recipe.&lt;br /&gt;
&lt;br /&gt;
Turtles can be equipped with different peripherals and tools. A turtle can be crafted with any combination of tools and peripherals. Turtles may later use [[Turtle.equipLeft|turtle.equipLeft()]] / [[Turtle.equipRight|turtle.equipRight()]] to add, remove or exchange tools in any combination.&lt;br /&gt;
&amp;lt;br&amp;gt;The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]&lt;br /&gt;
&amp;lt;br&amp;gt;The following peripherals can be equipped to a turtles: [[Wireless Modem|wireless modem]] and [[Crafting Table|crafting tables]].&lt;br /&gt;
&amp;lt;br&amp;gt;Diamond tools must be unused (i.e. not have a durability bar showing) an unenchanted to combine with a turtle.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;'''Turtle recipe and examples for equipping a turtle with tools and peripherals (Note that any variants of the turtle can also be crafted with the Advanced Turtle):'''&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! !! None !! Crafty !! Wireless&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| None&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle&lt;br /&gt;
 |Output=turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=workbench&lt;br /&gt;
 |Output=Crafty_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=Modem&lt;br /&gt;
 |Output=wireless_turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Mining&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=Crafty_Mining_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=wireless_mining_turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Farming&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Farming_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Crafty_Farming_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Wireless_Farming_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Melee&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Melee_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Crafty_Melee_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Wireless_Melee_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Felling&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Felling_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Crafty_Felling_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Wireless_Felling_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Digging&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Digging_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Crafty_Digging_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Wireless_Digging_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Crafty&lt;br /&gt;
|See Above&lt;br /&gt;
|N/A&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=Modem |B2=turtle |C2=workbench&lt;br /&gt;
 |Output=Wireless_Crafty_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{BlocksItemsList}}&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Commands.getBlockInfo&amp;diff=7352</id>
		<title>Commands.getBlockInfo</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Commands.getBlockInfo&amp;diff=7352"/>
				<updated>2015-12-26T23:28:07Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=commands.getBlockInfo&lt;br /&gt;
|args={{type|number}} x, {{type|number}} y, {{type|number}} z&lt;br /&gt;
|returns={{type|table}} block info&lt;br /&gt;
|api=commands&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Available only to [[Command Computer]]s, returns a table containing information on the block at the specified world co-ordinate, formatted as follows:&lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
   state = {{type|table}} state information&lt;br /&gt;
   name = {{type|string}} block's name,&lt;br /&gt;
   metadata = {{type|number}} block's metadata&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The block inspected will be in the same dimension as the computer. This function yields until the data is available to be returned. If the queried block exists in an ungenerated chunk, this function will cause that chunk to be generated.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;state&amp;quot; sub-table is only present in Minecraft 1.8+, and contains the [http://minecraft.gamepedia.com/Block_states block state] info for the block being observed. For example, a log of wood's state table contains the keys &amp;quot;variant&amp;quot; (which may be set to eg &amp;quot;oak&amp;quot;), and &amp;quot;axis&amp;quot; (which may be set to eg &amp;quot;y&amp;quot;, indicating an upright orientation).&lt;br /&gt;
&lt;br /&gt;
See also: [[commands.getBlockInfos]](), [http://minecraft.gamepedia.com/Data_values Data Values @ Minecraft wiki]&lt;br /&gt;
&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the [[Command Computer]]'s internal name and metadata value.&lt;br /&gt;
|code=local blockInfo = '''commands.getBlockInfo( [[commands.getBlockPosition]]() )'''&lt;br /&gt;
 &lt;br /&gt;
 [[print]]( &amp;quot;Computer block's name: &amp;quot;, blockInfo.name )&lt;br /&gt;
 [[print]]( &amp;quot;Computer block's metadata: &amp;quot;, blockInfo.metadata )&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the facing of the [[Command Computer]] running the script by inspecting its own metadata.&lt;br /&gt;
|code=local blockInfo = '''commands.getBlockInfo( [[commands.getBlockPosition]]() )'''&lt;br /&gt;
 &lt;br /&gt;
 [[print]]( &amp;quot;My facing is &amp;quot; .. blockInfo.state.facing )&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{CommandsAPIFunctions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Commands.getBlockInfo&amp;diff=7351</id>
		<title>Commands.getBlockInfo</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Commands.getBlockInfo&amp;diff=7351"/>
				<updated>2015-12-26T23:27:54Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=commands.getBlockInfo&lt;br /&gt;
|args={{type|number}} x, {{type|number}} y, {{type|number}} z&lt;br /&gt;
|returns={{type|table}} block info&lt;br /&gt;
|api=commands&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Available only to [[Command Computer]]s, returns a table containing information on the block at the specified world co-ordinate, formatted as follows:&lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
   state = {{type|table}} state information&lt;br /&gt;
   name = {{type|string}} block's name,&lt;br /&gt;
   metadata = {{type|number}} block's metadata&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The block inspected will be in the same dimension as the computer. This function yields until the data is available to be returned. If the queried block exists in an ungenerated chunk, this function will cause that chunk to be generated.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;state&amp;quot; sub-table is only present in Minecraft 1.8+, and contains the [http://minecraft.gamepedia.com/Block_states block state] info for the block being observed. For example, a log of wood's state table contains the keys &amp;quot;variant&amp;quot; (which may be set to eg &amp;quot;oak&amp;quot;), and &amp;quot;axis&amp;quot; (which may be set to eg &amp;quot;y&amp;quot;, indicating an upright orientation).&lt;br /&gt;
&lt;br /&gt;
See also: [[commands.getBlockInfos]](), [http://minecraft.gamepedia.com/Data_values Data Values @ Minecraft wiki]&lt;br /&gt;
&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the [[Command Computer]]'s internal name and metadata value.&lt;br /&gt;
|code=local blockInfo = '''commands.getBlockInfo( [[commands.getBlockPosition]]() )'''&lt;br /&gt;
 &lt;br /&gt;
 [[print]]( &amp;quot;Computer block's name: &amp;quot;, blockInfo.name )&lt;br /&gt;
 [[print]]( &amp;quot;Computer block's metadata: &amp;quot;, blockInfo.metadata )&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the facing of the [[Command Computer]] running the script by inspecting its own metadata.&lt;br /&gt;
|code=local blockInfo = '''commands.getBlockInfo( [[commands.getBlockPosition]]() )'''&lt;br /&gt;
 &lt;br /&gt;
 [[print]]( &amp;quot;My facing is &amp;quot; .. blockInfo.metadata.facing )&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{CommandsAPIFunctions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Commands.getBlockInfo&amp;diff=7350</id>
		<title>Commands.getBlockInfo</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Commands.getBlockInfo&amp;diff=7350"/>
				<updated>2015-12-26T23:27:35Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=commands.getBlockInfo&lt;br /&gt;
|args={{type|number}} x, {{type|number}} y, {{type|number}} z&lt;br /&gt;
|returns={{type|table}} block info&lt;br /&gt;
|api=commands&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Available only to [[Command Computer]]s, returns a table containing information on the block at the specified world co-ordinate, formatted as follows:&lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
   state = {{type|table}} state information&lt;br /&gt;
   name = {{type|string}} block's name,&lt;br /&gt;
   metadata = {{type|number}} block's metadata&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The block inspected will be in the same dimension as the computer. This function yields until the data is available to be returned. If the queried block exists in an ungenerated chunk, this function will cause that chunk to be generated.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;state&amp;quot; sub-table is only present in Minecraft 1.8+, and contains the [http://minecraft.gamepedia.com/Block_states block state] info for the block being observed. For example, a log of wood's state table contains the keys &amp;quot;variant&amp;quot; (which may be set to eg &amp;quot;oak&amp;quot;), and &amp;quot;axis&amp;quot; (which may be set to eg &amp;quot;y&amp;quot;, indicating an upright orientation).&lt;br /&gt;
&lt;br /&gt;
See also: [[commands.getBlockInfos]](), [http://minecraft.gamepedia.com/Data_values Data Values @ Minecraft wiki]&lt;br /&gt;
&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the [[Command Computer]]'s internal name and metadata value.&lt;br /&gt;
|code=local blockInfo = '''commands.getBlockInfo( [[commands.getBlockPosition]]() )'''&lt;br /&gt;
 &lt;br /&gt;
 [[print]]( &amp;quot;Computer block's name: &amp;quot;, blockInfo.name )&lt;br /&gt;
 [[print]]( &amp;quot;Computer block's metadata: &amp;quot;, blockInfo.metadata )&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the facing of the [[Command Computer]] running the script by inspecting its own metadata.&lt;br /&gt;
|local blockInfo = '''commands.getBlockInfo( [[commands.getBlockPosition]]() )'''&lt;br /&gt;
 &lt;br /&gt;
 [[print]]( &amp;quot;My facing is &amp;quot;, blockInfo.metadata.facing )&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{CommandsAPIFunctions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Commands.getBlockInfo&amp;diff=7349</id>
		<title>Commands.getBlockInfo</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Commands.getBlockInfo&amp;diff=7349"/>
				<updated>2015-12-26T23:27:00Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: Clarified state&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=commands.getBlockInfo&lt;br /&gt;
|args={{type|number}} x, {{type|number}} y, {{type|number}} z&lt;br /&gt;
|returns={{type|table}} block info&lt;br /&gt;
|api=commands&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Available only to [[Command Computer]]s, returns a table containing information on the block at the specified world co-ordinate, formatted as follows:&lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
   state = {{type|table}} state information&lt;br /&gt;
   name = {{type|string}} block's name,&lt;br /&gt;
   metadata = {{type|number}} block's metadata&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The block inspected will be in the same dimension as the computer. This function yields until the data is available to be returned. If the queried block exists in an ungenerated chunk, this function will cause that chunk to be generated.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;state&amp;quot; sub-table is only present in Minecraft 1.8+, and contains the [http://minecraft.gamepedia.com/Block_states block state] info for the block being observed. For example, a log of wood's state table contains the keys &amp;quot;variant&amp;quot; (which may be set to eg &amp;quot;oak&amp;quot;), and &amp;quot;axis&amp;quot; (which may be set to eg &amp;quot;y&amp;quot;, indicating an upright orientation).&lt;br /&gt;
&lt;br /&gt;
See also: [[commands.getBlockInfos]](), [http://minecraft.gamepedia.com/Data_values Data Values @ Minecraft wiki]&lt;br /&gt;
&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the [[Command Computer]]'s internal name and metadata value.&lt;br /&gt;
|code=local blockInfo = '''commands.getBlockInfo( [[commands.getBlockPosition]]() )'''&lt;br /&gt;
 &lt;br /&gt;
 [[print]]( &amp;quot;Computer block's name: &amp;quot;, blockInfo.name )&lt;br /&gt;
 [[print]]( &amp;quot;Computer block's metadata: &amp;quot;, blockInfo.metadata )&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the facing of the [[Command Computer]] running the script by inspecting its own metadata.&lt;br /&gt;
|local blockInfo = '''commands.getBlockInfo( [[commands.getBlockPosition]]() )'''&lt;br /&gt;
 &lt;br /&gt;
 [[print]]( &amp;quot;My facing is &amp;quot; .. blockInfo.metadata.facing .. &amp;quot;.&amp;quot; )&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{CommandsAPIFunctions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Commands.getBlockInfos&amp;diff=7348</id>
		<title>Commands.getBlockInfos</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Commands.getBlockInfos&amp;diff=7348"/>
				<updated>2015-12-26T23:25:28Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: Clarified state&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=commands.getBlockInfos&lt;br /&gt;
|args={{type|number}} x1, {{type|number}} y1, {{type|number}} z1, {{type|number}} x2, {{type|number}} y2, {{type|number}} z2&lt;br /&gt;
|returns={{type|table}} blocks info&lt;br /&gt;
|api=commands&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Available only to [[Command Computer]]s as of ComputerCraft version 1.76, returns a numerically-indexed table containing information on the blocks within the specified world co-ordinates. Each sub-table is formatted per the output of [[commands.getBlockInfo]]():&lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
   state = {{type|table}} state information&lt;br /&gt;
   name = {{type|string}} block's name,&lt;br /&gt;
   metadata = {{type|number}} block's metadata&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
A maximum of 4096 (2^12) blocks may be inspected at a time (for example, a 16x16x16 cube); the function will error if the block count exceeds this.&lt;br /&gt;
&lt;br /&gt;
The blocks are returned in the order of lowest x-co-ord to highest x-co-ord, then lowest z-co-ord to highest z-co-ord, then lowest y-co-ord to highest y-co-ord; that is to say, west to east, then north to south, then lowest altitude to highest altitude.&lt;br /&gt;
&lt;br /&gt;
See also: [[commands.getBlockInfo]](), [http://minecraft.gamepedia.com/Block_states Block States @ Minecraft wiki]&lt;br /&gt;
&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Reports on a 2x2x2 area, with the Command Computer being at the lowest north-west point.&lt;br /&gt;
|code=local x, y, z = commands.getBlockPosition()&lt;br /&gt;
 &lt;br /&gt;
 local blocks = commands.getBlockInfos(x, y, z, x + 1, y + 1, z + 1)&lt;br /&gt;
 &lt;br /&gt;
 print(&amp;quot;North-west low block:&amp;quot;..blocks[1].name)&lt;br /&gt;
 print(&amp;quot;North-east low block:&amp;quot;..blocks[2].name)&lt;br /&gt;
 print(&amp;quot;South-west low block:&amp;quot;..blocks[3].name)&lt;br /&gt;
 print(&amp;quot;South-east low block:&amp;quot;..blocks[4].name)&lt;br /&gt;
 print(&amp;quot;North-west high block:&amp;quot;..blocks[5].name)&lt;br /&gt;
 print(&amp;quot;North-east high block:&amp;quot;..blocks[6].name)&lt;br /&gt;
 print(&amp;quot;South-west high block:&amp;quot;..blocks[7].name)&lt;br /&gt;
 print(&amp;quot;South-east high block:&amp;quot;..blocks[8].name)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{CommandsAPIFunctions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.inspect&amp;diff=7347</id>
		<title>Turtle.inspect</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.inspect&amp;diff=7347"/>
				<updated>2015-12-26T23:24:20Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.inspect&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the ID string and metadata of the block in front of the Turtle in a table format: &amp;lt;var&amp;gt;{ name = &amp;quot;modname:blockname&amp;quot;, metadata = 0, state = {} }&amp;lt;/var&amp;gt;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;state&amp;quot; sub-table is only present in Minecraft 1.8+, and contains [http://minecraft.gamepedia.com/Block_states block state] info for  the block being inspected. For example, a log of wood's state table contains the keys &amp;quot;variant&amp;quot; (which may be set to eg &amp;quot;oak&amp;quot;), and &amp;quot;axis&amp;quot; (which may be set to eg &amp;quot;y&amp;quot;, indicating an upright orientation). &lt;br /&gt;
|examples={{Example&lt;br /&gt;
|desc=If there is a block in front of the turtle, prints it's name and metadata.&lt;br /&gt;
|code= local success, data = '''turtle.inspect()'''&lt;br /&gt;
 &lt;br /&gt;
 if success then&lt;br /&gt;
   [[print]](&amp;quot;Block name: &amp;quot;, data.name)&lt;br /&gt;
   [[print]](&amp;quot;Block metadata: &amp;quot;, data.metadata)&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
|notes=&lt;br /&gt;
* Returns false when there is nothing (air) in front of the Turtle.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.inspectDown]]&lt;br /&gt;
*[[turtle.inspectUp]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.inspect&amp;diff=7346</id>
		<title>Turtle.inspect</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.inspect&amp;diff=7346"/>
				<updated>2015-12-26T23:24:06Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.inspect&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the ID string and metadata of the block in front of the Turtle in a table format: &amp;lt;var&amp;gt;{ name = &amp;quot;modname:blockname&amp;quot;, metadata = 0, state = {} }&amp;lt;/var&amp;gt;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;state&amp;quot; sub-table is only present in Minecraft 1.8+, and contains [http://minecraft.gamepedia.com/Block_states blockstate] info for  the block being inspected. For example, a log of wood's state table contains the keys &amp;quot;variant&amp;quot; (which may be set to eg &amp;quot;oak&amp;quot;), and &amp;quot;axis&amp;quot; (which may be set to eg &amp;quot;y&amp;quot;, indicating an upright orientation). &lt;br /&gt;
|examples={{Example&lt;br /&gt;
|desc=If there is a block in front of the turtle, prints it's name and metadata.&lt;br /&gt;
|code= local success, data = '''turtle.inspect()'''&lt;br /&gt;
 &lt;br /&gt;
 if success then&lt;br /&gt;
   [[print]](&amp;quot;Block name: &amp;quot;, data.name)&lt;br /&gt;
   [[print]](&amp;quot;Block metadata: &amp;quot;, data.metadata)&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
|notes=&lt;br /&gt;
* Returns false when there is nothing (air) in front of the Turtle.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.inspectDown]]&lt;br /&gt;
*[[turtle.inspectUp]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.inspect&amp;diff=7345</id>
		<title>Turtle.inspect</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.inspect&amp;diff=7345"/>
				<updated>2015-12-26T23:23:56Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.inspect&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the ID string and metadata of the block in front of the Turtle in a table format: &amp;lt;var&amp;gt;{ name = &amp;quot;modname:blockname&amp;quot;, metadata = 0, state = {} }&amp;lt;/var&amp;gt;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;state&amp;quot; sub-table is only present in Minecraft 1.8+, and contains [http://minecraft.gamepedia.com/Block_states blockstate]]info for  the block being inspected. For example, a log of wood's state table contains the keys &amp;quot;variant&amp;quot; (which may be set to eg &amp;quot;oak&amp;quot;), and &amp;quot;axis&amp;quot; (which may be set to eg &amp;quot;y&amp;quot;, indicating an upright orientation). &lt;br /&gt;
|examples={{Example&lt;br /&gt;
|desc=If there is a block in front of the turtle, prints it's name and metadata.&lt;br /&gt;
|code= local success, data = '''turtle.inspect()'''&lt;br /&gt;
 &lt;br /&gt;
 if success then&lt;br /&gt;
   [[print]](&amp;quot;Block name: &amp;quot;, data.name)&lt;br /&gt;
   [[print]](&amp;quot;Block metadata: &amp;quot;, data.metadata)&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
|notes=&lt;br /&gt;
* Returns false when there is nothing (air) in front of the Turtle.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.inspectDown]]&lt;br /&gt;
*[[turtle.inspectUp]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.inspect&amp;diff=7344</id>
		<title>Turtle.inspect</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.inspect&amp;diff=7344"/>
				<updated>2015-12-26T23:23:35Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: Clarified state&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.inspect&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns={{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the ID string and metadata of the block in front of the Turtle in a table format: &amp;lt;var&amp;gt;{ name = &amp;quot;modname:blockname&amp;quot;, metadata = 0, state = {} }&amp;lt;/var&amp;gt;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;state&amp;quot; sub-table is only present in Minecraft 1.8+, and contains [[http://minecraft.gamepedia.com/Block_states blockstate]] info for  the block being inspected. For example, a log of wood's state table contains the keys &amp;quot;variant&amp;quot; (which may be set to eg &amp;quot;oak&amp;quot;), and &amp;quot;axis&amp;quot; (which may be set to eg &amp;quot;y&amp;quot;, indicating an upright orientation). &lt;br /&gt;
|examples={{Example&lt;br /&gt;
|desc=If there is a block in front of the turtle, prints it's name and metadata.&lt;br /&gt;
|code= local success, data = '''turtle.inspect()'''&lt;br /&gt;
 &lt;br /&gt;
 if success then&lt;br /&gt;
   [[print]](&amp;quot;Block name: &amp;quot;, data.name)&lt;br /&gt;
   [[print]](&amp;quot;Block metadata: &amp;quot;, data.metadata)&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
|notes=&lt;br /&gt;
* Returns false when there is nothing (air) in front of the Turtle.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[turtle.inspectDown]]&lt;br /&gt;
*[[turtle.inspectUp]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Command_Computer&amp;diff=6918</id>
		<title>Command Computer</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Command_Computer&amp;diff=6918"/>
				<updated>2015-02-18T14:30:02Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Block&lt;br /&gt;
|name=Command Computer&lt;br /&gt;
|image=Iso_Command_Computer.png&lt;br /&gt;
|id=ComputerCraft:command_computer&lt;br /&gt;
|damage-value=0&lt;br /&gt;
|is-peripheral=[[#Peripheral_Functions|Yes]]&lt;br /&gt;
}}&lt;br /&gt;
Introduced by ComputerCraft 1.7 (and therefore requiring MineCraft 1.7.10 or later), the Command Computer is a more powerful version of the [[Advanced Computer]], having direct access to [http://minecraft.gamepedia.com/Commands MineCraft commands]. They are therefore uncraftable, only available to op-status players via the creative inventory, and can only be directly interacted with by the same such players. For example, unlike other computers, they will not boot from an external [[Disk Drive]].&lt;br /&gt;
&lt;br /&gt;
==Exclusive APIs==&lt;br /&gt;
*[[Commands (API)]]&lt;br /&gt;
&lt;br /&gt;
==Exclusive Programs==&lt;br /&gt;
*[[commands]]&lt;br /&gt;
*[[exec]]&lt;br /&gt;
&lt;br /&gt;
== Peripheral Functions ==&lt;br /&gt;
Supports all the methods available to a [[Computer]] or [[Turtle]].&lt;br /&gt;
*[[Computer (API)]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{BlocksItemsList}}&lt;br /&gt;
[[Category:Blocks]][[Category:Consoles]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Commands_(API)&amp;diff=6917</id>
		<title>Commands (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Commands_(API)&amp;diff=6917"/>
				<updated>2015-02-18T03:03:46Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: I'd prefer the &amp;quot;native&amp;quot; table remain undocumented&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Only available to the fabled [[Command Computer]] (itself only available to ops in creative mode, running CC 1.7 or later), the '''commands API''' allows your system to directly execute [http://minecraft.gamepedia.com/Commands MineCraft commands] and gather data from the results.&lt;br /&gt;
&lt;br /&gt;
==API==&lt;br /&gt;
{{API table|commands|image=Grid_disk.png|2=&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[commands.exec]]({{type|string}} command)&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|Executes the specified command, yields until the result is determined, then returns it.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[commands.execAsync]]({{type|string}} command)&lt;br /&gt;
|{{type|number}} taskID&lt;br /&gt;
|Executes the specified command, but doesn't yield. Queues a [[task_complete_(event)|&amp;quot;task_complete&amp;quot;]] event after the command is executed.&lt;br /&gt;
|}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[commands.list]]()&lt;br /&gt;
|{{type|table}} commands&lt;br /&gt;
|Returns a numerically indexed table filled with strings representing acceptable commands for [[commands.exec]]() / [[commands.execAsync]]().&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[commands.getBlockPosition]]()&lt;br /&gt;
|{{type|number}} x, {{type|number}} y, {{type|number}} z&lt;br /&gt;
|Returns the MineCraft world co-ordinates of the computer running the command.&lt;br /&gt;
|}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[commands.getBlockInfo]]({{type|number}} x, {{type|number}} y, {{type|number}} z)&lt;br /&gt;
|{{type|table}} block info&lt;br /&gt;
|Returns a table containing info about the block at the specified world location. Keys are &amp;quot;name&amp;quot; (a string) and &amp;quot;metadata&amp;quot; (a number).&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==commands.&amp;lt;command&amp;gt;()/commands.async.&amp;lt;command&amp;gt;()==&lt;br /&gt;
Every command returned by [[commands.list]]() is available as commands.''command'' and commands.async.''command''. For example, instead of writing this:&lt;br /&gt;
&lt;br /&gt;
 [[commands.exec]](&amp;quot;say Hi&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
...you can write:&lt;br /&gt;
&lt;br /&gt;
 commands.say(&amp;quot;Hi&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Same with async:&lt;br /&gt;
&lt;br /&gt;
 [[commands.execAsync]](&amp;quot;say Hi&amp;quot;)&lt;br /&gt;
 ''-- same as:''&lt;br /&gt;
 commands.async.say(&amp;quot;Hi&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
On top of that you can pass to them multiple parameters including strings, numbers, booleans and tables. All those parameters are [[textutils.serializeJSON|serialized]] if necessary (such as tables) and concatenated into one string. All these functions will run the same command with the same parameters:&lt;br /&gt;
&lt;br /&gt;
 [[commands.exec]](&amp;quot;tellraw @p {text:'Hello!',bold:true}&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 commands.tellraw(&amp;quot;@p {text:'Hello!',bold:true}&amp;quot;) ''-- one or more parameters may be put into one string''&lt;br /&gt;
 &lt;br /&gt;
 commands.tellraw(&amp;quot;@p&amp;quot;, &amp;quot;{text:'Hello!',bold:true}&amp;quot;) ''-- or you can separate them to different parameters''&lt;br /&gt;
 &lt;br /&gt;
 commands.tellraw(&amp;quot;@p&amp;quot;, {text=&amp;quot;Hello!&amp;quot;, bold=true}) ''-- you can also pass a {{type|table}} directly to it''&lt;br /&gt;
&lt;br /&gt;
The same applies for commands.async.&amp;lt;command&amp;gt;().&lt;br /&gt;
&lt;br /&gt;
All the commands inside commands.&amp;lt;command&amp;gt;()/commands.async.&amp;lt;command&amp;gt;() are also case insensitive. Running commands.TellRAW( ... ) is the same as running commands.tellraw( ... ).&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
*ComputerCraft enforces a limit of 1000 commands per server tick on Command Computers. Consider [[os.pullEvent|yielding]] manually every so often (eg, sleeping for a second) when making large amounts of [[commands.execAsync]] calls.&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=6767</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=6767"/>
				<updated>2014-09-28T16:50:47Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your [[Turtle|Turtles]].&lt;br /&gt;
&lt;br /&gt;
===Key===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Color  !! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
| White  ||All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green   || Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
| Yellow || Mining, Felling, Digging, Farming&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
| Red    || Any tool&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- ##################&lt;br /&gt;
To add additional colors, visit Template:row-lightgreen, copy the source, do a search for Template:row-yourcolor and hit Create Page. ################## --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===API===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; | Return&lt;br /&gt;
! width=&amp;quot;200px&amp;quot; | Method name&lt;br /&gt;
! Description&lt;br /&gt;
! Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.craft]]({{type|number}} quantity)&lt;br /&gt;
|Craft items using ingredients anywhere in the turtle's inventory and place results in the active slot. If a quantity is specified, it will craft only up to that many items, otherwise, it will craft as many of the items as possible.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Try to move the turtle forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Try to move the turtle backward&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Try to move the turtle up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Try to move the turtle down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|Turn the turtle left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|Turn the turtle right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.select]]({{type|number}} slotNum)&lt;br /&gt;
|Make the turtle select slot &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} slot&lt;br /&gt;
|[[turtle.getSelectedSlot]]()&lt;br /&gt;
|Indicates the currently selected inventory slot&lt;br /&gt;
| 1.6&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} count&lt;br /&gt;
|[[turtle.getItemCount]]([&amp;lt;nowiki/&amp;gt;{{type|number}} slotNum])&lt;br /&gt;
|Counts how many items are in the currently selected slot or, if specified, &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} count&lt;br /&gt;
|[[turtle.getItemSpace]]([&amp;lt;nowiki/&amp;gt;{{type|number}} slotNum])&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the currently selected slot or, if specified, &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|table}} data&lt;br /&gt;
|[[turtle.getItemDetail]]([&amp;lt;nowiki/&amp;gt;{{type|number}} slotNum])&lt;br /&gt;
|Returns the ID string, count and damage values of currently selected slot or, if specified, &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; slot &lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.equipLeft]]()&lt;br /&gt;
|Attempts to equip an item in the current slot to the turtle's left side, switching the previously equipped item back into the inventory&lt;br /&gt;
|1.6&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.equipRight]]()&lt;br /&gt;
|Attempts to equip an item in the current slot to the turtle's right side, switching the previously equipped item back into the inventory&lt;br /&gt;
|1.6&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.attack]]()&lt;br /&gt;
|Attacks in front of the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success &lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks above the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.attackDown]]()&lt;br /&gt;
|Attacks under the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.dig]]()&lt;br /&gt;
|Breaks the block in front. With hoe: tills the dirt in front of it.&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.digUp]]()&lt;br /&gt;
|Breaks the block above. With hoe: tills the dirt above it.&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.digDown]]()&lt;br /&gt;
|Breaks the block below. With hoe: tills the dirt below it.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.place]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|string}} signText])&lt;br /&gt;
|Places a block of the selected slot in front. Engrave &amp;lt;var&amp;gt;signText&amp;lt;/var&amp;gt; on signs if provided. Collects [[water]] or [[lava]] if the currently selected slot is an empty bucket.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a block of the selected slot above. Collects water or lava if the currently selected slot is an empty bucket.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a block of the selected slot below. Collects water or lava if the currently selected slot is an empty bucket.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a block in front.  Does not detect mobs.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a block above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|[[turtle.inspect]]()&lt;br /&gt;
|Returns the ID string and metadata of the block in front of the Turtle&lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|[[turtle.inspectUp]]()&lt;br /&gt;
|Returns the ID string and metadata of the block above the Turtle&lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|[[turtle.inspectDown]]()&lt;br /&gt;
|Returns the ID string and metadata of the block below the Turtle&lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compare]]()&lt;br /&gt;
|Detects if the block in front is the same as the one in the currently selected slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareUp]]()&lt;br /&gt;
|Detects if the block above is the same as the one in the currently selected slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareDown]]()&lt;br /&gt;
|Detects if the block below is the same as the one in the currently selected slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareTo]]({{type|number}} slot)&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same. Returns true if they are the same, false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.drop]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops &amp;lt;var&amp;gt;count&amp;lt;/var&amp;gt; items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e in front of the turtle) it will try to place into the inventory, returning false if the inventory is full.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops &amp;lt;var&amp;gt;count&amp;lt;/var&amp;gt; items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e above the turtle) it will try to place into the inventory, returning false if the inventory is full. &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops &amp;lt;var&amp;gt;count&amp;lt;/var&amp;gt; items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e below the turtle) it will try to place into the inventory, returning false if the inventory is full. If above a furnace, will place item in the top slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suck]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount])&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false. &amp;lt;var&amp;gt;amount&amp;lt;/var&amp;gt; parameter requires ComputerCraft 1.6 or later.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suck|turtle.suckUp]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount])&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false. &amp;lt;var&amp;gt;amount&amp;lt;/var&amp;gt; parameter requires ComputerCraft 1.6 or later.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suck|turtle.suckDown]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount])&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false. &amp;lt;var&amp;gt;amount&amp;lt;/var&amp;gt; parameter requires ComputerCraft 1.6 or later.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.refuel]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} quantity])&lt;br /&gt;
|If the current selected slot contains a fuel item, it will consume it to give the turtle the ability to move.&amp;lt;br /&amp;gt;Added in 1.4 and is only needed in needfuel mode. If the current slot doesn't contain a fuel item, it returns false. Fuel values for different items can be found at [[Turtle.refuel#Fuel_Values]]. If a quantity is specified, it will refuel only up to that many items, otherwise, it will consume all the items in the slot.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} fuel&lt;br /&gt;
|[[turtle.getFuelLevel]]()&lt;br /&gt;
|Returns the current fuel level of the turtle, this is the number of blocks the turtle can move.&amp;lt;br /&amp;gt;If &amp;lt;var&amp;gt;turtleNeedFuel = 0&amp;lt;/var&amp;gt; then it returns &amp;lt;var&amp;gt;&amp;quot;unlimited&amp;quot;&amp;lt;/var&amp;gt;.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} fuel&lt;br /&gt;
|[[turtle.getFuelLimit]]()&lt;br /&gt;
|Returns the maximum amount of fuel a turtle can store - by default, 20,000 for regular turtles, 100,000 for advanced.&amp;lt;br /&amp;gt;If &amp;lt;var&amp;gt;turtleNeedFuel = 0&amp;lt;/var&amp;gt; then it returns &amp;lt;var&amp;gt;&amp;quot;unlimited&amp;quot;&amp;lt;/var&amp;gt;.&lt;br /&gt;
| 1.6&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.transferTo]]({{type|number}} slot [, {{type|number}} quantity])&lt;br /&gt;
|Transfers &amp;lt;var&amp;gt;quantity&amp;lt;/var&amp;gt; items from the selected slot to &amp;lt;var&amp;gt;slot&amp;lt;/var&amp;gt;. If &amp;lt;var&amp;gt;quantity&amp;lt;/var&amp;gt; isn't specified, will attempt to transfer everything in the selected slot to &amp;lt;var&amp;gt;slot&amp;lt;/var&amp;gt;.&lt;br /&gt;
| 1.45&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Trivia:&lt;br /&gt;
During the 1.4 beta, [[turtle.getFuelLevel]]() in softcore (that is now &amp;lt;var&amp;gt;turtleneedsfuel = 0&amp;lt;/var&amp;gt;) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=6766</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=6766"/>
				<updated>2014-09-28T16:49:57Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your [[Turtle|Turtles]].&lt;br /&gt;
&lt;br /&gt;
===Key===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Color  !! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
| White  ||All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green   || Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
| Yellow || Mining, Felling, Digging, Farming&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
| Red    || Any tool&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- ##################&lt;br /&gt;
To add additional colors, visit Template:row-lightgreen, copy the source, do a search for Template:row-yourcolor and hit Create Page. ################## --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===API===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; | Return&lt;br /&gt;
! width=&amp;quot;200px&amp;quot; | Method name&lt;br /&gt;
! Description&lt;br /&gt;
! Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.craft]]({{type|number}} quantity)&lt;br /&gt;
|Craft items using ingredients anywhere in the turtle's inventory and place results in the active slot. If a quantity is specified, it will craft only up to that many items, otherwise, it will craft as many of the items as possible.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Try to move the turtle forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Try to move the turtle backward&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Try to move the turtle up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Try to move the turtle down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|Turn the turtle left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|Turn the turtle right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.select]]({{type|number}} slotNum)&lt;br /&gt;
|Make the turtle select slot &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} slot&lt;br /&gt;
|[[turtle.getSelectedSlot]]()&lt;br /&gt;
|Indicates the currently selected inventory slot&lt;br /&gt;
| 1.6&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} count&lt;br /&gt;
|[[turtle.getItemCount]]({{type|number}} slotNum)&lt;br /&gt;
|Counts how many items are in the currently selected slot or, if specified, &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} count&lt;br /&gt;
|[[turtle.getItemSpace]]({{type|number}} slotNum)&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the currently selected slot or, if specified, &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|table}} data&lt;br /&gt;
|[[turtle.getItemDetail]]([&amp;lt;nowiki/&amp;gt;{{type|number}} slotNum])&lt;br /&gt;
|Returns the ID string, count and damage values of currently selected slot or, if specified, &amp;lt;var&amp;gt;slotNum&amp;lt;/var&amp;gt; slot &lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.equipLeft]]()&lt;br /&gt;
|Attempts to equip an item in the current slot to the turtle's left side, switching the previously equipped item back into the inventory&lt;br /&gt;
|1.6&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.equipRight]]()&lt;br /&gt;
|Attempts to equip an item in the current slot to the turtle's right side, switching the previously equipped item back into the inventory&lt;br /&gt;
|1.6&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.attack]]()&lt;br /&gt;
|Attacks in front of the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success &lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks above the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.attackDown]]()&lt;br /&gt;
|Attacks under the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.dig]]()&lt;br /&gt;
|Breaks the block in front. With hoe: tills the dirt in front of it.&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.digUp]]()&lt;br /&gt;
|Breaks the block above. With hoe: tills the dirt above it.&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.digDown]]()&lt;br /&gt;
|Breaks the block below. With hoe: tills the dirt below it.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.place]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|string}} signText])&lt;br /&gt;
|Places a block of the selected slot in front. Engrave &amp;lt;var&amp;gt;signText&amp;lt;/var&amp;gt; on signs if provided. Collects [[water]] or [[lava]] if the currently selected slot is an empty bucket.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a block of the selected slot above. Collects water or lava if the currently selected slot is an empty bucket.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a block of the selected slot below. Collects water or lava if the currently selected slot is an empty bucket.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a block in front.  Does not detect mobs.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a block above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|[[turtle.inspect]]()&lt;br /&gt;
|Returns the ID string and metadata of the block in front of the Turtle&lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|[[turtle.inspectUp]]()&lt;br /&gt;
|Returns the ID string and metadata of the block above the Turtle&lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success, {{type|table}} data/{{type|string}} error message&lt;br /&gt;
|[[turtle.inspectDown]]()&lt;br /&gt;
|Returns the ID string and metadata of the block below the Turtle&lt;br /&gt;
|1.64&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compare]]()&lt;br /&gt;
|Detects if the block in front is the same as the one in the currently selected slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareUp]]()&lt;br /&gt;
|Detects if the block above is the same as the one in the currently selected slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareDown]]()&lt;br /&gt;
|Detects if the block below is the same as the one in the currently selected slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareTo]]({{type|number}} slot)&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same. Returns true if they are the same, false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.drop]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops &amp;lt;var&amp;gt;count&amp;lt;/var&amp;gt; items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e in front of the turtle) it will try to place into the inventory, returning false if the inventory is full.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops &amp;lt;var&amp;gt;count&amp;lt;/var&amp;gt; items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e above the turtle) it will try to place into the inventory, returning false if the inventory is full. &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops &amp;lt;var&amp;gt;count&amp;lt;/var&amp;gt; items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e below the turtle) it will try to place into the inventory, returning false if the inventory is full. If above a furnace, will place item in the top slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suck]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount])&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false. &amp;lt;var&amp;gt;amount&amp;lt;/var&amp;gt; parameter requires ComputerCraft 1.6 or later.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suck|turtle.suckUp]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount])&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false. &amp;lt;var&amp;gt;amount&amp;lt;/var&amp;gt; parameter requires ComputerCraft 1.6 or later.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suck|turtle.suckDown]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} amount])&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false. &amp;lt;var&amp;gt;amount&amp;lt;/var&amp;gt; parameter requires ComputerCraft 1.6 or later.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.refuel]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|number}} quantity])&lt;br /&gt;
|If the current selected slot contains a fuel item, it will consume it to give the turtle the ability to move.&amp;lt;br /&amp;gt;Added in 1.4 and is only needed in needfuel mode. If the current slot doesn't contain a fuel item, it returns false. Fuel values for different items can be found at [[Turtle.refuel#Fuel_Values]]. If a quantity is specified, it will refuel only up to that many items, otherwise, it will consume all the items in the slot.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} fuel&lt;br /&gt;
|[[turtle.getFuelLevel]]()&lt;br /&gt;
|Returns the current fuel level of the turtle, this is the number of blocks the turtle can move.&amp;lt;br /&amp;gt;If &amp;lt;var&amp;gt;turtleNeedFuel = 0&amp;lt;/var&amp;gt; then it returns &amp;lt;var&amp;gt;&amp;quot;unlimited&amp;quot;&amp;lt;/var&amp;gt;.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|number}} fuel&lt;br /&gt;
|[[turtle.getFuelLimit]]()&lt;br /&gt;
|Returns the maximum amount of fuel a turtle can store - by default, 20,000 for regular turtles, 100,000 for advanced.&amp;lt;br /&amp;gt;If &amp;lt;var&amp;gt;turtleNeedFuel = 0&amp;lt;/var&amp;gt; then it returns &amp;lt;var&amp;gt;&amp;quot;unlimited&amp;quot;&amp;lt;/var&amp;gt;.&lt;br /&gt;
| 1.6&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.transferTo]]({{type|number}} slot [, {{type|number}} quantity])&lt;br /&gt;
|Transfers &amp;lt;var&amp;gt;quantity&amp;lt;/var&amp;gt; items from the selected slot to &amp;lt;var&amp;gt;slot&amp;lt;/var&amp;gt;. If &amp;lt;var&amp;gt;quantity&amp;lt;/var&amp;gt; isn't specified, will attempt to transfer everything in the selected slot to &amp;lt;var&amp;gt;slot&amp;lt;/var&amp;gt;.&lt;br /&gt;
| 1.45&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Trivia:&lt;br /&gt;
During the 1.4 beta, [[turtle.getFuelLevel]]() in softcore (that is now &amp;lt;var&amp;gt;turtleneedsfuel = 0&amp;lt;/var&amp;gt;) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawLine&amp;diff=6515</id>
		<title>Paintutils.drawLine</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawLine&amp;diff=6515"/>
				<updated>2014-04-25T13:11:06Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=paintutils.drawLine&lt;br /&gt;
|args={{type|number}} startX, {{type|number}} startY, {{type|number}} endX, {{type|number}} endY, {{type|number}} [[color (API)|color]]&lt;br /&gt;
|api=paintutils&lt;br /&gt;
|returns=None&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Draws a line on the screen starting from ''startX'' and ''startY'' and ending at ''endX'' and ''endY'', with color ''color''. Note that the cursor will be moved and background color will be changed by this function.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Draws a red line from the position (1, 2) to the position (9, 10).&lt;br /&gt;
|code='''paintutils.drawLine(1, 2, 9, 10, [[color (API)|colors]].red)'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawPixel&amp;diff=6514</id>
		<title>Paintutils.drawPixel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawPixel&amp;diff=6514"/>
				<updated>2014-04-25T13:10:33Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=paintutils.drawPixel&lt;br /&gt;
|args={{type|number}} x, {{type|number}} y, {{type|number}} [[color (API)|color]]&lt;br /&gt;
|api=paintutils&lt;br /&gt;
|returns=None&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Draw a pixel on the screen at ''x'' and ''y'', with color ''color''. Note that the cursor will be moved and background color will be changed by this function.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Draws a red pixel at the position (10, 8).&lt;br /&gt;
|code='''paintutils.drawPixel(10, 8, [[color (API)|colors]].red)'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawPixel&amp;diff=6513</id>
		<title>Paintutils.drawPixel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawPixel&amp;diff=6513"/>
				<updated>2014-04-25T13:09:03Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=paintutils.drawPixel&lt;br /&gt;
|args={{type|number}} x, {{type|number}} y, {{type|number}} [[color (API)|color]]&lt;br /&gt;
|api=paintutils&lt;br /&gt;
|returns=None&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Draw a pixel on the screen at ''x'' and ''y''. If ''color'' is specified then draws the pixel using that color, otherwise uses last color set by [[term.setBackgroundColor]]. Note that it doesn't reset the background color.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Draws a red pixel at the position (10, 8).&lt;br /&gt;
|code='''paintutils.drawPixel(10, 8, [[color (API)|colors]].red)'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawLine&amp;diff=6512</id>
		<title>Paintutils.drawLine</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawLine&amp;diff=6512"/>
				<updated>2014-04-25T13:04:17Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=paintutils.drawLine&lt;br /&gt;
|args={{type|number}} startX, {{type|number}} startY, {{type|number}} endX, {{type|number}} endY, {{type|number}} [[color (API)|color]]&lt;br /&gt;
|api=paintutils&lt;br /&gt;
|returns=None&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Draws a line on the screen starting from ''startX'' and ''startY'' and ending at ''endX'' and ''endY''. If ''color'' is specified then uses that color, otherwise uses last color set by [[term.setBackgroundColor]].&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Draws a red line from the position (1, 2) to the position (9, 10).&lt;br /&gt;
|code='''paintutils.drawLine(1, 2, 9, 10, [[color (API)|colors]].red)'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Recipes&amp;diff=5797</id>
		<title>Recipes</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Recipes&amp;diff=5797"/>
				<updated>2013-07-11T19:44:10Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Item&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Crafting ingredients&lt;br /&gt;
|-&lt;br /&gt;
|[[Computer]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone           |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=Redstone        |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=glass_pane      |C3=Stone&lt;br /&gt;
 |Output=Computer&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Wired Modem]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone          |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=Redstone       |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Stone          |C3=Stone&lt;br /&gt;
 |Output=Wired_Modem&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Networking Cable]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |          B1=Stone    &lt;br /&gt;
 |A2=Stone |B2=Redstone       |C2=Stone&lt;br /&gt;
           |B3=Stone      &lt;br /&gt;
 |Output=Networking_Cable&lt;br /&gt;
 |OA=6&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Wireless Modem|Wireless Modem]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone          |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=ender_pearl       |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Stone          |C3=Stone&lt;br /&gt;
 |Output=Modem&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Wireless Modem|Wireless Modem (old recipe, changed in 1.51)]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone          |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=redstone_torch       |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Stone          |C3=Stone&lt;br /&gt;
 |Output=Modem&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Disk Drive]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone         |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=Redstone      |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Redstone      |C3=Stone&lt;br /&gt;
 |Output=Disk_Drive&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Floppy Disk]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B1=Redstone&lt;br /&gt;
 |B2=paper&lt;br /&gt;
 |Output=disk&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Turtle]] (and see [[Turtle#Recipes|Turtle recipes]])&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot    |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=Computer       |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest         |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Monitor]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone      |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=glass_pane |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Stone      |C3=Stone&lt;br /&gt;
 |Output=Monitor&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Printer]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone         |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=Redstone       |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Ink_Sac       |C3=Stone&lt;br /&gt;
 |Output=printer&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Advanced Computer]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot    |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=Redstone      |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=glass_pane    |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Computer&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Advanced Monitor]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=glass_pane |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=Gold_Ingot |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Monitor |OA=4&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Advanced Turtle]] (and see [[Turtle#Recipes|Turtle recipes]])&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot    |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=Advanced_Computer       |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=chest         |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Lists]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Recipes&amp;diff=5796</id>
		<title>Recipes</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Recipes&amp;diff=5796"/>
				<updated>2013-07-11T19:43:46Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Item&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Crafting ingredients&lt;br /&gt;
|-&lt;br /&gt;
|[[Computer]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone           |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=Redstone        |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=glass_pane      |C3=Stone&lt;br /&gt;
 |Output=Computer&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Wired Modem]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone          |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=Redstone       |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Stone          |C3=Stone&lt;br /&gt;
 |Output=Wired_Modem&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Networking Cable]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |          B1=Stone    &lt;br /&gt;
 |A2=Stone |B2=Redstone       |C2=Stone&lt;br /&gt;
           |B3=Stone      &lt;br /&gt;
 |Output=Networking_Cable&lt;br /&gt;
 |OA=6&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Wireless Modem|Wireless Modem]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone          |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=ender_pearl       |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Stone          |C3=Stone&lt;br /&gt;
 |Output=Modem&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Wireless Modem|Wireless Modem (old recipe, changed in 1.51)]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone          |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=redstone_torch       |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Stone          |C3=Stone&lt;br /&gt;
 |Output=Modem&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Disk Drive]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone         |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=Redstone      |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Redstone      |C3=Stone&lt;br /&gt;
 |Output=Disk_Drive&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Floppy Disk]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B1=Redstone&lt;br /&gt;
 |B2=paper&lt;br /&gt;
 |Output=disk&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Turtle]] (and see [[Turtle#Recipes|Turtle recipes]])&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot    |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=Computer       |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest         |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Monitor]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone      |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=glass_pane |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Stone      |C3=Stone&lt;br /&gt;
 |Output=Monitor&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Printer]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone         |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=Redstone       |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Ink_Sac       |C3=Stone&lt;br /&gt;
 |Output=printer&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Advanced Computer]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot    |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=Redstone      |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=glass_pane    |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Computer&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Advanced Monitor]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=glass_pane |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=Gold_Ingot |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Monitor |OA=4&lt;br /&gt;
 }}&lt;br /&gt;
|[[Advanced Turtle]] (and see [[Turtle#Recipes|Turtle recipes]])&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot    |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=Advanced_Computer       |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=chest         |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Lists]]&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Wired_Modem&amp;diff=5769</id>
		<title>Wired Modem</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Wired_Modem&amp;diff=5769"/>
				<updated>2013-07-03T04:28:04Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NeedsWork|Needs correction and more examples -alekso56)}}&lt;br /&gt;
:''This page is for the Modem blocks. For the modem API, see [[Modem_(API)|Modem (API)]]''&lt;br /&gt;
{{Block&lt;br /&gt;
|name=Wired Modem&lt;br /&gt;
|image=&lt;br /&gt;
|id=???&lt;br /&gt;
|damage-value= ???&lt;br /&gt;
|is-peripheral=Yes&lt;br /&gt;
|peripheral-api=Modem (API)&lt;br /&gt;
}}&lt;br /&gt;
Modems are blocks which can be used to transfer data between [[Computer|computers]], using the [[Rednet_(API)|Rednet API]] or the [[Modem_(API)|Modem API]].&lt;br /&gt;
To place a modem on a side of a computer, right-click to place the modem while sneaking. &lt;br /&gt;
To use the modems, you need to connect the modems to each other by placing cables.&lt;br /&gt;
==Recipes== &lt;br /&gt;
&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |          B1=Stone    &lt;br /&gt;
 |A2=Stone |B2=Redstone       |C2=Stone&lt;br /&gt;
           |B3=Stone      &lt;br /&gt;
 |Output=Networking_Cable&lt;br /&gt;
 |OA=6}}&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=stone |B1=stone          |C1=stone&lt;br /&gt;
 |A2=stone |B2=Redstone    |C2=stone&lt;br /&gt;
 |A3=stone |B3=stone          |C3=stone&lt;br /&gt;
 |Output=Wired_Modem&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
== Example (Rednet API)==&lt;br /&gt;
* Place 2 computers and add modems to them by clicking the right mouse button while sneaking.&lt;br /&gt;
* Access them, and start Lua.&lt;br /&gt;
* Once Lua has started, type &amp;quot;[[rednet_(API)|rednet]].[[rednet.open|open]] (&amp;quot;&amp;lt;relative location to modem, e.g. left, right&amp;gt;&amp;quot;)&amp;quot; on both computers.&lt;br /&gt;
* Check if there exists a connection: a dim, red ring should be found around the modem, closest to the computer/peripheral it is connected to.&lt;br /&gt;
* Type on one computer &amp;quot;[[rednet_(API)|rednet]].[[rednet.receive|receive]] (60)&amp;quot;. This will make the computer freeze for 60 seconds, or until it has received a signal from the other computer(s).&lt;br /&gt;
* Now, type &amp;quot;[[rednet_(API)|rednet]].[[rednet.broadcast|broadcast]] ('&amp;lt;your message&amp;gt;')&amp;quot; on the other computer. This should send your message to all computers connected.&lt;br /&gt;
* Opening the first computer should show the message written on the second computer.&lt;br /&gt;
&lt;br /&gt;
== Example 2 (Modem and peripheral) ==&lt;br /&gt;
* If you want to use a modem to communicate with a peripheral you might want to take a look at the [[Peripheral_(API)#Remote_Peripherals_using_Networking_Cables|Peripheral API]]&lt;br /&gt;
&lt;br /&gt;
==Modem as a Peripheral==&lt;br /&gt;
To use a Modem as a peripheral, you need to either call a method directly using [[peripheral.call]](), or wrap the modem using the [[Peripheral_(API)|Peripheral API]]. Wrapped modems provide all functions listed in the [[Rednet_(API)|Rednet API]].&lt;br /&gt;
&lt;br /&gt;
For this example, we have a Modem connected to the top of our [[Computer]]:&lt;br /&gt;
&lt;br /&gt;
 -- Immediately invoke a method without wrapping&lt;br /&gt;
 peripheral.call(&amp;quot;top&amp;quot;, &amp;quot;open&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 -- You can also &amp;quot;wrap&amp;quot; the peripheral side to a variable:&lt;br /&gt;
 local modem = peripheral.wrap(&amp;quot;top&amp;quot;)&lt;br /&gt;
 modem.open(&amp;quot;top&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{BlocksItemsList}}&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_Upgrade_IDs&amp;diff=2415</id>
		<title>Turtle Upgrade IDs</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_Upgrade_IDs&amp;diff=2415"/>
				<updated>2012-07-30T08:02:07Z</updated>
		
		<summary type="html">&lt;p&gt;Dan200: Created page with &amp;quot;The following table is used to assign IDs for new types of Turtle Upgrade. When releasing a peripheral, choose an unused ID from this list, then claim it as yours by editing t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following table is used to assign IDs for new types of Turtle Upgrade. When releasing a peripheral, choose an unused ID from this list, then claim it as yours by editing this page.&lt;br /&gt;
'''This is for about-to-be-released Turtle Upgrades only. Please don't reserve IDs for upgrades while they're still in development.'''&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;50px&amp;quot;|'''ID'''&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|'''Turtle name'''&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|'''Crafting Item'''&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|'''Download Link'''&lt;br /&gt;
|-&lt;br /&gt;
|0&lt;br /&gt;
|Turtle&lt;br /&gt;
|No Item&lt;br /&gt;
|n/a&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Wireless Turtle&lt;br /&gt;
|Wireless Modem&lt;br /&gt;
|n/a&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|Crafty Turtle&lt;br /&gt;
|Crafting Table&lt;br /&gt;
|n/a&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Melee Turtle&lt;br /&gt;
|Diamond Sword&lt;br /&gt;
|n/a&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Digging Turtle&lt;br /&gt;
|Diamond Shovel&lt;br /&gt;
|n/a&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Mining Turtle&lt;br /&gt;
|Diamond Pickaxe&lt;br /&gt;
|n/a&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Felling Turtle&lt;br /&gt;
|Diamond Axe&lt;br /&gt;
|n/a&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Farming Turtle&lt;br /&gt;
|Diamond Hoe&lt;br /&gt;
|n/a&lt;br /&gt;
|-&lt;br /&gt;
|8-63&lt;br /&gt;
|Reserved by ComputerCraft&lt;br /&gt;
|n/a&lt;br /&gt;
|n/a&lt;br /&gt;
|-&lt;br /&gt;
|64-255&lt;br /&gt;
|Available&lt;br /&gt;
|n/a&lt;br /&gt;
|n/a&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dan200</name></author>	</entry>

	</feed>