CC: Tweaked · Addon guide · Intermediate

CC:C Bridge Guide: How to Automate Create Mod Trains, Stress & Display Boards

Bridging the gap between Create's mechanical engineering and CC: Tweaked's Lua programming unlocks true smart-factory automation. By installing the CC:C Bridge addon, you can use a single Advanced Computer to dynamically adjust rotational speeds based on network stress, automate train schedules, and push real-time telemetry to Create's mechanical Display Boards. This guide walks you through setting up a wired peripheral network that prevents factory overstressed shutdowns while broadcasting live diagnostics.

What you need

  • CC: Tweaked, Create, and the CC:C Bridge addon installed
  • Advanced Computer (or standard Computer)
  • Wired Modems and Networking Cables
  • Source Block and Target Block (from CC:C Bridge) or direct peripheral connection depending on your version
  • Create Display Link and Display Board (powered by a rotational source)
  • Create Stressometer and Rotation Speed Controller
  • Create Train Station (placed and linked to a track)

Step by step

  1. 1Connect the Mechanical Network via Wired Modems

    Start by placing a Stressometer and a Rotation Speed Controller onto your active Create kinetic network. Shift-right-click a Wired Modem onto the flat face of the Stressometer, the Rotation Speed Controller, your Train Station, and your Advanced Computer. Run Networking Cables between all the modems, then right-click each modem affixed to a Create block so its border turns red; the chat will print the exact peripheral string name (such as create_stressometer_0).

    Tip: Always write down or copy the peripheral names printed in chat, or use peripheral.getNames() in the Lua prompt to view all connected devices.

  2. 2Set Up the Target Block and Display Board

    Construct a multi-block Create Display Board and provide it with rotational power so the flaps can spin. If your version of CC:C Bridge allows direct Display Board wrapping, attach a Wired Modem directly to it; otherwise, place a CC:C Bridge Source Block on your modem network, attach a Create Display Link onto the Source Block, and target your Display Board with the Display Link before placing it. Configure the Display Link interface to read from the computer source.

    Tip: Display Boards require a tiny amount of continuous rotational speed (RPM) to update their text; if the board is not moving, check its cogwheel connection.

  3. 3Discover Methods in the Interactive Lua Shell

    Right-click the Advanced Computer and type 'lua' to enter the interactive read-eval-print loop. Test your connections by typing peripheral.getMethods('peripheral_name') using one of the names you activated earlier. Because method names can vary slightly across mod versions, looking at the returned table in-game is the most reliable way to verify exact capitalization for functions like getStress() or setTargetSpeed().

    Tip: Type exit() to leave the interactive Lua environment when you are ready to write your main script.

  4. 4Read Stress Network Telemetry

    Create a new program by typing 'edit factory.lua' in the terminal. Wrap your Stressometer at the top of the script using local stressMeter = peripheral.find('create_stressometer') (check JEI or peripheral.getType() if the string identifier differs). Inside a while true do loop, call local currentStress = stressMeter.getStress() and local maxCapacity = stressMeter.getStressCapacity() to calculate your network load percentage.

    Tip: Always include os.sleep(1) at the bottom of your while loop so your script yields and does not crash with a 'Too long without yielding' error.

  5. 5Program Dynamic Rotation Speed Control

    In the same script, wrap your Rotation Speed Controller using local speedCtrl = peripheral.find('create_rotation_speed_controller'). Write an if-else statement inside your loop that checks if currentStress / maxCapacity is greater than 0.90 (90% load). If the network is near overstressing, call speedCtrl.setTargetSpeed(32) to throttle non-essential machinery down; if load drops below 0.70, call speedCtrl.setTargetSpeed(128) to restore full factory output.

    Tip: Pass negative numbers into setTargetSpeed() if your contraption requires reverse rotational direction.

  6. 6Format and Push Text to the Display Board

    Wrap your CC:C Bridge Target/Source block or Display Board peripheral in the script. Use the peripheral's line-writing methods (commonly setLine(lineNumber, text) followed by update() on a Source Block, or terminal redirection via term.redirect() depending on the block used) to format a clean string like 'Load: ' .. math.floor((currentStress/maxCapacity)*100) .. '%'. Every time your loop runs, the mechanical flaps on the Create Display Board will physically spin to show the updated stress values and current RPM target.

    Tip: Pad or truncate your strings with string.sub() so text does not overflow the width of your physical Display Board.

  7. 7Automate Train Station Dispatch and Tracking

    Wrap your connected Train Station using local station = peripheral.find('create_station'). Within your monitoring loop, check if a train is currently docked by calling station.isTrainPresent(). When true, you can pull the train's name with station.getTrainName(), broadcast its arrival onto line 3 of your Display Board, and even read or dynamically push a new timetable table using the station's schedule API methods.

    Tip: You can pull os.pullEvent() in a parallel coroutine if you want instant event-driven notifications the exact tick a train arrives at the station.

How it works

CC: Tweaked treats external blocks as 'peripherals' when they expose a valid programmatic interface. By default, Create blocks only speak to other Create components via kinetic shafts or Display Links. CC:C Bridge acts as a translation layer that injects CC: Tweaked peripheral providers directly into Create's tile entities, turning mechanical properties like stress units (SU), rotational speed (RPM), and train schedules into callable Lua functions.

When your Lua script calls a method like setTargetSpeed(), CC:C Bridge intercepts that Lua value and safely queues a state change on the Minecraft server thread for the next game tick. Similarly, when using a Source Block with a Display Link, the computer writes string buffers into the Source Block's memory, and Create's native Display Link periodically polls that buffer to trigger the kinetic Flap Display update animation.

Common mistakes

  • Forgetting to right-click the Wired Modem attached to the Create block: if the modem ring is grey instead of red, the computer cannot see the block on the network.
  • Omitting os.sleep() in monitoring loops: polling a Stressometer or Train Station infinitely without pausing will cause CC: Tweaked to terminate your script for hogging server resources.
  • Unpowered Display Boards: even if your Lua code executes without errors and the Display Link is flashing, the Flap Display will remain blank unless it is actively receiving kinetic rotation from a shaft or cogwheel.
  • Guessing peripheral names or method signatures: different releases of CC:C Bridge and Create can slightly rename peripheral types; always verify using peripheral.getNames() and peripheral.getMethods() in the live Lua prompt.

FAQ

Can I connect the computer directly next to a Create block without Wired Modems?

Yes. Placing a Computer directly adjacent to a supported Create block like a Rotation Speed Controller allows you to wrap it using its relative side (e.g., peripheral.wrap('right')), though Wired Modems are much cleaner for managing multiple machines across a factory.

Why does my Display Board update slowly compared to a ComputerCraft Monitor?

Create Display Boards are kinetic machines governed by Create's tick rate and Display Link refresh intervals, meaning they update every few ticks or seconds rather than instantaneously like an electronic CC: Tweaked Advanced Monitor.

How do I keep my factory control script running after a server restart or chunk unload?

Rename your script to 'startup.lua' in the root directory of your computer so CC: Tweaked automatically boots and executes the program whenever the computer's chunk loads.

Can a Turtle interact with Create peripherals too?

Yes, if a Turtle pauses adjacent to a supported Create block, it can call peripheral.wrap() on that direction just like a stationary computer, which is great for mobile train-yard maintenance bots.

By linking Create's kinetic blocks and train stations to a CC: Tweaked computer via CC:C Bridge, you can run automated Lua scripts that dynamically balance network stress, control RPM, and broadcast live factory status onto mechanical Display Boards.

More CC: Tweaked guides

CC: Tweaked · Getting startedCC: Tweaked Getting Started Guide: First Computer, CraftOS & PastebinCC: Tweaked brings fully programmable computers into your Minecraft world, allowing you to automate almost any task using the Lua programming language. In this guide, you will learn how to craft your first computer, navigate the CraftOS terminal, write a simple script, and download community-made programs straight into your game. Mastering these foundational skills is the essential first step before moving on to autonomous mining turtles and complex base networks.Beginner7 steps
CC: Tweaked · ExplainedLua for CC: Tweaked Explained: Variables, Functions & The os.pullEvent LoopWriting your own scripts in CC: Tweaked unlocks total control over your Minecraft world, allowing you to automate everything from simple redstone doors to complex Turtle mining arrays. This guide breaks down the essentials of the Lua language—specifically variables, functions, and the critical event-pulling loop—so you can build reliable programs that never freeze or crash.Beginner6 steps
CC: Tweaked · PowerTurtle Fuel & Progression Guide: From Basic Turtles to Infinite Lava RefuelingTurtles in CC: Tweaked are powerful mobile robots, but they cannot move a single block without fuel. In this guide, you will learn how the internal Turtle fuel economy operates, how to upgrade from basic gray models to high-capacity Advanced Turtles, and how to program a self-sustaining Nether lava refueling loop.Beginner7 steps
CC: Tweaked · AutomationHow to Automate Strip Mining & Quarries with Mining TurtlesManual mining is one of the most time-consuming tasks in survival Minecraft, often taking hours away from complex base building and automation. With CC: Tweaked, you can deploy programmable Mining Turtles to carve out massive quarries and strip mines completely hands-free. This guide will walk you through crafting a Mining Turtle, setting up an automated fueling and chest-dumping station, and running both built-in and custom Lua mining scripts.Intermediate8 steps
CC: Tweaked · ExplainedPeripherals & Wired Networks Explained: Wrapping, Modems & Networking CablesIn CC: Tweaked, a standalone Computer can only do so much on its own; its real power comes from controlling external blocks known as peripherals. This guide will teach you how to connect your Computer to adjacent and distant machines—like Monitors, Speakers, and Chests—using Wired Modems, Networking Cables, and the Lua peripheral API. Mastering wired networks allows you to manage an entire base's inventory and automation from one central terminal.Intermediate8 steps
CC: Tweaked · Setup guideHow to Build a CC: Tweaked Storage Network & Auto-Crafting SystemIn this advanced guide, you will build a centralized item storage network and an on-demand auto-crafting system using CC: Tweaked's Wired Modems, Advanced Computers, and Crafty Turtles. By leveraging the native inventory peripheral methods in Lua, you can create a zero-RF digital storage solution that rivals dedicated logistics mods while giving you total programmable control over every item slot.Advanced8 steps