Create: Directional Pantographs 是一款我为 Create: Pantographs and Wires(简称 P&W)开发的独立 NeoForge 1.21.1 附加模组。我受够了受电弓无论列车朝哪个方向行驶都保持升起的状态,这严重破坏了沉浸感。因此,我制作了这款模组,通过确保受电弓仅在朝向实际行进方向时升起,为电力列车带来急需的真实感和自动化功能。
⚙️ 工作原理
该模组直接集成到你现有的铁路系统中。通过与任何 Train Station(车站)交互,你可以打开自定义控制屏幕来配置整列列车或单独的车厢:
- 智能方向控制: 将列车在 自动(Automatic) 和 手动(Manual) 模式之间切换。在自动模式下,模组会计算运动状态并动态升起正确的受电弓,同时阻止玩家手动切换它们。
- 单个受电弓覆盖设置: 需要自定义配置?你可以对组装中的各个受电弓进行单独覆盖设置,将其设置为自动、手动、反向(仅在向后移动时升起)或默认。
?️ 交互式列车可视化器
为了简化大型列车的配置,我构建了一个自定义的交互式控制屏幕:
- 精确的车厢图示: 显示停放列车的精确 2D 侧视轮廓剪影。
- 模组兼容性: 可视化器读取烘焙模型,以准确绘制复杂的几何结构,例如原版楼梯和台阶、Copycats+ 斜坡和面板、Create Railways Navigator 显示屏以及 Train Utilities 的门。玻璃方块和窗户也会有独特的轮廓线。
?️ 列车时刻表集成
你可以使用 Create 的时刻表系统完全自动化受电弓操作:
- 自定义指令: 我添加了一种新的受电弓时刻表指令,以便你在旅途中动态更改受电弓的行为。
- 路线特定规则: 自动降低未电气化路段的受电弓,反转其方向,或在到达特定车站时重新启用它们。
? 服务器与多人游戏就绪
我在设计时考虑了多人游戏的性能和安全性:
- 服务器权威状态: 受电弓设置直接保存至列车数据中,能够承受服务器重启和世界重新加入,确保你的受电弓不会意外掉落。
- 编辑并发性与锁定: 同一时间只允许一名玩家编辑列车的设置,以防止冲突。你还可以永久锁定列车的设置,防止未经授权的玩家干扰你的配置。
? 依赖项
- Minecraft: 1.21.1
- 加载器: NeoForge
- 必需模组: Create, Create: Pantographs & Wires
支持
如需故障排除和支持,请加入 此处 的 Discord 服务器,适用于本模组及我的其他项目。
? 路线图与未来计划
- 我计划在未来更新中将此模组移植到其他加载器(如 Fabric/Forge),并支持其他 Minecraft 版本!
? 许可与权限
- 整合包: 允许! 欢迎在任何公开或私有的整合包中包含此模组。
- 权利: 保留所有权利 (ARR)。未经我的许可,请勿在其他网站上重新上传、镜像或分发此模组。
Create: Directional Pantographs is a standalone NeoForge 1.21.1 addon I created for Create: Pantographs and Wires (P&W). I got tired of pantographs staying raised regardless of which way a train was moving, breaking immersion. I built this mod to bring much-needed realism and automation to electric trains by making sure pantographs only raise facing the actual direction of travel.
⚙️ How It Works
The mod integrates directly into your existing railway setup. By interacting with any Train Station, you can open a custom control screen to configure your entire train or individual carriages:
- Smart Directional Control: Switch your train between Automatic and Manual modes. In Automatic mode, the mod calculates movement and dynamically raises only the correct pantographs, while blocking players from manually toggling them by hand.
- Per-Pantograph Overrides: Need a custom setup? You can override individual pantographs on your assembly to be Automatic, Manual, Reversed (only raising when moving backward), or Default.
?️ Interactive Train Visualizer
To make configuring massive trains easy, I built a custom interactive control screen:
- Accurate Carriage Diagrams: Displays a precise 2D side-profile silhouette of your parked train.
- Mod Compatibility: The visualizer reads baked models to accurately draw complex geometries like vanilla stairs and slabs, Copycats+ slopes and panels, Create Railways Navigator displays, and Train Utilities doors. Glass blocks and windows also get distinct outlines.
?️ Train Schedule Integration
You can fully automate pantographs using Create's schedule system:
- Custom Instructions: I added a new pantograph schedule instruction so you can dynamically change pantograph behavior mid-journey.
- Route-Specific Rules: Automatically lower pantographs for un-electrified sections of track, reverse them, or re-enable them upon reaching specific stations.
? Server & Multiplayer Ready
I built this with multiplayer performance and security in mind:
- Server-Authoritative State: Pantograph settings are saved directly to train data, surviving server restarts and world rejoins so your pantographs never unexpectedly drop.
- Edit Concurrency & Locking: Only one player can edit a train's settings at a time to prevent conflicts. You can also permanently lock your train's settings to prevent unauthorized players from messing with your setup.
? Dependencies
- Minecraft: 1.21.1
- Loader: NeoForge
- Required Mods: Create, Create: Pantographs & Wires
Support
A Discord server for troubleshooting and support, for this mod and my other projects right here.
? Roadmap & Future Plans
- I am planning to port the mod to other loaders (like Fabric/Forge) and bring it to other Minecraft versions in future updates!
? License & Permissions
- Modpacks: Allowed! Feel free to include this mod in any public or private modpack.
- Rights: All Rights Reserved (ARR). Please do not re-upload, mirror, or redistribute this mod on other sites without my permission.
下载 Create: Directional Pantographs
下载 Create: Directional Pantographs
下载 Create: Directional Pantographs
下载 Create: Directional Pantographs
下载 Create: Directional Pantographs
下载 Create: Directional Pantographs
下载 Create: Directional Pantographs
下载 Create: Directional Pantographs
下载 Create: Directional Pantographs
下载 Create: Directional Pantographs
1.7.5
已修复
重新加入世界或重启服务器后,列车不再重置为手动模式——此设置现在会正确保存。
由于此前该设置从未被保存,更新后你需要将每列列车再次设置为自动模式。之后即可保持该状态。
已修复在打开控制界面时,模式按钮有时显示错误状态的问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧