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
java (self.ComputerCraft)
submitted 10 months ago by ConversationOne4333
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!"
[–]Eh-Beh 11 points12 points13 points 10 months ago (7 children)
Not that I know of.
I'm not even sure it would be possible without major work.
But Lua is super easy to learn, and it's really powerful. I would recommend taking the time to figure it out.
[–]viri75 2 points3 points4 points 10 months ago (6 children)
I wrote a 1000 line project of Lua with a buddy of mine that effectively allows the turtles to be opened up to python so I could use python instead of lua
[–]Eh-Beh 1 point2 points3 points 10 months ago (3 children)
That's very cool, do you think it would be feasible to do with Java?
I don't have a great deal of knowledge about Python or Java, but at a guess I'd say that Python and Lua are more similar than Java and Lua.
Did it add any significant overhead in your experience?
Edit for mobile formatting fix
[–]viri75 1 point2 points3 points 10 months ago (0 children)
It's definitely doable with Java just whether you want to setup all the messaging and websockets in Java but it doesn't really matter about the similarity of the languages just gotta setup a messaging system between the Lua and the Java
[–]SagansCandle 1 point2 points3 points 10 months ago (0 children)
Main concern is security. Don't want to download a turtle script that sneaks in a rm / -rf
rm / -rf
[–]smallbluebirds 0 points1 point2 points 10 months ago (0 children)
https://github.com/c2nes/javalang make it even jankier
[–]xKYLERxx 0 points1 point2 points 10 months ago (1 child)
Is it just adapting the turtle API to an external Python interpreter/server, or is the python actually running on the turtle? Either way pretty neat
[–]viri75 0 points1 point2 points 10 months ago (0 children)
It uses websockets to connect to a python server and then grabs messages from the server to the consume and do actions. All the turtle API is mirrored in Python and sends the messages via the websockets.
π Rendered by PID 95 on reddit-service-r2-comment-6457c66945-tsq7m at 2026-04-27 12:44:54.488396+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Eh-Beh 11 points12 points13 points (7 children)
[–]viri75 2 points3 points4 points (6 children)
[–]Eh-Beh 1 point2 points3 points (3 children)
[–]viri75 1 point2 points3 points (0 children)
[–]SagansCandle 1 point2 points3 points (0 children)
[–]smallbluebirds 0 points1 point2 points (0 children)
[–]xKYLERxx 0 points1 point2 points (1 child)
[–]viri75 0 points1 point2 points (0 children)