All Mods Resource Packs Data Packs Shaders Modpacks Plugins
CC: Create Redstone Link

CC: Create Redstone Link

by ryleu • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

CC: Create Redstone Link

Based on https://modrinth.com/mod/cc-redstone-link-bridge. I would have simply contributed the additional feature of adding color support there, but unfortunately that mod is not source available (despite the MIT license on its page).

This mod connects Create Redstone Link networks with CC:Tweaked computers. It adds a single block, the CC Redstone Link Bridge, which can be placed in the world and then used as a ComputerCraft peripheral.

This mod requires Create and CC:Tweaked.

What the Mod Does

The bridge acts as a small adapter between two systems:

  • Create provides the Redstone Link network.
  • CC:Tweaked provides Lua control from computers.

With the bridge block in the world, a connected computer can:

  • read the current signal strength of any Redstone Link frequency pair
  • send a signal strength to any Redstone Link frequency pair
  • optionally tag either frequency slot with a 24-bit RGB dye color

The mod is intentionally minimal. The Lua interface only exposes the operations required for direct network interaction.

How It Works

When the peripheral is used from Lua:

  • getLinkSignal(freq1, freq2) looks up the current strength for that frequency pair.
  • sendLinkSignal(freq1, freq2, strength) sets the target frequency pair and transmits the chosen strength.

Both functions accept two optional trailing arguments, color1 and color2, which apply a dye color to the corresponding frequency slot. The frequency values are item IDs written as strings. For example, minecraft:iron_ingot and minecraft:oak_sapling form one valid pair.

Crafting Recipe

The recipe is a 3×3 shaped craft with Redstone Links in all four corners, a Wireless Modem in the center, and Cobblestone in the bottom-middle slot. The three remaining middle-edge slots (top-middle, middle-left, and middle-right) are filled with Create transmitters.

Lua API

Peripheral type:

  • redstone_link_bridge

Methods:

  • getLinkSignal(freq1, freq2 [, color1 [, color2]]) -> number
  • sendLinkSignal(freq1, freq2, strength [, color1 [, color2]])

Frequency Values

freq1 and freq2 must be item IDs as strings.

Examples:

  • "minecraft:iron_ingot"
  • "minecraft:oak_sapling"
  • "minecraft:redstone"

Use an empty string ("") if you want to represent an empty frequency value.

Frequency Colors

color1 and color2 are optional 24-bit RGB integers in the form 0xRRGGBB. They are only meaningful when the corresponding frequency item supports Minecraft's DYED_COLOR data component, which is only leather armor and leather horse armor in vanilla. A colored slot is on a different Redstone Link network from an uncolored slot of the same item, and different colors produce different networks.

The Minecraft Wiki Dye page lists the RGB value each of the 16 standard dyes produces when applied to leather armor in Java Edition. Useful values:

  • 0xB02E26 -- Red Dye
  • 0x3C44AA -- Blue Dye
  • 0xFED83D -- Yellow Dye
  • 0x5E7C16 -- Green Dye
  • 0x1D1D21 -- Black Dye
  • 0xF9FFFE -- White Dye

Pass nil (or simply omit the argument) for a slot that should remain uncolored. To color only the second slot, pass nil for the first.

Example

local bridge = peripheral.find("redstone_link_bridge")
assert(bridge, "No redstone_link_bridge found")

-- Read an existing frequency pair
local current = bridge.getLinkSignal("minecraft:diamond", "minecraft:redstone")
print("Current signal:", current)

-- Send a signal to a frequency pair
bridge.sendLinkSignal("minecraft:diamond", "minecraft:redstone", 7)

-- Send on a color-tagged channel. This matches a physical Redstone Link
-- whose leather-armor slots were dyed with one Red Dye and one Blue Dye.
bridge.sendLinkSignal(
    "minecraft:leather_chestplate",
    "minecraft:leather_helmet",
    15,
    0xB02E26,   -- Red Dye
    0x3C44AA)   -- Blue Dye

-- Only the second slot is colored
bridge.sendLinkSignal(
    "minecraft:leather_chestplate",
    "minecraft:leather_helmet",
    15,
    nil,
    0x3C44AA)   -- Blue Dye

How to Install CC: Create Redstone Link (Mod)

CC: Create Redstone Link by ryleu is verified for Neoforge across Minecraft versions 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6 (latest release: 0.1.1, file size: 40 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6) and platform (Neoforge).
  2. Make sure you have the compatible loader or environment installed for Neoforge.
  3. Move the downloaded CC: Create Redstone Link file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x
Neoforge
4mo ago 1
1.21.x
Neoforge
6mo ago 1
1.21.x
Neoforge
6mo ago 1
1.21.x
Neoforge
6mo ago 1
## Fixes

  • Respect Create's linkRange config when reading signals** (#2, reported by @aldveylor). getLinkSignal was iterating every transmitter on the network without doing a range check, so it would pick up signals that Create's own receivers correctly ignore as out-of-range. The bridge now filters by closerThan(bridgePos, linkRange) against the bridge's (or holder's, for the pocket/turtle upgrade) position, matching Create's own RedstoneLinkNetworkHandler.withinRange behavior.
fix empty frequencies not working
Fix models, translations, and loot table
Initial release
CC: Create Redstone Link Icon
Download CC: Create Redstone Link
Select game version
Select platform