update protocol packet definitions: replace value receivers with pointer receivers in PacketID methods, expand FixedBitSet size from 8 to 256 bits, and remove outdated documentation files

This commit is contained in:
2025-08-23 17:27:23 +08:00
parent eb01f5ccc7
commit 8b3d6c8bd5
122 changed files with 586 additions and 681 deletions

View File

@ -10,7 +10,7 @@ type CookieResponse struct {
Payload []int8 `mc:"Byte"`
}
func (CookieResponse) PacketID() packetid.ServerboundPacketID {
func (*CookieResponse) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundCookieResponse
}