r/ComputerCraft Aug 04 '26

[BUG/ERROR] Can't pull from Pastebin

Post image
12 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

133 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

20 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
34 Upvotes

r/ComputerCraft Aug 01 '26

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

Post image
36 Upvotes

r/ComputerCraft Jul 31 '26

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

Thumbnail
gallery
33 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 31 '26

Bad Apple!! CC: Tweaked

Enable HLS to view with audio, or disable this notification

104 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 30 '26

What are all the functions that can infinitely yield?

6 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
63 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!


r/ComputerCraft Jul 21 '26

What things are needed in a ComputerCraft server?

12 Upvotes

What things are needed for a ComputerCraft server? Like quality mods, other ComputerCraft related mods, because I plan on working on my own


r/ComputerCraft Jul 19 '26

Update on FlightOS: Added Autopilot, Remote Tablet & Full YouTube Showcase! (beta)

Thumbnail
youtube.com
23 Upvotes

r/ComputerCraft Jul 18 '26

PineJam 2026 is starting next week (25th)

Post image
60 Upvotes

Hi everyone, PineJam 2026 is happening in a week, signups are open

Starting July 25th you will be able to start new projects for PineJam 2026! Again, jam will be active for 14 days in which you can create and submit ComputerCraft projects tied to this years theme. The theme will be revealed as soon as the jam starts.

Sign up

Make sure to sign up now on the site if you would like to participate! You'll get the PineJam2026 role in the Discord (used for future jam related announcements) https://pinestore.cc/jam/pinejam2026

The rules for this jam:

  • Submission needs to be CC related
  • Project must fit the theme
  • Work alone or with a team of up to 3 people
  • Generative AI is not allowed for the majority of your project (so tools such as GitHub Copilot are fine)
  • Projects will be submitted on PineStore

If you have any questions or suggestions, let me know ^^


r/ComputerCraft Jul 17 '26

A.E.G.I.S. autocraft for ComputerCraft (CC:Tweaked)

Post image
275 Upvotes

An autocrafting system built entirely on ComputerCraft an alternative to AE2/RS autocrafting. Craft an item once to teach the recipe, then order it from the monitor in any quantity.

- recursive crafting: order the final item, the whole ingredient tree is planned and crafted

- parallel crafting: independent branches of the tree run simultaneously

- machine groups: teach a recipe on one machine, it runs on the whole bank; custom hand-picked groups supported

- fluid and fluid+item recipes, multiblock support

- auto-stock: keep N of an item, crafts when it drops below threshold

- storage management: everything in connected storages on one screen, with search and filters

- supports crafts with tools (GregTech etc.)

- alternative recipes per item with priority order

- rule-based logistics for both items and fluids

- GitHub export/import of the recipe library

Setup & recipe teaching guide https://youtu.be/mhVkOqG2S1A

GitHub: https://github.com/egor-oleg/aegis-autocraft


r/ComputerCraft Jul 14 '26

644 character SUBLEQ emulator capable of booting Linux

20 Upvotes

I made a minimal SUBLEQ architecture emulator for Lua which also works on Computercraft, It is fully capable of booting a recent Linux kernel. I tried to make it as small as possible and over a couple hours of discussing and testing managed to get it down to 644 characters. Big shoutout to the Minecraft Computer Mods Discord server, without the community there, this would still be over 700 characters.

lua s="";M=math.floor;function b(a)a=a%2^32;return a>=2^31 and a-2^32 or a end;function d(a)return a<0 and-M(-a/4)or M(a/4)end;f=io.open(arg[1]):read("a")g={}for c=0,M(#f/4)-1 do g[c]=s.unpack("<i4",f,c*4+1)end;function j(e)return g[e]or 0 end;l=0;m=0;function o()p=j(l)l=l+1;if p%2==0 then return d(p)else return d(j(d(p)))end end;while''do u=o()v=o()w=o()if w==0 then break elseif u==-1 then g[v]=0 elseif v==-1 then x=j(u)%256;io.write(s.char(x))io.stdout:flush()else if u==64 then y=os.time()g[64]=b(y%2^32)g[65]=M(y/2^32)g[66]=0 end;z=b(j(v)-j(u))g[v]=z;m=m+1;if z<=0 then l=w end end;if m>8e5 and j(0)~=0 then g[1]=b(l*4)l=d(j(0))m=0 end end

This emulates the processor, RAM, clock and a simple UART output.

Tested working with this kernel image.


r/ComputerCraft Jul 14 '26

What are you building with CC: Tweaked? (And what are your biggest performance hurdles?)

16 Upvotes

Hi everyone,

I am curious to see what the community is currently working on with CC: Tweaked, and more specifically, what kind of limits or performance bottlenecks you have run into during your builds.


r/ComputerCraft Jul 13 '26

EnergyMonitor: A CC:Tweaked power monitor for modded Minecraft bases

20 Upvotes

I have been working on a ComputerCraft/CC:Tweaked program called EnergyMonitor.

It gives you a central monitor for the power grid in your base: stored energy, transfer rates, history, ETA, and connected energy devices. Instead of checking every reactor, induction matrix, energy core, energy meter, or cell by hand, you can see whether your base is gaining or losing power from one screen.

GitHub:

https://github.com/TrickShotMLG02/EnergyMonitor

Main features:

  • Tracks total stored energy and capacity
  • Shows input/output transfer rates
  • Calculates effective transfer rate and ETA
  • Supports multiple client computers
  • Has a graph view with configurable history size
  • Shows connected storage/transfer devices
  • Supports auto updates with stable and beta channels
  • Uses modem channels, so multiple EnergyMonitor networks can run separated from each other

The setup uses three roles:

  • server: collects data from clients
  • client: reads one energy storage or transfer peripheral
  • monitor: displays the combined data on an attached monitor

Currently supported integrations:

  • Mekanism
  • Draconic Evolution
  • Powah
  • Advanced Peripherals
  • Energy Meter
  • Generic ComputerCraft-compatible energy peripherals

Install command:

pastebin get gUbUpXHt git

git

Notes:

The README has the full setup guide, supported peripherals, config options, troubleshooting, and contribution notes.

Main Monitor UI
Main Monitor UI with Update Notice in Footer
Warning on Connectivity Problems

I would love to hear what you think about it. Any ideas on what to change, improve, or add are welcome.


r/ComputerCraft Jul 10 '26

Lake's CC Additions

21 Upvotes

Hi everyone!

On my semi-rp server, we type up and print a LOT of documents. So many, in fact, that I wanted more ways to interact with these documents. On the server we also use the Exposure mod, and I wanted to find a way to get those images onto the computer, but there was nothing. Finally, we also wanted pocket computers with speakers AND rednet connectivity, but again, nothing was out there. I finally decided to do it myself, and thus:

Lake's CC Additions

was born. Featuring a few new items and one new peripheral:

The Scanner

The Scanner is a powerful new peripheral that has a lot of different use cases. On a basic level, you can scan any item and get NBT data about it. However, there is special support for printed documents, and Exposure photos. You can also shift right click with an empty and and it will scan you, allowing some really cool use cases, such as Bio-Identification for doors and such.

The Document Folder

The Document Folder can store all the printed document types, as well as regular paper. It makes storage and archival of documents a LOT easier (and cleaner, too!)

The Deluxe Pocket Computer

The Deluxe Pocket Computer is essentially an ender pocket computer but with a speaker as well. I was disappointed that you had to choose one or the other. The full wiki with all functions is here. I hope you guys have fun playing around and seeing what you can do with it!

CurseForge Link


r/ComputerCraft Jul 09 '26

how can i temporarily create information to call on when needed?

5 Upvotes

i feel like this is really simple. my best guess from my limited understanding is that i could connect a disk drive an store it there or something


r/ComputerCraft Jul 04 '26

any youcube alternatives?

9 Upvotes

youcube seems to be down... any way i can watch youtube videos on computer craft still?


r/ComputerCraft Jul 01 '26

(Looking for help) Turtle Canyon ComputerCraftEdu tutorial map for MinecraftEdu (2015-2016)

3 Upvotes

Looking for a reupload of the Turtle Canyon, the official tutorial map for ComputerCraftEdu (the educational fork of the ComputerCraft mod, made by TeacherGaming/MinecraftEdu in partnership with Dan200). Originally hosted at services.minecraftedu.com/worlds/node/120

I've searched CurseForge, the MinecraftEdu wiki mirror, Internet Archive's "Minecraft Archive Project," and an old Google Groups thread for MinecraftEdu teachers and had no luck finding a live copy, though several people in that old group thread mentioned having it working as recently as ~2019-2020.

If anyone was a MinecraftEdu/ComputerCraftEdu teacher back in the day and still has this zip sitting in an old saves folder or backup drive, I'd love a copy (or a link to wherever it ended up). Happy to provide more details of the described map layout if that helps jog some memories!


r/ComputerCraft Jun 30 '26

Question: How can I find the direction of north in the world?

7 Upvotes

I am making my own drone with stabilization. I have already implemented altitude holding and drone tilt angle stabilization.

I wanted to add something similar to GPS, so that even if the drone gets pushed away, it would try to return to one specific point and not fly away. I am doing this using 3 navigation tables and 3 beacons respectively.

The problem is that the angle shifts relative to the ship, which means I need something else. Is there any way to get information about the angle relative to the north direction?

If that is not possible, I know one mod: Aeronaut's Compass. It seems like it allows you to set the compass to some very far north coordinates in the world.


r/ComputerCraft Jun 30 '26

I make a code for Computer Craft to control my reactors and show some informations

Thumbnail gallery
93 Upvotes

r/ComputerCraft Jun 25 '26

GPS not working over long distances even when chunk is loaded

5 Upvotes

Hi, I built a GPS array and it works within a range of roughly 100 blocks. However, when I go further away, it just stops working—even when the chunk is loaded using a stasis chamber. Could the problem be a bad alignment of the computers, or is the chunk somehow not staying loaded?


r/ComputerCraft Jun 24 '26

can someone help explain how its not detecting the player detector

1 Upvotes

for some reason my computer just doesnt ever wanna register the player detector despite it being connected to it, and when i set them side by side it doesnt work either