You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello ! First of all thanks for all the work you've done with ProtocolLib since so many years.
I use ProtocolLib 3.5.0 for my old project and i want to made a public API for allow modder to simply create and register new packets for modded client.
It work well with 3.5.0 and 1.8.8, but with the 4.7.0 version i can"t understand and use my code. (I'm still in 1.8.8)
With 4.7.0 i juste change the packetType declaration and that the error, now i have when i want to use an custom packet : Could not find packet for type null
When i print the packetType, yeah, it's null, but with variable inside, for exemple Packet : CPacketPosition || PacketType : null[PLAY, CLIENT, 127, classNames: [net.minecraft.network.play.client.CPacketPosition] (unregistered)]
Hello ! First of all thanks for all the work you've done with ProtocolLib since so many years.
I use ProtocolLib 3.5.0 for my old project and i want to made a public API for allow modder to simply create and register new packets for modded client.
It work well with 3.5.0 and 1.8.8, but with the 4.7.0 version i can"t understand and use my code. (I'm still in 1.8.8)
Here what i have now
`public void registerPacket(Class<? extends CocPacket> packetClass, int packetId, Sender sender) {
With 4.7.0 i juste change the packetType declaration and that the error, now i have when i want to use an custom packet :
Could not find packet for type null
When i print the packetType, yeah, it's null, but with variable inside, for exemple
Packet : CPacketPosition || PacketType : null[PLAY, CLIENT, 127, classNames: [net.minecraft.network.play.client.CPacketPosition] (unregistered)]
Packet : SPacketPosition || PacketType : null[PLAY, SERVER, 175, classNames: [net.minecraft.network.play.server.SPacketPosition] (unregistered)]
I search on internet but it's realy rare to find users using ProtocolLib for custom packet, but it's so simple with you're lib.
Thanks in advance for the help !
The text was updated successfully, but these errors were encountered: