r/ComputerCraft • • Jun 29 '20

i made a rasterization engine thing, what'd'y'all think?

40 Upvotes

r/ComputerCraft • • 21d ago

iDar OS update: it now has an audio subsystem :D

39 Upvotes

iDar OS now has an audio subsystem:

  • /dev/audio and /dev/audio_dfpwm as device nodes

  • a play command that streams DFPWM from a server with token auth

  • playlists via pipes: cat hash.txt | play

  • runs alongside other processes, so I can switch TTYs (Ctrl+1..6) while it plays


r/ComputerCraft • • Jun 20 '26

NekoMOD: ProTracker for ComputerCraft (Version 1.0)

39 Upvotes

This is a heavily optimized ProTracker player that i made for ComputerCraft, it is inspired from MinkMod (https://www.reddit.com/r/ComputerCraft/comments/1o497xb/minkmod_a_protracker_player_written_in_lua_for/).

This supports:

  • 44.1 kHz Playback (which is CD Quality audio) [NO 12 KHZ LIMIT!!]

  • Linear Interpolation

  • And Way More!

It has been heavily optimized via localizing globals (it's way faster to do this than global tables) and recycling mixCache, rawBuffer, and outputBuffer

You can try it by doing: pastebin get 0Kwx11cX NekoMOD.lua

Source Code is at https://pastebin.com/raw/0Kwx11cX


r/ComputerCraft • • Dec 28 '25

Create meets Computercraft - working flute organ in my cathedral

39 Upvotes

r/ComputerCraft • • Nov 08 '25

VBC : A videoplayer forr CC:Tweaked !

39 Upvotes

I've been working on a video player for a while, and after testing several methods, I think I've finally found something usable! I hope you like it!

https://www.youtube.com/watch?v=PHqmMYMrotw

https://github.com/Arkowne/vbc-computercraft


r/ComputerCraft • • Oct 16 '25

Is it possible to put variable in rednet.send?

Post image
39 Upvotes

I'm trying to make a turtle remote so I can make many turtles separatly from using only 1 remote via ids


r/ComputerCraft • • Jan 01 '24

Happy new years minecrafters!

Post image
39 Upvotes

r/ComputerCraft • • Oct 23 '23

Mmm terrain with structure generation

Post image
39 Upvotes

r/ComputerCraft • • Aug 10 '21

Just found this sub so i though I would post this here to. This was my first real project I made in ComputerCraft. Any tips on how to improve?

39 Upvotes

r/ComputerCraft • • Sep 07 '25

Anything wrong

Post image
38 Upvotes

r/ComputerCraft • • Oct 23 '24

SIGILS: a ComputerCraft factory manager and item pipe replacement

38 Upvotes

SIGILS, the Shack Industries Graphical Item Logistics Software, is a system where you connect your in-game machines to a ComputerCraft computer with wired modems and create virtual item pipes using a web browser.

Basically I was playing a modpack and I got tired of having to organize all my pipes just to break them when I needed to change them, so being a programmer I decided that the solution to all things is software.

A tutorial for the basic usage of SIGILS is available. I intended to make a video about it but without any external motivation, I stopped working on it when I stopped playing my modded playthrough. I think most of my playthrough was spent programming SIGILS, though.

Anyone brave enough to try SIGILS can report issues to the GitHub issues page. Maybe if people start using it, I'll be motivated to work on it again.

Here's a screenshot of a basic mass-smelting setup. If you drag any machine into another machine, you can combine them into super-machines and make groups of their slots that you can create pipes to and from. This one combines furnaces, blast furnaces, and smokers into one mega-furnace:

And here's a screenshot of a section of my factory from last playthrough, which processes ores in my massive Integrated Dynamics chest monster, generates obsidian with Create and Integrated Dynamics, and runs my Immersive Engineering potato-to-biodiesel refinery.

Some mods don't play nice with the ComputerCraft Inventory API, such as Mekanism, so as a workaround I attach hoppers and Create chutes stuff to the sides of Mekanism machines and connect the hoppers to the wired modems instead, which SIGILS pipes items between.

Also, SIGILS supports fluids, which is great because I find pumping fluids around to be an absolute nightmare.


r/ComputerCraft • • Jul 23 '24

Tinkers smeltery with CC monitor

38 Upvotes

r/ComputerCraft • • Jun 10 '21

Turtle Butler Using Mekanism Boxes (Sorry for lag spike)

38 Upvotes

r/ComputerCraft • • Aug 01 '26

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

Post image
37 Upvotes

r/ComputerCraft • • Jun 19 '23

Pure Lua ChatGPT Interface in ComputerCraft (API key required)

Post image
37 Upvotes

r/ComputerCraft • • Apr 29 '26

Auto realoding a cannon with ComputerCraft

36 Upvotes

I fell like need some Optimization i Will paste the code in the coments


r/ComputerCraft • • Jan 14 '26

Computes are connecting despite using endermodems. Compact machines issue?

Thumbnail
gallery
36 Upvotes

this is in the overworld and this is in the compact machine

attached are the images of the setup, which is very, very simple. the only differance between this and the final is that there will be an alarm on top of the second computer, which goes off when a redstone signal is applied.

the modems are connecting to the PC's but not to eachother. the test message isnt going through. I dont know whats wrong :/


r/ComputerCraft • • Nov 28 '25

Dopamine Driven Development

36 Upvotes

code really bad and barely useable therefore no link


r/ComputerCraft • • Aug 07 '25

http.get() returns nil despite correct config — works with wget

Post image
36 Upvotes

The image shows the first Lua line as: local body = http.get("http://192.168.1.41:5005/sg-command")

I've been making my own script for calling a Python Flask server API to get commands for a Stargate. I have very recently encountered an issue where I can't get anything from the API, and the function "http.get()" returns nil. I've tested this several times on a single-player world as well as my creative testing server, and I'm still getting the issue. The issue

Checking my 'computercraft-server.toml' file, I can see that under http.Rules, host is set to private ($private), and action is set to allow. This configuration is on my server and my modpack instance

[[http.rules]]
#The magic "$private" host matches all private address ranges, such as localhost and 192.168.0.0/16.
#This rule prevents computers accessing internal services, and is strongly recommended.
host = "$private"
#Allow all requests to private IP addresses.
action = "allow"

Client & Server:
Neoforge 1.21.1 - 21.1.197
Mods Related to the issue:
CC: Tweaked - cc-tweaked-1.21.1-forge-1.116.1.jar
StargateJourney - Stargate Journey-1.21.1-0.6.40.jar

My API is only hosted locally at (192.168.1.41:5005/sg-command)
API body (from Postman): {"action":"open","from":"home","to":"farms"}
Here's my script: https://pastebin.com/9GuseW1a
Official StargateJourney Documentation:
https://povstalec.github.io/StargateJourney/computercraft/stargate_interface/
https://povstalec.github.io/StargateJourney/survival/dialing/#dialing-with-computercraft

I've tried ChatGPT to solve this issue, and I just keep going in circles, so any help is greatly appreciated.

If you need any more info on this, I'll be more than willing to supply (within reason, I'm not giving public access to my homelab servers)


r/ComputerCraft • • Aug 09 '24

proud of myself for this one, first (fully working properly) computercraft.. thing. now to get some turtles to make use of this

Post image
36 Upvotes

r/ComputerCraft • • Nov 09 '23

Watermelon Game 3D for CC is now on PineStore!

36 Upvotes

r/ComputerCraft • • Jul 07 '23

very fast palette based color quantization

36 Upvotes

r/ComputerCraft • • Jul 31 '21

Did a color paper printer to print output from the paint program. Is there a better character to use?

36 Upvotes

r/ComputerCraft • • Jun 13 '21

Less Stupid: Turtle Programs

36 Upvotes

Hello Everyone,

After avoiding coding in minecraft for a long time, i got curious about the turtles, since i lacked another way to Quarry.

I have now created scripts:

  • pastebin get z9WbNS89 Miner

  • pastebin get ViyCvtJ1 Planer

  • pastebin get xn7XEVrU Refuel

  • pastebin get wKfL4vr1 Module

  • pastebin get PAR9xAc5 Chop

As you can probably tell, this led to an appreciation for this mod and all the possibilities.

Feel free to ask questions and modify the code.

i will update the Pastebin, whenever i have a new stable version for release.

Currently the code isn't exactly optimized, but it is definitely acceptable for my needs.

(and in my biased opinion, more practical than a lot of other turtle scripts)

Less Stupid: Mining Turtle

My take on a semi intelligent mining turtle.

This Miner will leave minimal change in landscape, as it attempts to only mine valuable resources.(There is a easy to edit "Blacklist" for unwanted materials)

I like to let 2 run at the same time, then when they mine away, i check tunnels previously made and get anything they missed. (The script isn't perfect but it takes out 90% of the work)

Less Stupid: Refueler

Uses all consumable fuel in it's inventory to refuel.

Less Stupid: Planer

Removes all blocks within and above coordinates.

If you place a stack of blocks in the inventory, it will use them to create a flat floor.

Less Stupid: Module Builder

Creates modules for the Chopper script to use. Uses items in Top row.

Less Stupid: Chopper

After trees has been planted and grown the Chopper can harvest all of the wood for you.

Use Diorite bricks instead of cobble.

NOTES:

Known issues:

  • Sand and gravel f*cks up the turtles pathing algorithm*(might fix it in a complete revisit of the miner script)*

  • The Fuel required is way off.(Just give it a lot of fuel, the turtle keeps its fuel when picked up)

  • Chopper script may or may not only accept Cobble and/or Diorite Bricks.