CC: Create Redstone Link

This mod connects Create Redstone Link networks with CC:Tweaked computers.

Редакция NLZONE · 2 мин чтения · 1 просмотр
CC: Create Redstone Link
Скачать CC: Create Redstone Link1.21.1 – 1.21.9 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

This mod connects Create Redstone Link networks with CC:Tweaked computers.

  • Тип: мод
  • Загрузчик: neoforge
  • Версии Minecraft: 1.21.1 – 1.21.9
  • Скачиваний на Modrinth: 12 390

Подробно

Based on . 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.

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.

- 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:ironingot and minecraft:oaksapling form one valid pair.

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

freq1 and freq2 must be item IDs as strings.

- "minecraft:ironingot" - "minecraft:oaksapling" - "minecraft:redstone"

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

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 DYEDCOLOR 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 - 0x5

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также