CC: Redstone Link Bridge 图标

CC: Redstone Link Bridge

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.3
本资源为搬运资源,原资源地址: https://modrinth.com/mod/cc-redstone-link-bridge
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: management technology

资源介绍

CC Redstone Link Bridge

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

The mod is intentionally minimal. The Lua interface only exposes the two operations that are 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.

The frequency values are item IDs written as strings.
For example, minecraft:iron_ingot and minecraft:oak_sapling form one valid pair.

Crafting Recipe

Crafting Recipe

The recipe is a 3x3 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) -> number
  • sendLinkSignal(freq1, freq2, strength)

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.

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)
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Vampires Need Umbrellas

价格:0 墨喵币
下载量:0

查看详情
Invincible Custom GUI Pack

价格:0 墨喵币
下载量:0

查看详情
HostileMobSpawning

价格:0 墨喵币
下载量:0

查看详情
FConfigLib

价格:0 墨喵币
下载量:0

查看详情