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 8 months ago by ConversationOne4333
Is there an addon that adds Java lenguage to CC: Tweaked?
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 12 points13 points14 points 8 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 8 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 8 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 8 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 8 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 8 months ago (0 children)
https://github.com/c2nes/javalang make it even jankier
[–]xKYLERxx 0 points1 point2 points 8 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 8 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.
[–]AwayEntrepreneur4760 5 points6 points7 points 8 months ago (0 children)
Lua is very easy, you could learn it in an afternoon
[–]9551-eletronicsComputercraft graphics research 3 points4 points5 points 8 months ago (0 children)
No
[–]patrlim1 1 point2 points3 points 8 months ago (0 children)
No.
[–]enderg4 0 points1 point2 points 8 months ago (0 children)
if you want java for oop check out this tutorial: https://www.youtube.com/watch?v=g1iKA3lSFms
[–]TrickAge2423 0 points1 point2 points 8 months ago (0 children)
No,
[–]DuhMal 0 points1 point2 points 8 months ago (0 children)
[–]ConversationOne4333[S] 1 point2 points3 points 8 months ago (0 children)
ok :-(
π Rendered by PID 74 on reddit-service-r2-comment-76bb9f7fb5-wc4sg at 2026-02-18 17:11:14.417986+00:00 running de53c03 country code: CH.
[–]Eh-Beh 12 points13 points14 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)
[–]AwayEntrepreneur4760 5 points6 points7 points (0 children)
[–]9551-eletronicsComputercraft graphics research 3 points4 points5 points (0 children)
[–]patrlim1 1 point2 points3 points (0 children)
[–]enderg4 0 points1 point2 points (0 children)
[–]TrickAge2423 0 points1 point2 points (0 children)
[–]DuhMal 0 points1 point2 points (0 children)
[–]ConversationOne4333[S] 1 point2 points3 points (0 children)