This commit is contained in:
GaLicn 2025-12-12 16:07:47 +08:00
parent 7de602c373
commit 248a043631
4 changed files with 91 additions and 4 deletions

View File

@ -7,12 +7,15 @@
},
"B": {
"item": "extendedae_plus:wireless_transceiver"
},
"C": {
"item": "minecraft:emerald"
}
},
"pattern": [
"AAA",
"CAC",
"ABA",
"AAA"
"CAC"
],
"result": {
"item": "extendedae_plus:labeled_wireless_transceiver"

View File

@ -161,11 +161,12 @@ public class CraftingRecipes extends RecipeProvider {
.save(consumer, ExtendedAEPlus.id("network/crafting/" + ModItems.CRAFTING_ACCELERATOR_1024x.get().toString().toLowerCase()));
ShapedRecipeBuilder.shaped(RecipeCategory.MISC,ModItems.LABELED_WIRELESS_TRANSCEIVER.get())
.pattern("AAA")
.pattern("CAC")
.pattern("ABA")
.pattern("AAA")
.pattern("CAC")
.define('A', Items.PAPER)
.define('B', ModItems.WIRELESS_TRANSCEIVER.get())
.define('C',Items.EMERALD)
.unlockedBy("has_wireless_transceiver", has(ModItems.WIRELESS_TRANSCEIVER.get()))
.save( consumer)
;

View File

@ -0,0 +1,42 @@
---
navigation:
parent: introduction/index.md
title: 标签无线收发器
position: 2
icon: extendedae_plus:labeled_wireless_transceiver
categories:
- extendedae_plus devices
item_ids:
- extendedae_plus:labeled_wireless_transceiver
---
# 标签无线收发器
<BlockImage id="extendedae_plus:labeled_wireless_transceiver" scale="5" />
标签无线收发器基于无线收发器的跨维度传输能力,新增“标签网络”:通过输入标签自动生成/绑定唯一频道,同标签设备可直接互联,无需手动调频道数字。
## 工作机制
- **标签 → 频道映射:** 输入标签后,从标签注册表获取或创建唯一频道,并自动更新自身频率。
- **多点共享:** 多个同标签设备加入同一频道,实现一对多连接
- **绑定隔离:** 标签记录放置者/队伍信息,不同玩家或队伍的同名标签不会互通,确保隔离。
- **跨维度支持:** 与普通无线收发器一致,支持跨维度;主从区块需保持加载。
## 操作指南
### 标签管理
- **输入/搜索框:** 左侧输入标签可即时过滤列表。
- **新建标签New** 用输入框内容注册标签并绑定当前设备。
-- **设为当前Set** 选择列表标签后切换本设备频道到该标签。
- **删除Delete** 选中标签后删除(仅对自己拥有/有权限的标签有效)。
- **断开Disconnect** 清除当前标签并断开无线连接。
### 信息面板
右侧信息区显示:
- 当前标签与所有者
- 在线设备数量
- 频道占用(已用/最大)

View File

@ -0,0 +1,41 @@
---
navigation:
parent: introduction/index.md
title: Labeled Wireless Transceiver
position: 2
icon: extendedae_plus:labeled_wireless_transceiver
categories:
- extendedae_plus devices
item_ids:
- extendedae_plus:labeled_wireless_transceiver
---
# Labeled Wireless Transceiver
<BlockImage id="extendedae_plus:labeled_wireless_transceiver" scale="5" />
The **Labeled Wireless Transceiver** builds on the Wireless Transceivers cross-dimensional channel transmission and adds a **label network**: you bind a text label to auto-generate a unique channel, so devices sharing the same label connect without manual frequency tuning.
## Operating Mechanism
- **Label → Channel mapping:** Enter a label to register or fetch a unique channel from the label registry; the device updates its frequency automatically.
- **Shared channels:** Multiple devices with the same label join the same channel, enabling one-to-many or many-to-many links.
- **Ownership isolation:** Labels remember the placer (or team). Same-name labels from different players/teams do not connect, keeping channels isolated.
- **Cross-dimensional:** Same as the Wireless Transceiver—cross-dim is supported; keep both chunks loaded.
## Operation Guide
### Label management
- **Input/Search box:** Type a label on the left to filter the list.
- **New:** Click **New** to register the typed label and bind this device to it.
- **Set:** Select a label in the list and click **Set** to switch this device to that channel.
- **Delete:** Select a label and click **Delete** to remove it from the registry (only for labels you own/have permission for).
- **Disconnect:** Click **Disconnect** to clear the current label and break the wireless link.
### Info panel
The right panel shows:
- Current label & owner
- Online device count
- Channel usage (used / max)