Dash 的自定义音乐唱片
觉得原版音乐唱片无法完美衬托你的基地氛围? 别再满足于 Cat 或 Stal,开始播放你专属的曲目吧。Dash's Custom Music Discs 允许你将真实的 .mp3 文件刻录到空白唱片上,并在任何标准唱片机中播放。
✨ 功能特性
- ? 动态音频流式传输:基于隔离的 JLayer 引擎,音乐直接流式播放,无需臃肿代码或庞大的资源包。
- ? 基于距离的声音效果:与原版唱片一致!当你走远时音乐声会变小,在 64 格外完全消失。可配置!
- ?️ 智能唱片机逻辑:唱片行为符合预期。破坏唱片机、弹出唱片,甚至漏斗抽取唱片都会立即停止音频。
- ?️ 无缝 GUI 刻录:无需命令,无需繁琐的配置。只需右键使用 唱片刻录器 打开界面并刻录你喜爱的曲目。
- ? 模组兼容性:设计用于与其他音乐模组共存,不会干扰它们的按键绑定或全局播放列表。
?️ 使用方法
1. 准备音轨
确保你的电脑上有一个 .mp3 文件。(目前严格支持 .mp3 格式以确保最大稳定性)。
2. 刻录过程
- 将 空白音乐唱片 放在 副手。
- 在主手右键点击 唱片刻录器 以打开 上传界面。
- 选择你的文件并点击 刻录。
- 当出现“刻录成功”消息后,你的唱片就准备好了!
3. 播放唱片 将新刻录好的唱片带到任意 唱片机 处。右键插入即可享受高保真音效。
? 安装指南
- 确保你正在运行 NeoForge 1.21.1。
- 将
.jar文件放入mods文件夹。 - 确保已安装 Background Music Mod,此模组会在唱片机开始播放时自动暂停背景音乐的播放!
? 技术细节
- 存储:刻录后的音乐存储在服务器端的
config/uploaded_music/目录中。 - 网络通信:使用自定义的分块数据包系统来处理文件上传,防止服务器崩溃或玩家超时。
- 同步:使用方块状态追踪技术,确保音频与物理上的唱片机状态完美同步。
? 致谢与依赖
- 音频引擎:使用 JLayer 进行 MP3 解码。
- 预构建方法:基于 Dash's Custom Background Music Mod 中的方法编写。
- 开发者:由 Dash 用 ❤️ 创建。
“音乐是情感的速记。” — 去打造一些史诗般的作品,配上与之相配的配乐吧!
Dash's Custom Music Discs
Ever felt like the vanilla music discs just don't hit the vibe of your base? Stop settling for Cat or Stal and start spinning your own tracks. Dash's Custom Music Discs allows you to burn real-world .mp3 files onto blank discs and play them in any standard Jukebox.
✨ Features
- ? Dynamic Audio Streaming: Powered by an isolated JLayer engine, your music streams directly without bloat or massive resource packs.
- ? Proximity-Based Sound: Just like vanilla discs! The music gets quieter as you walk away and fades out completely at 64 blocks. CONFIGURABLE!
- ?️ Smart Jukebox Logic: Discs behave exactly as they should. Breaking the jukebox, ejecting the disc, or even a hopper pulling the record will instantly stop the audio.
- ?️ Seamless GUI Burning: No commands, no config digging. Just right-click with the Disc Burner to open the interface and burn your favorite tunes.
- ? Mod Compatibility: Designed to work alongside other music mods without interfering with their keybinds or global playlists.
?️ How to Use
1. Prepare your Track
Make sure you have a .mp3 file ready on your computer. (Currently strictly supports .mp3 for maximum stability).
2. The Burning Process
- Hold a Blank Music Disc in your off-hand.
- Right-click with the Disc Burner item in your main hand to open the Upload GUI.
- Select your file and hit Burn.
- Once the "Burning Successful" message appears, your disc is ready!
3. Drop the Needle Take your newly burned disc to any Jukebox. Right-click to insert and enjoy the high-fidelity sound.
? Installation
- Ensure you are running NeoForge 1.21.1.
- Drop the
.jarinto yourmodsfolder. - Make sure you have the Background Music Mod installed, this mod will automatically pause your background tracks when a Jukebox starts playing!
? Technical Details
- Storage: Burned music is stored server-side in
config/uploaded_music/. - Networking: Uses a custom chunked packet system to handle file uploads without crashing the server or timing out the player.
- Sync: Uses BlockState tracking to ensure audio is perfectly synced with the physical state of the Jukebox.
? Credits & Dependencies
- Audio Engine: Built using JLayer for MP3 decoding.
- Prebuilt methods: Written on top of methods from Dash's Custom Background Music Mod.
- Developer: Created with ❤️ by Dash.
"Music is the shorthand of emotion." — Go build something epic with a soundtrack to match!
下载 Dash's Custom Music Discs Mod
下载 Dash's Custom Music Discs Mod
下载 Dash's Custom Music Discs Mod
下载 Dash's Custom Music Discs Mod
下载 Dash's Custom Music Discs Mod
下载 Dash's Custom Music Discs Mod
下载 Dash's Custom Music Discs Mod
更新日志
- 为下载歌曲命令添加了自动更正功能
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧