r/ComputerCraft • u/Least-Bullfrog6902 • 20h ago
How does computercraft work??
So I've been scrolling through this community and I wonder how does this mod work. Likee what does it at and what functions does it have?
8
Upvotes
5
u/IJustAteABaguette 19h ago
Super simply, you have a computer block that can run your own Lua code.
It also has a bunch of "peripherals". Basically just extra components to interact with the world. Sending data to other computers wirelessly, changing redstone signals, monitors, reading of block data, moving around items in and between chests.
Also there's a turtle variant that can do all those things, but also move around, mine/attack stuff and has an inventory. The moving around part does cost fuel.
2
u/Professorkatsup 12h ago
In a "how does modding work at all" sense, I have no idea. Haven't touched java seriously.
In a "what can this mod be used for" sense, there's a fair bit. The most "useful" things I end up using computers for are redstone and create contraption control. I've made storage networks before as well, but none good enough to warrant not including an actual storage / logistics mod.
2
u/Flat-Panic8622 18h ago
it's a logistics mod like SFM, LogisticsNetworks, IntegratedDynamics
but all actions your blocks from this mod (computer, turtle, peripherals) performed by executing Lua code.
Also because of that it can do some things beyond.