CC: Relative Routing
by tomtomato
CC: Relative Routing lets ComputerCraft programs call peripherals by their position relative to a router rather than by peripheral ID or name.
What it does
The mod adds two ComputerCraft peripherals. A Redstone Router Peripheral Router is placed next to a computer and connected to it, and a computer can then reach other blocks around the router by relative direction and offset. Using the Target Wand on a block prints its offset as a Lua line in chat, so the coordinates do not need to be counted by hand.
Because programs refer to positions instead of peripheral IDs, a program written for one build can be moved to another layout with fewer edits. The router also sends signals to specific block faces (north, south, east, west, up, down) and can wrap nearby CC-compatible peripherals. Installation requires CC: Tweaked, the mod is published for NeoForge only, for 1.21.1, and runs on client and server, so both the server and every player need it. The code is not open source; it is licensed as All rights reserved.
Key features
Relative peripheral calls
Peripherals are addressed by their offset from a router, not by an ID or a side, so the same code works wherever the router is placed.
Block face signalling
The router sends a redstone signal to a chosen face of a target block without running wire to it.
Target Wand coordinate printing
Right-clicking a block prints its relative coordinates and a Lua line to chat, replacing manual counting.
Peripheral Router detection
A Peripheral Router reports what peripheral sits at each position it targets, and can wrap nearby peripherals for use by the connected computer.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Questions
Does CC: Relative Routing need CC: Tweaked?
Does the server need the mod?
How are relative coordinates obtained?
In the catalog
CC: Relative Routing is one of 8,499 Technology mods on ModsFinder, and one of 3,557 Technology mods for NeoForge. 32,366 mods support Minecraft 1.21.1.
More from tomtomato
Similar mods
What the author says
CC: Relative Routing adds two ComputerCraft peripherals that lets you interact with the world using relative coordinates instead of peripheral IDs, making your programs portable and reproducible. Send wireless redstone signals to relative coordinates and block faces.
Official listing
- Modrinth page
- modrinth.com/mod/cc-relative-routing
- Owner
- tomtomato
- Published
- 2026-06-07
- Updated on Modrinth
- 2026-08-29
- Facts verified
- 2026-10-15
