Easy NPC

Easy NPC

2M Downloads

[Bug] Couldn't Join Game With Velocity

Xiaoyi311 opened this issue ยท 3 comments

commented

Minecraft and Mod version ๐Ÿž
Minecraft 1.21 & Easy_NPC 5.5.10

Describe the bug ๐Ÿž
When Using Velocity 3.3.0#436 With Easy NPC, Player Couldn't Join The Game, The following are Velocity errors:

exception encountered in com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler@7fdd8a93
io.netty.handler.codec.CorruptedFrameException: Error decoding class com.velocitypowered.proxy.protocol.packet.AvailableCommandsPacket Direction CLIENTBOUND Protocol 1.21 State PLAY ID 11
        at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.handleDecodeFailure(MinecraftDecoder.java:130) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:85) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.channelRead(MinecraftDecoder.java:60) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:509) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:407) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.IllegalArgumentException: Argument type identifier null unknown.
        at com.velocitypowered.proxy.protocol.packet.brigadier.ArgumentPropertyRegistry.deserialize(ArgumentPropertyRegistry.java:89) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at com.velocitypowered.proxy.protocol.packet.AvailableCommandsPacket.deserializeNode(AvailableCommandsPacket.java:210) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at com.velocitypowered.proxy.protocol.packet.AvailableCommandsPacket.decode(AvailableCommandsPacket.java:88) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:83) ~[velocity-3.3.0-SNAPSHOT-436.jar:3.3.0-SNAPSHOT (git-2016d148-b436)]
        ... 28 more

Here is Some Easy_NPC Error On Mod Loading:

...... Some INFO Log .......
[23:05:16 INFO] [main]: [Easy NPC] ๐Ÿ—ฃ Register Easy NPC Entity Types ...
[23:05:16 ERROR] [main]: [Util] No data fixer registered for fairy
[23:05:16 ERROR] [main]: [Util] No data fixer registered for piglin_zombified
[23:05:16 ERROR] [main]: [Util] No data fixer registered for humanoid
[23:05:16 ERROR] [main]: [Util] No data fixer registered for humanoid_slim
[23:05:16 ERROR] [main]: [Util] No data fixer registered for orc
[23:05:16 ERROR] [main]: [Util] No data fixer registered for orc_warrior
[23:05:16 ERROR] [main]: [Util] No data fixer registered for zombie_raw
[23:05:16 INFO] [main]: [Easy NPC] ๐Ÿ—ฃ Register Easy NPC Registering Entities Attributes ...
...... Some INFO Log .......
[23:05:18 INFO] [Worker-Main-3]: [Easy NPC] ๐Ÿ—ฃ Register Easy NPC /easy_npc commands for Easy NPC ...
[23:05:18 ERROR] [Worker-Main-2]: [TagLoader] Couldn't load tag minecraft:undead as it is missing following references: #easy_npc:skeletons (from easy_npc), #easy_npc:zombies (from easy_npc)
[23:05:18 ERROR] [Worker-Main-2]: [TagLoader] Couldn't load tag minecraft:inverted_healing_and_harm as it is missing following references: #minecraft:undead (from vanilla)
[23:05:18 ERROR] [Worker-Main-2]: [TagLoader] Couldn't load tag minecraft:sensitive_to_smite as it is missing following references: #minecraft:undead (from vanilla)
[23:05:18 ERROR] [Worker-Main-2]: [TagLoader] Couldn't load tag minecraft:can_breathe_under_water as it is missing following references: #minecraft:undead (from vanilla)
[23:05:18 ERROR] [Worker-Main-2]: [TagLoader] Couldn't load tag minecraft:wither_friends as it is missing following references: #minecraft:undead (from vanilla)
[23:05:18 ERROR] [Worker-Main-2]: [TagLoader] Couldn't load tag minecraft:ignores_poison_and_regen as it is missing following references: #minecraft:undead (from vanilla)

To Reproduce โš™๏ธ
Steps to reproduce the behavior:

  1. Setting Velocity 3.3.0 And Fabric 1.21 With Easy NPC
  2. Setting Minecraft 1.21 Client With Easy_NPC
  3. Connect The Server
  4. See error

Expected behavior โœ”๏ธ
Join The Sub Server

Screenshots ๐Ÿ“ธ
Just The Error Log

Debugging ๐Ÿ› ๏ธ
Couldn't Use Easy_NPC Debug Mode Command

Is the issue happening in combination with other mods? (If yes, please provide a full list) ๐Ÿงฉ
I Disable All Other Mod Or Plugin On Velocity And Fabric, But Nothing Changed.

commented

Thank you for the report. The shared messages indicate a crash related to velocitypowered, not the EasyNPC mod.

Additionally, the error messages such as [TagLoader] Couldn't load tag minecraft:undead as it is missing the following references: #easy_npc:skeletons (from easy_npc), #easy_npc:zombies (from easy_npc) are generated by the game's TagLoader, not by the mod itself.

This suggests an incompatibility with velocitypowered, which seems unable to register the EasyNPC entities. This issue should be reported to the velocitypowered team.

If you come across any specific error messages or crash reports directly pointing to the EasyNPC mod, Iโ€™d be happy to investigate further. However, the provided logs do not indicate that the issue originates from this mod.

commented

This issue was closed because it has been stalled for 5 days with no activity.

commented

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.