简介
本模组添加了一个 CD 播放器,可以直接播放网络流媒体音乐。其行为与原版 CD 播放器完全相同!CD 播放器附近的玩家也能听到你播放的音乐!
通过 NBT 数据可以自定义 CD 中播放的歌曲,并且特别增加了对网易云音乐的支持!

如何在服务器上播放自定义音乐
方案 A:Google Drive
- 确保服务器端和客户端都安装了 NetMusic 模组。
- 将你的歌曲上传到 Google Drive(仅支持 MP3 格式)。

3. 双击文件,点击右上角的三点图标。点击“在新窗口中打开”选项。

4. 在新窗口中,复制地址栏中的链接。

5. 打开游戏内的 GUI,并填写以下信息:
- 输入歌曲 URL:在此粘贴链接
- 输入歌曲名称:输入歌曲名
- 时间(秒):歌曲的持续时间(以秒为单位)

6. 如果歌曲无法播放,你需要使用以下模板转换你的链接:
ID}&export=download&authuser=0
删除 {your ID} 并粘贴 Gdrive ID 示例链接
1tCHwUOBJJ0UjJjM3QyyCT7t-JAwqJhwN

方案 B:YouTube
- 找到你的音乐 YouTube 链接,这里给你一些示例:`

2. 现在将你的链接粘贴到 yt2mp3 转换器:

3. 进行转换,然后你会看到两个部分:下载和转换下一步。

4. 右键点击下载部分,复制链接地址

5. 在游戏内的歌曲 URL 中输入,别忘了输入歌曲时长

感谢 Kucing、luckyu19 的帮助
Introduce
This mod adds a CD player that can directly play network-streamed music. Its behavior is exactly the same as the vanilla CD player. Other players near the CD player can also hear the music you play!
The songs played on the CD can be customized through NBT data, and support for NetEase Cloud Music has been specially added!

How to Play Custom Music on Server
Plan A: Google Drive
- Make sure NetMusic mod is installed on both server and client side.
- Upload your song to Google Drive (Only MP3 format is supported).

3. Double click on the file, and select the 3 dot icon on the top right. Click "Open in a new window" option.

4. In the new window, copy the link in the URL box.

5. Open the in-game GUI, and fill in the details below:"
- Enter the song url: Paste the link here
- Enter the song name: Input the song name
- Time (s): the duration of the song in seconds

6. In the event where the song cannot be played, you will need to convert your link using the template below:
ID}&export=download&authuser=0
delete {your ID} and paste Gdrive id example link
1tCHwUOBJJ0UjJjM3QyyCT7t-JAwqJhwN

Plan B: YouTube
- find you music youtube url link, I gave you some example : `

2. now paste your link at yt2mp3 converter:

3. convert and you got 2 section download and convert next.

4. Right klik download section and copy link address

5. input at song url in game, dont forget to input song time

Thanks to Kucing, luckyu19 for the help
评论 0
登录后参与评分
还没有评论,来抢沙发吧