Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map ByteArray codecs in PacketCodecs #3960

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions mappings/net/minecraft/network/codec/PacketCodecs.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down