? Renxin Music Machine (CP Music Mod)
走到哪,音乐跟到哪!在服务器中与好友分享你的歌单!
? 简介
Renxin Music Machine 是一款轻量却强大的 Fabric 模组,旨在解决多人游戏中的音乐共享难题。不再局限于原版唱片,你可以将本地的 .mp3 文件上传并刻录到自定义唱片中。最重要的是,我们引入了便携式随身听(Portable Walkman),让音乐伴随你的移动,让你成为行走的背景音乐播放器!
本模组具备深度的网络优化,采用懒加载(Lazy Loading)和本地缓存技术,确保在多人服务器中流畅运行且无卡顿。
✨ 主要特性
? 自定义刻录系统:将任意 .mp3 文件刻录到空白唱片上(支持最大 10MB 的文件)。
? 便携式随身听:不仅仅是一个固定的唱片机方块,更是手持播放器!音乐跟随持有者播放,周围的玩家也能听到。
? 播放模式:支持顺序播放、单曲循环、随机播放和列表循环模式。
⚡ 性能优化:
按需下载:只有处于听力范围内的玩家才会下载音乐数据。
永久缓存:已下载的音乐会自动保存在本地 (.minecraft/cp-cache/),重播时实现零延迟和零带宽占用。
防崩溃:自动检测并拦截伪造的 MP3 文件,防止客户端崩溃。
?️ 全局配置:通过命令调整广播距离,设置持久化保存。
? 合成配方
空白唱片:音乐的基础物品。
配方:粘土球 + 黑色染料 + 粘土球(横向排列)。
音乐刻录机:用于上传音乐并将数据写入空白唱片。
配方:请查看游戏内 REI/JEI。
音乐播放器:放置在地面上用于播放音乐的方块。
配方:请查看游戏内 REI/JEI。
便携式随身听:
配方:铁锭 + 唱片机 + 铁锭(中间一行),下方为金锭。
唱片复制:
配方:现有唱片 + 粘液球 + 金锭 = 复制后的唱片。
? 使用方法
刻录音乐:
放置音乐刻录机,右键打开 GUI。
将空白唱片放入输入槽。
点击“刻录”按钮,从电脑中选择一首 .mp3 文件(<10MB)。
等待上传完成,取出你的自定义唱片。
播放音乐:
方块模式:将唱片放入音乐播放器。音乐将在固定区域播放。
随身听模式:手持便携式随身听,右键打开 GUI,将多张唱片放入其背包。点击播放,音乐将跟随你!
控制:随身听 GUI 支持上一曲、下一曲、播放/暂停以及切换循环模式。
? 命令
/cp distance <value>
描述:设置全局音乐广播距离(默认:64 格)。
注意:适用于所有玩家和机器。数值越大,声音传播越远且衰减更平滑。
/cp info
描述:检查当前的广播距离设置。
⚠️ 服务器须知
此模组必须同时安装在服务端和客户端。
网络优化:模组内置了拥塞防止机制。当多名玩家同时收听时,服务器仅发送微小的控制数据包;音频数据根据请求点对点传输,且仅传输一次。
缓存:音频缓存存储在 .minecraft/cp-cache 中。如果需要清理空间,可以手动删除该文件夹。
? Renxin Music Machine (CP Music Mod)
Custom music, everywhere you go! Share your playlist with friends on the server!
? Introduction
Renxin Music Machine is a lightweight yet powerful Fabric mod designed to solve the problem of music sharing in multiplayer games. No longer limited to vanilla discs, you can upload and burn your local .mp3 files onto custom discs. Most importantly, we introduced the Portable Walkman, allowing music to follow you as you move, making you a walking BGM player!
This mod features deep network optimization, utilizing Lazy Loading and Local Caching technologies to ensure smooth performance in multiplayer servers without lag.
✨ Key Features
? Custom Burning System: Burn any .mp3 file onto a blank disc (supports files up to 10MB).
? Portable Walkman: Not just a stationary jukebox block, but a handheld player! The music follows the holder, and players around you can hear it.
? Playback Modes: Supports Sequential, Loop One, Shuffle, and Loop List modes.
⚡ Performance Optimized:
On-Demand Downloading: Only players within hearing range will download the music data.
Permanent Caching: Downloaded music is automatically saved locally (.minecraft/cp-cache/), ensuring zero latency and zero bandwidth usage for replay.
Anti-Crash: Automatically detects and blocks fake MP3 files to prevent client crashes.
?️ Global Configuration: Adjust broadcast distance via commands with persistent saving.
? Recipes
Blank Disc: The base item for your music.
Recipe: Clay Ball + Black Dye + Clay Ball (Horizontal).
Music Burner: Used to upload music and write to a blank disc.
Recipe: Check REI/JEI in-game.
Music Player: A block placed on the ground to play music.
Recipe: Check REI/JEI in-game.
Portable Walkman:
Recipe: Iron Ingot + Jukebox + Iron Ingot (Middle Row), with Gold Ingot below.
Disc Copying:
Recipe: Existing Disc + Slime Ball + Gold Ingot = Copied Disc.
? How to Use
Burning Music:
Place the Music Burner, right-click to open the GUI.
Put a Blank Disc in the input slot.
Click the "Burn" button and select an .mp3 file from your computer (<10MB).
Wait for the upload to finish and take your custom disc.
Playing Music:
Block Mode: Put the disc into the Music Player. Music plays in a fixed area.
Walkman Mode: Hold the Portable Walkman, right-click to open the GUI, and put multiple discs into its inventory. Click play, and the music follows you!
Controls: The Walkman GUI supports Prev, Next, Play/Pause, and Loop Mode switching.
? Commands
/cp distance <value>
Description: Sets the global music broadcast distance (Default: 64 blocks).
Note: Applies to all players and machines. Larger values mean sound travels further with smoother attenuation.
/cp info
Description: Check the current broadcast distance setting.
⚠️ Server Notes
This mod must be installed on both the Server and Client.
Network Optimization: The mod includes built-in congestion prevention. When multiple players listen together, the server only sends tiny control packets; audio data is transmitted peer-to-peer upon request and only once.
Cache: Audio cache is stored in .minecraft/cp-cache. You can manually delete this folder to clear space if needed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧