跳到正文

CC: Wireless Peripheral Sable

作者:TierForger

Adds wireless peripheral linking for CC: Tweaked computers on Sable contraptions. Connect remote peripherals through a persistent virtual hub with configurable link costs and limits. Requires Create, Sable, and CC: Tweaked.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

CC: Wireless Peripheral Sable

Running modem cables through a moving contraption is rarely convenient. CC: Wireless Peripheral lets CC:Tweaked computers connect to remote peripherals through persistent wireless links, so your Lua programs can use them through the familiar peripheral API without a physical wired-modem network.

The idea was inspired by Drive-By-Wire, reimagined here specifically for CC:Tweaked computers and peripherals. This is a separate implementation built around CC:Tweaked’s peripheral system, with support for stable device names, saved links, and moving Sable assemblies.

Select a computer with the Wireless Peripheral Linker, use it on the side of a peripheral, and that device becomes available to the selected computer. Linked peripherals keep their assigned names across world saves and can be remapped when supported Sable assemblies move, making the mod a natural fit for vehicles, mobile factories, control systems, and other Create or Sable builds where cables would be awkward or impossible.

Features

  • Persistent wireless links between CC:Tweaked computers and peripherals
  • Integration with the standard CC:Tweaked peripheral API
  • Stable, collision-safe names for linked peripherals
  • Automatic remapping for supported moving Sable assemblies
  • A visual link overlay while holding the linker
  • Configurable item costs for creating links
  • A configurable link limit per computer, including unlimited links
  • Item refunds when links are removed safely with the linker
  • English and Russian localization

Requirements

  • NeoForge
  • CC:Tweaked
  • Create
  • Sable

The mod must be installed on both the client and the server.

Getting started

  1. Craft a Wireless Peripheral Linker.
  2. Use it on a CC:Tweaked computer to select that computer.
  3. Use it on the side of the peripheral you want to connect.
  4. Access the linked device from Lua through the normal peripheral API.

Sneak-use a linked peripheral with the linker to remove that link and recover the configured link-cost item.

Sneak-use in the air to clear the linker’s selected computer without removing any existing links. Sneak-use the selected computer itself to remove its virtual wireless hub and all associated links, returning any recoverable link-cost items.

Configuration

Server owners and modpack authors can configure whether creating a link consumes an item, which item is used, and how many peripherals may be linked to a single computer.

The configuration file is created separately for each world:

<world>/serverconfig/cc-wireless-peripheral-sable-server.toml

Important notes

Linked peripherals only work while their chunks are loaded. The mod does not force-load chunks on its own.

Breaking or replacing a linked peripheral removes its link without refunding the stored link-cost item. Remove the link with the Wireless Peripheral Linker before breaking the peripheral when you want the item returned.

常见问题

CC: Wireless Peripheral Sable 支持哪些 Minecraft 版本?

CC: Wireless Peripheral Sable 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

CC: Wireless Peripheral Sable 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

TierForger 的其他作品

查看全部 →