编程只是兴趣,尽力少写 Bug 少堆屎山
别问干嘛去了, 沉迷 mc mod 开发捏 (别沉迷 mod 开发了, 肝死一堆 bug)
在 Minecraft 中内置网易云音乐播放器
Home Page: https://modrinth.com/mod/cloudmusic
License: MIT License
编程只是兴趣,尽力少写 Bug 少堆屎山
别问干嘛去了, 沉迷 mc mod 开发捏 (别沉迷 mod 开发了, 肝死一堆 bug)
模组很好用!希望能够跟进更新一下1.20.x版本的模组awa
想使用unblockneteasemusic
如题
现在的指令切歌是 up down.
但现在这个指令是非常不符合语言习惯的,一般下一首歌是next,上一首歌是previous (prev).
所以请求更改为 next prev 切歌,更加符合语言习惯。
游戏版本1.18.2
mod版本0.4.2
尝试卸载了exordium后依旧
0.17.x 的 MaliLib 仅兼容 1.20.2,不兼容 1.20.1,但 1.20.1 的 CloudMusic 要求使用 0.17.x 的 MaliLib,这使得本模组实际上在 1.20.1 不兼容
在 1.20.1 应使用 MaliLib 0.16.x
使用"无损(VIP)"和"Hi-Res(VIP)"播放部分歌曲时报错
[14:53:27] [CloudMusicPlayer thread/INFO]: [STDOUT]: FLAC
[14:53:27] [CloudMusicPlayer thread/INFO]: [STDERR]: java.lang.IllegalArgumentException: Unsupported conversion: PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian from FLAC 44100.0 Hz, 24 bit, stereo, unknown frame size, unknown frame rate
[14:53:27] [CloudMusicPlayer thread/INFO]: [STDERR]: at java.desktop/javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:892)
[14:53:27] [CloudMusicPlayer thread/INFO]: [STDERR]: at fengliu.cloudmusic.util.MusicPlayer.play(MusicPlayer.java:139)
[14:53:27] [CloudMusicPlayer thread/INFO]: [STDERR]: at fengliu.cloudmusic.util.MusicPlayer.play(MusicPlayer.java:191)
[14:53:27] [CloudMusicPlayer thread/INFO]: [STDERR]: at fengliu.cloudmusic.util.MusicPlayer.playMusic(MusicPlayer.java:123)
[14:53:27] [CloudMusicPlayer thread/INFO]: [STDERR]: at fengliu.cloudmusic.util.MusicPlayer.run(MusicPlayer.java:62)
[14:53:27] [CloudMusicPlayer thread/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Thread.java:1589)
[14:53:27] [Render thread/INFO]: OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. is not a valid texture name.'
Minecraft版本:1.20.1
模组版本:0.4.5
Fabric加载器版本:0.14.21
Fabric API:0.85.0
报错信息如下:
A potential solution has been determined:
- Install api, any version.
Unmet dependency listing:
- Mod 'CloudMusic' (cloudmusic) 0.4.2 requires any version of api, which is missing!
at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:190) ~[fabric-loader-0.14.13.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148) ~[fabric-loader-0.14.13.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) ~[fabric-loader-0.14.13.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.14.13.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:58) ~[?:?]
at oolloo.jlw.Wrapper.main(Wrapper.java:51) ~[?:?]
在播放歌曲的时候,有的歌曲无法正常播放,无论是vip歌曲还是免费歌曲
0.4.5(修改依赖版本后进行重新编译)
1.20.4
播放音乐后显示并未正常显示专辑封面,而变为紫黑块。1.20.1无此问题,1.20.2未测试。
[21:19:34] [Render thread/WARN]: Failed to load texture: cloudmusic:music_icon.png
java.io.FileNotFoundException: cloudmusic:music_icon.png
at net.minecraft.class_5912.method_43043(class_5912.java:21) ~[client-intermediary.jar:?]
at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?]
at net.minecraft.class_5912.getResourceOrThrow(class_5912.java:21) ~[client-intermediary.jar:?]
at net.minecraft.class_1049$class_4006.method_18156(class_1049.java:83) ~[client-intermediary.jar:?]
at net.minecraft.class_1049.method_18153(class_1049.java:58) ~[client-intermediary.jar:?]
at net.minecraft.class_1049.method_4625(class_1049.java:29) ~[client-intermediary.jar:?]
at net.minecraft.class_1060.method_24303(class_1060.java:96) ~[client-intermediary.jar:?]
at net.minecraft.class_1060.method_4616(class_1060.java:68) ~[client-intermediary.jar:?]
at net.minecraft.class_1060.method_4619(class_1060.java:118) ~[client-intermediary.jar:?]
at com.mojang.blaze3d.systems.RenderSystem._setShaderTexture(RenderSystem.java:1233) ~[client-intermediary.jar:?]
at com.mojang.blaze3d.systems.RenderSystem.setShaderTexture(RenderSystem.java:1226) ~[client-intermediary.jar:?]
at net.minecraft.class_332.method_25295(class_332.java:442) ~[client-intermediary.jar:?]
at net.minecraft.class_332.method_25297(class_332.java:433) ~[client-intermediary.jar:?]
at net.minecraft.class_332.method_25293(class_332.java:417) ~[client-intermediary.jar:?]
at net.minecraft.class_329.handler$cnh000$cloudmusic$render(class_329.java:5529) ~[client-intermediary.jar:?]
at net.minecraft.class_329.method_1753(class_329.java) ~[client-intermediary.jar:?]
at net.minecraft.class_757.method_3192(class_757.java:912) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1523(class_310.java:1327) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1514(class_310.java:888) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:265) ~[XPlus%202.0%20based%20on%20Minecraft%201.20.4%20(Fabric).jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.3.jar:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:60) ~[?:?]
at oolloo.jlw.Wrapper.main(Wrapper.java:53) ~[?:?]
[21:19:34] [Render thread/INFO]: OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error'
[21:19:34] [CloudMusic getMusicIcon Thread/INFO]: [STDERR]: java.io.IOException: Bad PNG Signature
[21:19:34] [CloudMusic getMusicIcon Thread/INFO]: [STDERR]: at net.minecraft.class_8800.method_54945(class_8800.java:44)
[21:19:34] [CloudMusic getMusicIcon Thread/INFO]: [STDERR]: at net.minecraft.class_1011.method_4303(class_1011.java:135)
[21:19:34] [CloudMusic getMusicIcon Thread/INFO]: [STDERR]: at net.minecraft.class_1011.method_4310(class_1011.java:107)
[21:19:34] [CloudMusic getMusicIcon Thread/INFO]: [STDERR]: at net.minecraft.class_1011.method_4309(class_1011.java:98)
[21:19:34] [CloudMusic getMusicIcon Thread/INFO]: [STDERR]: at fengliu.cloudmusic.render.MusicIconTexture$1.run(MusicIconTexture.java:31)
[21:19:35] [CloudMusicPlayer thread/INFO]: [STDOUT]: MPEG1L3
修改 fengliu.cloudmusic.render.MusicIconTexture, 将封面缓存于本地后再传入,通过检查缓存文件可知封面实际的格式为jpeg而非png。
不知道是不是网页接口的原因
就是单纯的不同步
I want to use it in Minecraft 1.18.2, will there be a suitable plan?
我希望在 1.18.2 中使用,是否会有向下适配的计划?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.