PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
54 stars 21 forks source link

ItemsAdder resource pack not loading properly! #3928

Closed SirCorrosion closed 2 months ago

SirCorrosion commented 2 months ago

Terms

Discord Username (optional)

SirCorrosion

What happened?

The resource pack does not fully load. Item textures will load properly but armor models and UI textures will not load.

Steps to reproduce the issue

This issue began once I updated to 1.20.6 and I have not been able to resolve this issue since. I'm unsure if it's because of ProtocolLIB or something I've done. I've tried removing the resource pack and reverting to the default pack and that did not work. Any help is appreciated!

Server version

This server is running Paper version 1.20.6-145-ver/1.20.6@fe7043e (2024-06-15T21:16:04Z) (Implementing API version 1.20.6-R0.1-SNAPSHOT)

ItemsAdder Version

4.0.2-alpha-test-7

ProtocolLib Version

5.3.0-SNAPSHOT-726

LoneLibs Version

1.0.57

Full Server Log

https://mclo.gs/gNKrRkJ

Error (optional)

No response

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

2024-08-27_13 00 22 2024-08-27_13 00 45 2024-08-27_13 01 03

SrMonsterYT commented 2 months ago

same problem here, I tested deleting the folder and using the default settings and default ItemsAdder texture, it doesn't load the texture.

server: Paper version 1.21-127-master@4e6a2a1

plugins:

ItemsAdder 4.0.2-alpha-test-7 LoneLibs Version 1.0.57 ProtocolLib 5.3.0-SNAPSHOT-726

I'm using this option

self-host: enabled: true server-ip: ... pack-port: ...

my config default: https://mclo.gs/Xx70eAZ

LoneDev6 commented 2 months ago

This is the only way to identify why your pack is not loading. This is the same guide I would follow for my own server, as there is no only way. This is 99% a misconfiguration of the pack. https://itemsadder.devs.beer/faq/identify-why-textures-are-not-shown

SrMonsterYT commented 2 months ago

This is the only way to identify why your pack is not loading. This is the same guide I would follow for my own server, as there is no only way. This is 99% a misconfiguration of the pack. https://itemsadder.devs.beer/faq/identify-why-textures-are-not-shown

i just said that i'm using all the default settings of itemsadder, i've been using it for over 1 year and it doesn't work in 1.21, i don't understand why you're ignoring that i'm saying i'm using the default version, i put it in the lobby of 1.21 to test, i added everything correctly and using default settings, default texture everything default

SirCorrosion commented 2 months ago

I removed all of my content and loaded in the two default content packs. I am still getting the same issue with my resourcepack not loading. The error I see is below

[06:22:22] [Server thread/ERROR]: [ItemsAdder] Unhandled exception occurred in onPacketSending(PacketEvent) for ItemsAdder java.lang.IllegalStateException: Missing registry: ResourceKey[minecraft:root / minecraft:recipe_serializer] at net.minecraft.core.RegistryAccess.lambda$registryOrThrow$0(RegistryAccess.java:27) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at java.base/java.util.Optional.orElseThrow(Optional.java:403) ~[?:?] at net.minecraft.core.RegistryAccess.registryOrThrow(RegistryAccess.java:27) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.codec.ByteBufCodecs$23.getRegistryOrThrow(ByteBufCodecs.java:511) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.codec.ByteBufCodecs$23.encode(ByteBufCodecs.java:522) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.codec.ByteBufCodecs$23.encode(ByteBufCodecs.java:509) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.codec.StreamCodec$6.encode(StreamCodec.java:106) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at ItemsAdder_4.0.2-alpha-test-7.jar/ia.m.lt.a(SourceFile:114) ~[ItemsAdder_4.0.2-alpha-test-7.jar:?] at ItemsAdder_4.0.2-alpha-test-7.jar/ia.m.lt.onPacketSending(SourceFile:82) ~[ItemsAdder_4.0.2-alpha-test-7.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.OutboundPacketListenerSet.invokeListener(OutboundPacketListenerSet.java:74) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.PacketListenerSet.lambda$invoke$0(PacketListenerSet.java:120) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.timing.TimingTracker.lambda$static$0(TimingTracker.java:7) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.PacketListenerSet.invoke(PacketListenerSet.java:120) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.OutboundPacketListenerSet.invoke(OutboundPacketListenerSet.java:30) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.PacketListenerSet.invoke(PacketListenerSet.java:99) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:528) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.PacketFilterManager.invokeOutboundPacketListeners(PacketFilterManager.java:516) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:528) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.proxyRunnable(NettyEventLoopProxy.java:44) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:233) ~[ProtocolLib.jar:?] at net.minecraft.network.Connection.sendPacket(Connection.java:489) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.Connection.send(Connection.java:449) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.network.ServerCommonPacketListenerImpl.send(ServerCommonPacketListenerImpl.java:311) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.network.ServerCommonPacketListenerImpl.send(ServerCommonPacketListenerImpl.java:292) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:304) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.network.ServerConfigurationPacketListenerImpl.handleConfigurationFinished(ServerConfigurationPacketListenerImpl.java:153) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.handle(ServerboundFinishConfigurationPacket.java:22) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.handle(ServerboundFinishConfigurationPacket.java:13) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:55) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1511) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:195) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1488) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1411) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1377) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1238) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

net.minecraft.network.protocol.game.ClientboundUpdateRecipesPacket@378efbb2[ recipes=[minecraft:warped_button, minecraft:waxed_oxidized_cut_copper_slab_from_honeycomb, minecraft:polished_deepslate,.............

]

LoneDev6 commented 2 months ago
  1. remove all other plugins, keep only itemsadder dependencies
  2. update LoneLibs, ProtocolLib and Paper to the latest build
  3. join and test if the error still occurs

If you still receive the error you can disable fix-packet-too-large-kick in config.yml in the meantime as for now I can't reproduce the issue so I can't fix it. For some reason your recipes packet has invalid data.

SrMonsterYT commented 2 months ago
  1. remove all other plugins, keep only itemsadder dependencies
  2. update LoneLibs, ProtocolLib and Paper to the latest build
  3. join and test if the error still occurs

If you still receive the error you can disable fix-packet-too-large-kick in config.yml in the meantime as for now I can't reproduce the issue so I can't fix it. For some reason your recipes packet has invalid data.

video: https://www.youtube.com/watch?v=b6jxu8mC1ts

plugin version:

ItemsAdder v4.0.2-alpha-test-7 LoneLibs v1.0.57 ProtocolLib v5.3.0-SNAPSHOT-726

default config and resourcepack

SirCorrosion commented 2 months ago
  1. remove all other plugins, keep only itemsadder dependencies
  2. update LoneLibs, ProtocolLib and Paper to the latest build
  3. join and test if the error still occurs

If you still receive the error you can disable fix-packet-too-large-kick in config.yml in the meantime as for now I can't reproduce the issue so I can't fix it. For some reason your recipes packet has invalid data.

I appreciate your help on this issue, I've been racking my brain for sometime trying to fix this. Okay, I removed all other plugins besides the 3 needed and I still got the ResourceKey error... Could this be an issue on ProtocolLibs end? Here is an updated error after removing all other plugin.

[17:47:20] [Server thread/ERROR]: [ItemsAdder] Unhandled exception occurred in onPacketSending(PacketEvent) for ItemsAdder java.lang.IllegalStateException: Missing registry: ResourceKey[minecraft:root / minecraft:recipe_serializer] at net.minecraft.core.RegistryAccess.lambda$registryOrThrow$0(RegistryAccess.java:27) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at java.base/java.util.Optional.orElseThrow(Optional.java:403) ~[?:?] at net.minecraft.core.RegistryAccess.registryOrThrow(RegistryAccess.java:27) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.codec.ByteBufCodecs$23.getRegistryOrThrow(ByteBufCodecs.java:511) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.codec.ByteBufCodecs$23.encode(ByteBufCodecs.java:522) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.codec.ByteBufCodecs$23.encode(ByteBufCodecs.java:509) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.codec.StreamCodec$6.encode(StreamCodec.java:106) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at ItemsAdder_4.0.2-alpha-test-7.jar/ia.m.lt.a(SourceFile:119) ~[ItemsAdder_4.0.2-alpha-test-7.jar:?] at ItemsAdder_4.0.2-alpha-test-7.jar/ia.m.lt.onPacketSending(SourceFile:82) ~[ItemsAdder_4.0.2-alpha-test-7.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.OutboundPacketListenerSet.invokeListener(OutboundPacketListenerSet.java:74) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.PacketListenerSet.lambda$invoke$0(PacketListenerSet.java:120) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.timing.TimingTracker.lambda$static$0(TimingTracker.java:7) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.PacketListenerSet.invoke(PacketListenerSet.java:120) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.OutboundPacketListenerSet.invoke(OutboundPacketListenerSet.java:30) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.PacketListenerSet.invoke(PacketListenerSet.java:99) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:528) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.PacketFilterManager.invokeOutboundPacketListeners(PacketFilterManager.java:516) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:528) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.proxyRunnable(NettyEventLoopProxy.java:44) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:233) ~[ProtocolLib.jar:?] at net.minecraft.network.Connection.sendPacket(Connection.java:489) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.Connection.send(Connection.java:449) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.network.ServerCommonPacketListenerImpl.send(ServerCommonPacketListenerImpl.java:311) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.network.ServerCommonPacketListenerImpl.send(ServerCommonPacketListenerImpl.java:292) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:304) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.network.ServerConfigurationPacketListenerImpl.handleConfigurationFinished(ServerConfigurationPacketListenerImpl.java:153) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.handle(ServerboundFinishConfigurationPacket.java:22) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.handle(ServerboundFinishConfigurationPacket.java:13) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:55) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1511) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:195) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1488) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1411) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1377) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1238) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-145-fe7043e] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]