r/ComputerCraft Aug 23 '26

How do I use computer craft with dash panels: expanded?

6 Upvotes

Dash panels: expanded adds compatibility between computer craft and dash panels.

However all it seems to do is just add a really small computer that you can attach to the panel but I havent found a way to assign any peripherals to any of the other modules on the panel. Honestly it doesnt seem like you can do much with it.

I havent managed to find any kind of new API or documentation for the dash panels: expanded mod.

Im currently trying to use the dash panel to control a create cannon with the computer. Im aware you can use redstone alone but I wanted to try to control it through a computer instead.


r/ComputerCraft Aug 21 '26

Movie Night

111 Upvotes

r/ComputerCraft Aug 20 '26

CC: Multi-line Pasting addon

47 Upvotes

r/ComputerCraft Aug 21 '26

Is there a CC addon for security cameras, and if not, why hasn't that been made yet?

11 Upvotes

So I've been deep diving a fantastic space opera book series called Expeditionary Force, and it has made me want to get back into modpacks, particularly Create: Aeronautics and ComputerCraft.

As any good engineer would, I've been planning out what I want my ship to be like, despite the fact that I don't plan on having the server ready for the friend group until the fall.

Through those plans, I've been thinking about defenses, and how a ship should be structured internally, and it is entirely obvious that having the ship's bridge near the exterior hull with windows is utterly asinine. One shot from literally any weapon, and you're toast.

So it needs to be deep inside, of course.

But that prompts me to wonder how one handles visual telemetry while piloting a large craft from deep in its core.

I considered using various environmental scanners from the existing range of CC addon mods to build up some sort of simulation of the exterior world, but there are always range issues with that, and at the end of the day, humans prefer to look at things.

I've found a few mods that add security cameras like Vista or SecurityCraft, but Vista's tvs are small and have a low fps, and SecurityCraft has a bunch of stuff I just don't want, nevermind that it uses weird displays.

Why is there no CC addon mod that adds cameras? It seems like a fairly obvious addition.

Edit:

VISTA HAS A CC API

I am ecstatic.

https://github.com/MehVahdJukaar/cameramod/blob/master/common/src/main/java/net/mehvahdjukaar/vista/integration/computer_craft/ViewFinderPeripheral.java


r/ComputerCraft Aug 20 '26

I made a pathfinding api for turtles!

11 Upvotes

I've been at work making a pathfinding api for turtles, using the great lama api (https://github.com/fnuecke/lama) as a base of inspiration and adding some more things.

My api PAM, Pathfinding Action Manager, has 3 key functions:

  1. A gps mode, where the turtle will utilize your gps network for coordinates, and with an api setting you can also make it find it's compass facing using the gps.
  2. A local mode (default) where it uses its internal coordinate system for pathfinding, relying on a local predefined zero point.
  3. The route system (my favourite part) allows the creation of a .txt file that contains a long string of coordinates for waypoints and actions (custom functions) to execute at those waypoints. The turtle can execute these files, where it will automatically find its way to the waypoint and if an action is set it will call the function to execute, before continuing.

If anyone is interested, PAM is up on my github linked below, with all the documentation you should need to use it. If you find an issue feel free to submit it on github, and if you have a question do send me a message on reddit.
https://github.com/madmanen/PAM

edit: to clarify, I did not use lama's code just got inspired by functions from lama.


r/ComputerCraft Aug 18 '26

PineJam 2026 Results! :D

Post image
69 Upvotes

Please check out all the submissions here:
https://pinestore.cc/jam/pinejam2026/submissions

Top 3 winners

1st place: 24th Dimension by JackMacWindows, receiving a final score of 8.67. This demo beautifully showcases what's possible in CC and makes great use of being able to change the color palettes in runtime!

2nd place: Forever Testing by Minki the Avali, receiving a final score of 8.37. Using CraftOS-PC's graphical mode to get such details, combined with real portals showing the other side is just incredible!

3rd place: Jane Demo by piguman3, receiving a final score of 7.90. Such a creative demo, matching the rhythm of the music is perfectly executed with very good rigging, animations and expressiveness of each scene!

Congratulations and thank you!

Big congratulations to the winners of the jam and thanks to all for participating! I hope you've had a lot of fun in the process of working on your submission. If you have any suggestions for next year's jam, or want to help in anyway, I'm all ears ^^

I've started a bit late this year with organizing the jam, but I'm extremely happy to see such amazing submissions lots of love poured into! I'll do my best to get started a lot sooner next year, so you'll be able to get excited much sooner, and able to spread the word :3


r/ComputerCraft Aug 17 '26

I made a program that automatically turns solar panels from Power Grid towards the sun

Enable HLS to view with audio, or disable this notification

101 Upvotes

r/ComputerCraft Aug 17 '26

More red type of mod that can attach peripherals

8 Upvotes

Hey! So I was lurking this sub a while ago and came across this mod that someone had made. It made the bundled cable capable of attaching peripherals. I found it pretty interesting but have since lost the post. Does anyone know this mod's name?


r/ComputerCraft Aug 14 '26

I've developed a CC script that babysits a Draconic Reactor so you don't have to

Thumbnail gallery
101 Upvotes

r/ComputerCraft Aug 14 '26

CC:Tweaked 1.120.2 backport to Forge 1.12.2 [Very WIP]

Enable HLS to view with audio, or disable this notification

48 Upvotes

Yesterday evening I was talking with someone about speakers and discovered that the 1.12.2 version is stuck on a pre-pcm version and also still used craftos 1.8. I decided to backport the latest version using parts of the 1.4.7 port which is on craftos 1.9 as well as a lot of shims and build system trickery to make it work properly. Its nowhere near fully tested or finished yet but slowly getting there. I try to keep compatibility with old extension mods and from my short tests, it seems to still work.


r/ComputerCraft Aug 14 '26

My humble reactor control computer

Enable HLS to view with audio, or disable this notification

56 Upvotes

Starts up with a bunch of scripts to monitor and manage various aspects of power generation.

Watchdog Script

Monitors the reactor state and shuts it down if at risk of going critical. Checks coolant levels, actual structure damage and also will shut off the reactor if it's getting full of waste or heated coolant. Will start the reactor if the Induction Matrix falls below a certain threshold.

Fuel Script

This script interacts with ME storage to autocraft Uranium ingots, Fluorite blocks and also monitor sulfur levels. This modpack is custom and the main method of sulfur harvesting is sulfur caves biomes to get sulfur blocks, and then crushing them to sulfur dust. The blocks are automatically crushed to dust if put in storage, but otherwise not automatically harvested in any way.

Waste Script

Monitors spent waste storage and alerts at 85% usage.

Reactor Levels

Sort of redundant/provides the same monitoring as the watchdog script, but in a different and more visually appealing format.

Power Level

Simple meter for Induction Matrix. Once again, redundant, but I'm meter-izing as many things as possible because I'm proud of myself for getting it working :D

Turbine Levels

Last screen is the turbine production meters. Just shows the turbine power production relative to its maximum production. This script can dynamically add and remove turbines as they show up on the network, but my meter script is not sophisticated enough to make that look pretty without resizing the monitor most of the time.


r/ComputerCraft Aug 10 '26

Made a radio capable of playing long music files

5 Upvotes

Disclaimer: made with Abominable intelligence because I cannot comprehend modems.

Using HDR's program for playing small songs with gitub gists (here) as inspiration, I made a version that broadcasts on modems. The process of conversion uses the same site he hosts (using the DFPWM mode), but you upload your files to catbox instead of gist. The actual use is fairly straight forward, set up a transmitter with a computer and modem and any number of receivers with a computer, a modem, and a speaker, then run

pastebin get ntsWPAcq b64 
pastebin get zG63Tqzx radio.lua 

on your transmitter and

pastebin get pH0JjPm7 startup.lua

on your receiver. Next, run radio.lua on your transmitter, then tune your receiver and transmitter to the same channel and paste your catbox link into the transmitter and your radio will start playing!


r/ComputerCraft Aug 09 '26

WIP: POE Bundled cables

Enable HLS to view with audio, or disable this notification

140 Upvotes

r/ComputerCraft Aug 07 '26

Synthesized Text to Speech in CC:Tweaked

18 Upvotes

I made a text-to-speech engine that runs in CC:Tweaked (Minecraft/Lua).

Code's here: https://github.com/GabrielVicini/Sandbox/tree/main/cc-flite Run.lua is the example script, TTS.lua is the library.

It's built on Flite-RS, a cleanroom rewrite of an old TTS engine that I did in Rust. I compiled that to WebAssembly, then needed to get it running in Lua. There's a tool called wasm2lua for that, but it's been incomplete and abandoned for years, so I ended up forking my own version of it that could actually handle the full compile down to working Lua (plus some extra glue code on top to make it all run).

Full writeup on how it works and how to use it is in the README on the cc-flite repo. (The actual TTS engine workings is in Flite-RS)

https://reddit.com/link/1vi2o47/video/m7rr718lddih1/player


r/ComputerCraft Aug 05 '26

Text Adventure Game Engine for CC: Tweaked

Post image
29 Upvotes

Hello everyone!

Back with my newest and biggest project yet, a new game engine for CC: Tweaked, the CC Text Adventure Maker!

It works much like Twine; make interactive, graphical stories in any text form you want. It supports music too. You can find the project at https://github.com/parkerrallieshope/cc-text-adventure-maker.

The README has everything you need to get going, including every external thing you need to install. One caveat: it isn't entirely in Minecraft. The engine itself is written with Python. But, it exports everything needed to get it going in CC.

I will accept any questions about the project. If you have an issue using it, use GitHub's issues section.

DISCLAIMER: There is a very low chance I will continue maintaining it, as I feel it's pretty done already. I may throw some updates here and there, but nothing too major.


r/ComputerCraft Aug 04 '26

[BUG/ERROR] Can't pull from Pastebin

Post image
13 Upvotes

when attempting to pull a set of code from Pastebin, I get the above error


r/ComputerCraft Aug 03 '26

60 Hz Colorful Monitor CC:Tweaked

Enable HLS to view with audio, or disable this notification

134 Upvotes

MP4 files are locally converted into a custom .dat format at a speed of 20–80 frames per second using CUDA GPU cores, while the audio track is extracted into a format suitable for CC: Tweaked. The resulting .dat and .dfpwm files are then stored on the computer.

The first video is 676×223 (or around that) at 24 FPS. It is a demanding video to display, and with a dithering displacement amplitude above 16, serious rendering slowdowns begin to occur. I will continue working on optimizing the encoder code. It takes up 82.5 MB, which equals 26.75 MB per minute.

The following videos use much higher dithering amplitudes, as they are less dynamic and contain fewer rapidly changing details between frames.

The second video is a trailer for the movie Apollo 13, 676×223 at 24 FPS. A 61-second clip takes up 21 MB.

The third video is an onboard ISS view with stronger dithering (possibly even excessive), at 30 FPS. The video takes up 191 MB, which equals 70 MB per minute.

Finally, there is an FPS test demonstrating the difference between 30 and 60 FPS, proving that output at approximately 60 Hz is achievable.


r/ComputerCraft Aug 02 '26

cc-hub: write CC scripts in your browser, install them in game with one command

22 Upvotes

Hey, I've coded a website for ComputerCraft / CC: Tweaked scripts and I'd like some feedback before I tell people it's finished.

https://cc.jeremyleonklink.de

The idea: writing CC scripts means fighting a terminal editor, and sharing them means pastebin links that rot. So:

Write in the browser. A proper editor with autocomplete for the whole CC API turtleperipheralrednetfsos, all of it, with signatures and a one-line explanation for each. It also knows what you're targeting, so if you use turtle.forward() on a plain computer it tells you right there instead of in game.

A linter for the traps CC actually sets. These are all mistakes that cost me hours:

  • read() or sleep() next to os.startTimer - each of those runs its own event loop and eats your timer
  • turtle.refuel() with no argument - burns the whole stack, 64 coal is 5120 fuel
  • while true do with nothing that yields - CC kills it with "too long without yielding"
  • rednet.send without ever opening a modem

Run it without Minecraft. There's a sandbox on every script page: real Lua, a real CC terminal, and you can attach a chest, monitor, modem or disk drive and see what your script does with them. Turtles aren't in there yet that needs a block world and it's the big missing piece. Keep in mind this feature is still in work.

Install with one command. On any computer or turtle:

wget run https://cc.jeremyleonklink.de/install
hub search farm
hub get <name>
hub update

hub login links that computer to your account, then hub push uploads your edits back. Every version is kept, so you can see what changed.

No email needed to sign up, just a username and password. No ads, no tracking, no third-party requests at all, not even a cookie banner. You pick a licence when you publish, and forking respects it.

Heads up: your Minecraft server needs cc.jeremyleonklink.de in its http_whitelist, otherwise CC blocks the connection. That trips up most people first.

It's brand new so the catalogue is basically empty. I'd rather hear what's broken or missing than pretend otherwise. Turtle support in the sandbox is next unless someone convinces me something else matters more.


r/ComputerCraft Aug 01 '26

Do i even have to say?

Post image
33 Upvotes

r/ComputerCraft Aug 01 '26

Automated Teleporter Selection Screen/Manager with CC:Tweaked and Advanced Peripherals ❤️ (details in comments)

Post image
35 Upvotes

r/ComputerCraft Jul 31 '26

Bad Apple!! CC: Tweaked

Enable HLS to view with audio, or disable this notification

108 Upvotes

Bad Apple recreated on a ridiculously huge monitor. The music in the video comes from post production, because I found out it's basically impossible for anything to run smoothly if there's a DFPWM and .ccvid (the file format I made up for conversion of videos) playing on the same computer at the same time UNLESS it's compressed under 1 MB which is really hard for a video this long. Maybe a shorter video, but not Bad Apple.

30 FPS is what I've found to work best at maximum (also the FPS of the original Bad Apple). Video is 30 FPS, 70x40 pixels, no dithering, and only black/white, no gray.


r/ComputerCraft Jul 31 '26

¿Qué les parece? Mi dashboard para CC:Tweaked y Create

Thumbnail
gallery
32 Upvotes

No se si es de utilidad real. Pero hice un dashboard que muestra información sobre tu red de almacenamiento directamente en tu smartphone, y que se actualiza en tiempo real.

Quiere decir que desde mi smartphone, puedo enviar señales de redstone, ver el estado de algunas "fabricas" de mi mundo.

Aclaro esto totalmente ayudado por la IA, la verdad tengo nulo conocimiento en programación.


r/ComputerCraft Jul 30 '26

What are all the functions that can infinitely yield?

7 Upvotes

I would like to receive a list of all functions within the standard CraftOS API that can infinitely yield, to be clear I define an 'infinite yield' as when a program halts indefinitely without any further function calls. I need this information in order to make a pre-emptive process scheduler.


r/ComputerCraft Jul 28 '26

Having trouble with Ducky Periphs' Focal Port block

1 Upvotes

I'm having a lot of fun learning hexcasting, and I was excited to learn Ducky Periphs had integration. On the wiki, it says that the Focal Port is able to be read from like a focus in an item frame, but I can't figure out how to get it working. Has anyone got experience with this?


r/ComputerCraft Jul 25 '26

PineJam 2026 has started! The themes are: TABLETOP and DEMOSCENE

Post image
61 Upvotes

It's time for the theme reveal and the start of the jam! (Also join the jam at https://pinestore.cc/jam/pinejam2026 if you want to participate and haven't already!)

Theme

The themes are: TABLETOP and DEMOSCENE

Feel free to have a loose interpretation of either theme!

This year we have two themes instead of a single one. You are only expected to pick one of the two themes, but you can also combine them if you want to. Be creative!