服务器和客户端使用的模组版本都是3.0,forge版本47.2.32,在服务器内播放歌曲能正确识别,但是客户端没有声音,服务端控制台报错:[096月2024 19:28:39.198] [Server thread/ERROR] [net.minecraftforge.network.simple.IndexedMessageCodec/SIMPLENET]: Received invalid message io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf on channel allmusic:channel
[096月2024 19:28:39.198] [Server thread/ERROR] [net.minecraft.util.thread.BlockableEventLoop/FATAL]: Error executing task on Server
java.lang.IllegalArgumentException: Invalid message io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf
at net.minecraftforge.network.simple.IndexedMessageCodec.build(IndexedMessageCodec.java:132) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?]
at net.minecraftforge.network.simple.SimpleChannel.encodeMessage(SimpleChannel.java:68) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?]
at net.minecraftforge.network.simple.SimpleChannel.toBuffer(SimpleChannel.java:81) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?]
at net.minecraftforge.network.simple.SimpleChannel.toVanillaPacket(SimpleChannel.java:112) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?]
at net.minecraftforge.network.simple.SimpleChannel.send(SimpleChannel.java:107) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?]
at com.coloryr.allmusic.server.side.forge.SideForge.lambda$send$3(SideForge.java:467) ~[%5Bforge-1.20%5DAllMusic_Server-3.0.0.jar%23258!/:3.0.0]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:156) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:770) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:161) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:130) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m129961(MinecraftServer.java:753) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m7245(MinecraftServer.java:747) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:139) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m130012(MinecraftServer.java:733) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:665) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
[096月2024 19:28:39.917] [Server thread/ERROR] [net.minecraftforge.network.simple.IndexedMessageCodec/SIMPLENET]: Received invalid message io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf on channel allmusic:channel
[096月2024 19:28:39.917] [Server thread/ERROR] [net.minecraft.util.thread.BlockableEventLoop/FATAL]: Error executing task on Server
java.lang.IllegalArgumentException: Invalid message io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf
at net.minecraftforge.network.simple.IndexedMessageCodec.build(IndexedMessageCodec.java:132) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?]
at net.minecraftforge.network.simple.SimpleChannel.encodeMessage(SimpleChannel.java:68) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?]
at net.minecraftforge.network.simple.SimpleChannel.toBuffer(SimpleChannel.java:81) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?]
at net.minecraftforge.network.simple.SimpleChannel.toVanillaPacket(SimpleChannel.java:112) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?]
at net.minecraftforge.network.simple.SimpleChannel.send(SimpleChannel.java:107) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?]
at com.coloryr.allmusic.server.side.forge.SideForge.lambda$send$3(SideForge.java:467) ~[%5Bforge-1.20%5DAllMusic_Server-3.0.0.jar%23258!/:3.0.0]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:156) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:770) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:161) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:130) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m129961(MinecraftServer.java:753) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m7245(MinecraftServer.java:747) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:139) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m130012(MinecraftServer.java:733) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:665) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
服务器和客户端使用的模组版本都是3.0,forge版本47.2.32,在服务器内播放歌曲能正确识别,但是客户端没有声音,服务端控制台报错:[096月2024 19:28:39.198] [Server thread/ERROR] [net.minecraftforge.network.simple.IndexedMessageCodec/SIMPLENET]: Received invalid message io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf on channel allmusic:channel [096月2024 19:28:39.198] [Server thread/ERROR] [net.minecraft.util.thread.BlockableEventLoop/FATAL]: Error executing task on Server java.lang.IllegalArgumentException: Invalid message io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf at net.minecraftforge.network.simple.IndexedMessageCodec.build(IndexedMessageCodec.java:132) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?] at net.minecraftforge.network.simple.SimpleChannel.encodeMessage(SimpleChannel.java:68) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?] at net.minecraftforge.network.simple.SimpleChannel.toBuffer(SimpleChannel.java:81) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?] at net.minecraftforge.network.simple.SimpleChannel.toVanillaPacket(SimpleChannel.java:112) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?] at net.minecraftforge.network.simple.SimpleChannel.send(SimpleChannel.java:107) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?] at com.coloryr.allmusic.server.side.forge.SideForge.lambda$send$3(SideForge.java:467) ~[%5Bforge-1.20%5DAllMusic_Server-3.0.0.jar%23258!/:3.0.0] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:156) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:770) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:161) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:130) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m129961(MinecraftServer.java:753) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m7245(MinecraftServer.java:747) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:139) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m130012(MinecraftServer.java:733) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:665) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at java.lang.Thread.run(Thread.java:840) ~[?:?] [096月2024 19:28:39.917] [Server thread/ERROR] [net.minecraftforge.network.simple.IndexedMessageCodec/SIMPLENET]: Received invalid message io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf on channel allmusic:channel [096月2024 19:28:39.917] [Server thread/ERROR] [net.minecraft.util.thread.BlockableEventLoop/FATAL]: Error executing task on Server java.lang.IllegalArgumentException: Invalid message io.netty.buffer.UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf at net.minecraftforge.network.simple.IndexedMessageCodec.build(IndexedMessageCodec.java:132) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?] at net.minecraftforge.network.simple.SimpleChannel.encodeMessage(SimpleChannel.java:68) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?] at net.minecraftforge.network.simple.SimpleChannel.toBuffer(SimpleChannel.java:81) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?] at net.minecraftforge.network.simple.SimpleChannel.toVanillaPacket(SimpleChannel.java:112) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?] at net.minecraftforge.network.simple.SimpleChannel.send(SimpleChannel.java:107) ~[forge-1.20.1-47.2.32-universal.jar%23420!/:?] at com.coloryr.allmusic.server.side.forge.SideForge.lambda$send$3(SideForge.java:467) ~[%5Bforge-1.20%5DAllMusic_Server-3.0.0.jar%23258!/:3.0.0] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:156) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:770) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:161) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:130) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m129961(MinecraftServer.java:753) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m7245(MinecraftServer.java:747) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:139) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m130012(MinecraftServer.java:733) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:665) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23415!/:?] at java.lang.Thread.run(Thread.java:840) ~[?:?]