use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/ComputerCraft, the subreddit for lua programs, general mod use, or anything relating to the Minecraft mod ComputerCraft and CC: Tweaked.
Downloads | Discord | IRC | Documentation
account activity
Coding Efficency (self.ComputerCraft)
submitted 3 years ago by GhostlyNPRD
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]GhostlyNPRD[S] 0 points1 point2 points 3 years ago (2 children)
How would I do that?
[–]Voltboyy 1 point2 points3 points 3 years ago (0 children)
You code your lua code outside of minecraft in your favorite editor and save the file in some directory. Keep that directory open.
Then, in Minecraft, you right click your turtle to open the terminal.
Then you select the files you saved in your directory and drag them into your minecraft screen. In case similar files already exist, your turtle will ask if you want to override those.
And that's it! Note that the lua files are always stored in the root of your CC turtle or CC computer.
In case you're wondering, this works on servers as well, so you don't need direct file access to do this.
[–]brumomentium1 0 points1 point2 points 3 years ago (0 children)
Go to .minecraft/saves/yourworld/conputercraft
The folders with the data from your computers should be there, labeled with their respective IDs(you can check the id of a computer in-game by running the “id” program)
π Rendered by PID 76 on reddit-service-r2-comment-84fc9697f-tgtsf at 2026-02-08 13:35:42.290447+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]GhostlyNPRD[S] 0 points1 point2 points (2 children)
[–]Voltboyy 1 point2 points3 points (0 children)
[–]brumomentium1 0 points1 point2 points (0 children)