ComputerCraft is a mod by dan200 that adds computers and assorted peripherals to the Minecraft world. All devices are programmable with the Lua scripting language with the ComputerCraft API, called CCLua. It is possible to use Redstone and even Red Alloy Wire and Bundled Cable of RedPower 2 or Project: Red alongside computers to add complexity to one's Redstone circuits. Along with Redstone support, Computers can also use Wireless Modems and Wired Modems to communicate to one another with RedNet.
Turtles[edit | edit source]
A Turtle is a type of computer that can move around and interact with the world with the right instructions. Turtles have an internal inventory allowing for 16 stacks of items to be stored within. Turtles can be crafted to have a set of peripherals or tools to perform different tasks. For example, crafting a Turtle with a Diamond Axe will turn it into a Felling Turtle that can chop wood. It is even possible to give a Turtle a Wireless Modem to allow it to use the RedNet API.
Turtles use the Turtle API to move and interact with the world.
Programming[edit | edit source]
Programming in ComputerCraft is accomplished by the use of the Lua scripting language. Each computer follows most of the specifications of Lua and can use most of the functions defined in the language. In addition to the basic Lua API, ComputerCraft also uses its own set of API to allow for interaction and interfacing with the Minecraft world. These API can allow for interfacing with Redstone, and Red Alloy Wires and Bundled Cables (if RedPower 2 or Project: Red is installed) along with a range of other uses.
Guides[edit | edit source]
[edit | edit source]
- ComputerCraft Official Site
- ComputerCraft Official Wiki
- Support dan200 on Patreon
- Support dan200 on Flattr