← Назад к ресурсам

CC: Wireless Peripheral Sable

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.

Modrinth technology

Описание

# 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: ```text /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.