A Bukkit(1.19/1.20) server implementation in modding environment using Mixin. ⚡
GNU General Public License v3.0
1.42k
stars
211
forks
source link
[1.20.1] unable to interact with creature entities with error: Failed to handle packet net.minecraft.network.protocol.game.ServerboundInteractPacket@302014d0, suppressing error #1381
Attempting to interact with any creature entity produces this error in console and nothing happens to said entity, example listed is when you try to attack a horse:
16.06 17:29:33 [Server] [ERROR] Failed to handle packet net.minecraft.network.protocol.game.ServerboundInteractPacket@58f5560b, suppressing error
16.06 17:29:33 [Server] [INFO] java.lang.ClassCastException: class net.minecraft.server.network.ServerGamePacketListenerImpl$1Handler$17d8c5878872466592518e5237b27837 cannot be cast to class cinnamon.ofc.Listener (net.minecraft.server.network.ServerGamePacketListenerImpl$1Handler$17d8c5878872466592518e5237b27837 is in module minecraft@1.20.1 of loader 'TRANSFORMER' @c5e69a5; cinnamon.ofc.Listener is in module offhandcombat@2.0.0 of loader 'TRANSFORMER' @c5e69a5)
16.06 17:29:33 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.modify$zck000$handleInteract(ServerPlayNetHandlerMixin.java:4314) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:33 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.m6946(ServerPlayNetHandlerMixin.java:3152) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:33 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundInteractPacket.m5797(ServerboundInteractPacket.java:53) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:33 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundInteractPacket.m5797(ServerboundInteractPacket.java:13) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:33 [Server] [INFO] at net.minecraft.network.protocol.PacketUtils.mdae7374$lambda$ensureRunningOnSameThread$0$0(PacketThreadUtilMixin.java:537) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:33 [Server] [INFO] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:33 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:156) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:33 [Server] [INFO] at net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:33 [Server] [INFO] at net.minecraft.server.MinecraftServer.m6367(MinecraftServerMixin.java:770) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m6367(MinecraftServerMixin.java:161) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:35 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:130) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m129961(MinecraftServerMixin.java:753) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m7245(MinecraftServerMixin.java:747) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:35 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:139) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m130012(MinecraftServerMixin.java:733) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m130011(MinecraftServerMixin.java:2074) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m206580(MinecraftServerMixin.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
16.06 17:29:35 [Server] [INFO] at java.lang.Thread.run(Thread.java:833) ~[?:?]
Step to reproduce
Install arclight and all listed mods/plugins on a Pebblehost server
join the server and attempt to interact with creature entities/mobs
I have confirmed that ...
Arclight version
arclight-forge-1.20.1-1.0.5
OS & Java versions
JDK 17 Pebblehost server
Plugins and Mods
Description
Attempting to interact with any creature entity produces this error in console and nothing happens to said entity, example listed is when you try to attack a horse:
16.06 17:29:33 [Server] [ERROR] Failed to handle packet net.minecraft.network.protocol.game.ServerboundInteractPacket@58f5560b, suppressing error 16.06 17:29:33 [Server] [INFO] java.lang.ClassCastException: class net.minecraft.server.network.ServerGamePacketListenerImpl$1Handler$17d8c5878872466592518e5237b27837 cannot be cast to class cinnamon.ofc.Listener (net.minecraft.server.network.ServerGamePacketListenerImpl$1Handler$17d8c5878872466592518e5237b27837 is in module minecraft@1.20.1 of loader 'TRANSFORMER' @c5e69a5; cinnamon.ofc.Listener is in module offhandcombat@2.0.0 of loader 'TRANSFORMER' @c5e69a5) 16.06 17:29:33 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.modify$zck000$handleInteract(ServerPlayNetHandlerMixin.java:4314) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:33 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.m6946(ServerPlayNetHandlerMixin.java:3152) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:33 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundInteractPacket.m5797(ServerboundInteractPacket.java:53) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:33 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundInteractPacket.m5797(ServerboundInteractPacket.java:13) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:33 [Server] [INFO] at net.minecraft.network.protocol.PacketUtils.mdae7374$lambda$ensureRunningOnSameThread$0$0(PacketThreadUtilMixin.java:537) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:33 [Server] [INFO] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:33 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:156) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:33 [Server] [INFO] at net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:33 [Server] [INFO] at net.minecraft.server.MinecraftServer.m6367(MinecraftServerMixin.java:770) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m6367(MinecraftServerMixin.java:161) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:35 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:130) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m129961(MinecraftServerMixin.java:753) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m7245(MinecraftServerMixin.java:747) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:35 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:139) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m130012(MinecraftServerMixin.java:733) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m130011(MinecraftServerMixin.java:2074) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:35 [Server] [INFO] at net.minecraft.server.MinecraftServer.m206580(MinecraftServerMixin.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?] 16.06 17:29:35 [Server] [INFO] at java.lang.Thread.run(Thread.java:833) ~[?:?]
Step to reproduce
Install arclight and all listed mods/plugins on a Pebblehost server join the server and attempt to interact with creature entities/mobs
Logs
No response
Server pack link (Optional)
https://www.mediafire.com/file/thckytwa4ku91vm/pebblehost-698241-f9zubu.zip/file