Computercraft Turtle Programs
Not a member of Pastebin yet? Sign Up, it unlocks many cool features! Raw download clone embed report print Lua 9.13 KB -- ComputerCraft Turtle Programs.
Waking Life follows the dream(s) of one man and his attempt to find and discern the absolute difference between waking life and the dreamworld. It becomes our dream and our questions being asked and answered. While trying to figure out a way to wake up, he runs into many people on his way; some of which offer one sentence asides on life, others delving deeply into existential questions and life's mysteries. We become the main character. An escape from reality or reality itself? Walking life torrent.
- Computercraft Mining Turtle Programs
- Computercraft Turtle Programming
- Minecraft Computer Craft Turtle Programs
Click to expand.I will take my not-so-finished code as example. 1/ go to the config file for computercraft, and put 'B:enableAPIhttp=false' to 'true' 2/ get the pastebin code for the code you want (, you would only take the Acewyb2T) 3/ label your turtle/computer (label set myturtle), no space in the name. 4/ get the code to the turtle/computer (pastebin get Acewyb2T mine) The last word is the name the program will have on your computer/turtle, here 'mine'.
5/ use your program with the name you typed in the previous command (mine 16). If you did all the first 4 correctly, the 5th should work. Alternatively, once you labeled your turtle, you can also go to the save folder for the world, there will be a folde for computercraft, containing all the folders for each turtle and computer in your world, and you can paste the file there. Please do remove any extension to the name (like 'script.txt', remove the.txt), or else you will have to type it in your turtle to start the program, that can get really annoying in the long run. EDIT for the above poster. Hey, I'm currently writing a turtle butler program. It's not quite all the way done just yet.
So far it automatically farms and 5 x 5 x 3 (in a straight line) You have write the program of where to go, unless you just want to follow EXACTLY how to set the turtle up.It's still in Alpha. So far, it asks what you want it to do, there are extra lines that describe what functions there are. There are only two FULL operations for it to do, Tool, and Farm.

When you do Tool you only have the option for either Pickaxe or Axe. Then after you choose those, it will ask what kind of material. Wood - Diamond. Any modded materials you'll have to add yourself, but the crafting would all be the same, so you would just need to make it move to the extra pickup station.There's quite a bit in this program, so I'll have to get pictures later today, I'll try to get those and then edit them into here if I can. Not uploaded anywhere just yet, I'l insert the current code into here for right now though. The startup spoiler is for the 'Login' at the startup of the turtle, after you enter the current Password, 3577, which I made the defualt (You can change it by doing Ctrl+T for a second then doing edit startup.
It's a VERY short code so it shouldn't be very hard to find the four digit cooode to change it.) term.clear term.setCursorPos(1,1) write('Please Enter Password: ') input = read('.' ) while input = '3577' do term.clear term.setCursorPos(1,1) print('Incorrect Password.please try again!'
README.md computercraft-programs A couple of programs for, a mod for Minecraft. No guarantees. Tested with ComputerCraft v1.53. Table of contents.Style mob farm.
Basically: You have a (rapid) source of mobs and a couple of Melee Turtles farming them. The melee turtles can be run standalone, however, you can also add another computer to support self-updating of the codebase.
This was mainly useful while adjusting the code, so I didn't have to change the same code on 7 turtles. (for the Mining Well), (Tesseracts, Redstone Energy Conduits, Wrench/Engineering Turtle) and some form of transport for the mined items (Ender Chests are a good one, either vanilla or ). You also need some form of chunkloading (I recommend ). I suppose you could use railcraft chunkloaders as well, but you'd have to feed them with Ender Pearls. Note that this is not an early game build; you need a robust inventory system to manage the rapid influx of items as well as a sizable amount of buildcraft power.
There are 4 different sets of programs here. All turtles require a Wireless Modem on the right side and either a Crescent Hammer (Wrench Turtle) or a Diamond Pick (Mining Turtle) on the left. On all turtles except the command turtle, you need to adjust the first line of the programs (local serverId =.). The correct id value can be found by executing 'id' on the command turtle. I also recommend labeling all the turtles by using 'label set.' After placing them.
Computercraft Mining Turtle Programs

command: Wrench Turtle This turtle supplies power using an energy tesseract and, more importantly, sends commands to all the other turtles. This is done using. This turtle can also update all the mining turtles' code. There can only be one of these (see energy below if you want higher throughput). Inventory setup: Shiny Dust'ed Item Tesseract supplied with fuel for the turtle in slot 14, 1 Redstone Energy Conduit in slot 15, and 1 Shiny Dust'ed Energy Tesseract receiving Buildcraft power in slot 16 (I suggest using a Redstone Energy Cell on the other side of this Tesseract. This way you can just increase the delay between mining operations to adapt to your energy supply). mining: Mining Turtle This turtle places the Mining Well and a ender chest (or similar) on the command turtle's, well, command.
Computercraft Turtle Programming
You can have as many of these as you want (and are able to power, obviously). Inventory setup: Some form of fuel source for the turtle in slot 13 (I use a second ender chest for this purpose), 1 Redstone Energy Conduit in slot 14, 1 Ender Chest (or similar) in slot 15, and finally 1 Mining Well in slot 16. chunkloader: Mining Turtle This turtle is responsible for babysitting the chunkloader. You can use chunkloader turtles for this if you manage to squeeze your operation into one chunk, however, that falls flat for larger sizes as there seem to be issues with loading more than one chunk, even if the Computer Craft configuration would allow this. Inventory setup: Fuel souce (ender chest or similar) in slot 15, a chunkloader in slot 16. energy (optional): Wrench turtle This turtle comes into play if the number of your miners rises above 10 or so, or you just feel that the 'quarry' isn't running fast enough.
Minecraft Computer Craft Turtle Programs
It's basically a clone of the command turtle, except that it listens to commands instead of sending them. Inventory setup is the same as the command turtle.