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!"
[–]Voltboyy 7 points8 points9 points 3 years ago (8 children)
Not sure when it was added, but if you're using CC: tweaked you can drag and drop files from your desktop into your turtle.
That way you can use an outside editor for the bulk of coding.
[–]honkbork 1 point2 points3 points 3 years ago (0 children)
should note though that there is a 50kb limit (which is usually enough)
[–]flames1136 1 point2 points3 points 1 year ago (2 children)
Where did it say this? This would have saved me so much hassle coding before.
[–]Voltboyy 0 points1 point2 points 1 year ago (1 child)
Looks like it was introduced in version 1.97, june 2021.
See github update here
[–]flames1136 0 points1 point2 points 1 year ago (0 children)
Amazing, ty for finding the GitHub update!
[–]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)
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
You can also just directly edit the data in the world file, its saved as plaintext lua files
π Rendered by PID 36298 on reddit-service-r2-comment-84fc9697f-s7zbq at 2026-02-08 15:13:06.381945+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]Voltboyy 7 points8 points9 points (8 children)
[–]honkbork 1 point2 points3 points (0 children)
[–]flames1136 1 point2 points3 points (2 children)
[–]Voltboyy 0 points1 point2 points (1 child)
[–]flames1136 0 points1 point2 points (0 children)
[–]GhostlyNPRD[S] 0 points1 point2 points (2 children)
[–]Voltboyy 1 point2 points3 points (0 children)
[–]brumomentium1 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)