Описание
# CreateTrainControl
## Project Overview
* **Objective**: Enables Create mod trains to utilize VVVF sound effects.
* **Platform**: Supports **Minecraft 1.21.1 + NeoForge only**; no official Fabric port. Community adaptations welcome.
* **Credits**: Initial VVVF audio files and implementation demo provided by **和光 Channel**. Special thanks for their contribution.
## Latest Build Download
[Action](https://github.com/AndreaFrederica/CreateTrainControl/actions)
## Features
* ✅ **Train Sound Replacement**: Overrides default steam/wheel sounds with VVVF drive tones.
* ~~⚙️ **Modular Architecture**: Core logic refactored into pluggable modules.~~
* ~~📦 **Resource Pack Support**: Loads custom sound files from `.minecraft/resourcepacks`.~~
* ~~🎛️ **Sound Selection GUI**: In-game interface for switching sound presets.~~
* ~~🔧 **Simulated Power Handle**: Adds adjustable power handle to trains with dynamic pitch/volume effects.~~
## Roadmap
| Phase |Goals |Status |
| ----- |-------------------------------------------------------------------------- |-------------- |
| 1 |Code Refactor: Modularize logic, extract public interfaces & sound drivers |🚧 In Progress |
| 2 |Resource Pack Loading: Implement custom sound loading from resourcepacks |⏳ Planned |
| 3 |Sound Selection: Build GUI for real-time preset switching |⏳ Planned |
| 4 |Power Handle: Sync traction power with dynamic pitch/volume adjustments |⏳ Planned |
***
_Questions or contributions? Submit an [Issue](https://github.com/AndreaFrederica/CreateTrainControl/issues) or [Pull Request](https://github.com/AndreaFrederica/CreateTrainControl/pulls)._
# CreateTrainControl
## 项目简介
- **目标**:允许 Create 的列车使用 VVVF音效。
- **平台**:仅支持 Minecraft 1.21.1 + NeoForge;不主动移植到 Fabric,若需自行移植。
- **鸣谢**:最初的 VVVF 音频文件和实现 Demo 由 **和光 Channel** 提供,感谢其贡献。
## 最新构建下载
[Action](https://github.com/AndreaFrederica/CreateTrainControl/actions)
## 特性
- ✅ **列车音效替换**:将原有蒸汽与车轮声替换为 VVVF 驱动音。
- ~~⚙️ **模块化设计**:核心逻辑重构为可插拔模块。~~
- ~~📦 **资源包导入**:支持通过资源包加载自定义音效文件。~~
- ~~🎛️ **音效选择界面**:游戏内 UI 允许玩家切换不同音效预设。~~
- ~~🔧 **功率手柄模拟**:为列车添加可调节功率手柄,配合音效动态变化。~~
## 路线图
| 阶段 | 目标 | 进度 |
| ---- | ---------------------------------------------------------- | ---- |
| 1 | **代码重构**:拆分现有逻辑,提取公共接口与音效驱动模块 | 🚧 进行中 |
| 2 | **资源包导入**:实现 `.minecraft/resourcepacks` 中加载自定义音效 | ⏳ 计划中 |
| 3 | **音效选择**:构建游戏内 GUI,支持多套预设音效的实时切换 | ⏳ 计划中 |
| 4 | **功率手柄**:模拟列车牵引功率与音效联动,根据手柄档位动态调整音调/音量 | ⏳ 计划中 |
---
*如有疑问或贡献,欢迎提交 [Issue](https://github.com/AndreaFrederica/CreateTrainControl/issues) 或 [Pull Request](https://github.com/AndreaFrederica/CreateTrainControl/pulls)。*