From b7b43e8338ed58bd44194cd5c7fdf6d93764e2e0 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Fri, 23 Aug 2024 13:41:08 +0500 Subject: [PATCH] fix: map ByteArray codecs in PacketCodecs --- .../net/minecraft/network/codec/PacketCodecs.mapping | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mappings/net/minecraft/network/codec/PacketCodecs.mapping b/mappings/net/minecraft/network/codec/PacketCodecs.mapping index 4878f83255..fc06b47e7d 100644 --- a/mappings/net/minecraft/network/codec/PacketCodecs.mapping +++ b/mappings/net/minecraft/network/codec/PacketCodecs.mapping @@ -77,6 +77,7 @@ CLASS net/minecraft/class_9135 net/minecraft/network/codec/PacketCodecs COMMENT COMMENT @see net.minecraft.network.PacketByteBuf#readByteArray() COMMENT @see net.minecraft.network.PacketByteBuf#writeByteArray(byte[]) + FIELD field_49674 MAX_INITIAL_COLLECTION_SIZE I FIELD field_49675 INTEGER Lnet/minecraft/class_9139; COMMENT A codec for an integer value. COMMENT @@ -319,6 +320,8 @@ CLASS net/minecraft/class_9135 net/minecraft/network/codec/PacketCodecs METHOD method_56403 decode (Lio/netty/buffer/ByteBuf;)[B ARG 1 buf METHOD method_56404 encode (Lio/netty/buffer/ByteBuf;[B)V + ARG 1 buf + ARG 2 value CLASS 20 FIELD field_49691 NAME_MAX_LENGTH I FIELD field_49692 VALUE_MAX_LENGTH I @@ -329,6 +332,12 @@ CLASS net/minecraft/class_9135 net/minecraft/network/codec/PacketCodecs ARG 1 signature METHOD method_58017 (Lio/netty/buffer/ByteBuf;)Ljava/lang/String; ARG 0 buf2 + CLASS 3 + METHOD method_59799 decode (Lio/netty/buffer/ByteBuf;)[B + ARG 1 buf + METHOD method_59800 encode (Lio/netty/buffer/ByteBuf;[B)V + ARG 1 buf + ARG 2 value CLASS 6 METHOD method_56899 (Ljava/lang/Object;Ljava/lang/String;)Lio/netty/handler/codec/EncoderException; ARG 1 error