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 new packets and general networking #475

Merged
merged 16 commits into from
Aug 12, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 2 additions & 0 deletions buildSrc/src/main/resources/minecraft_specific_words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ google
quaternionf
taggable
workflow
unihex
reconfiging

// word combinations
Expand Down Expand Up @@ -420,6 +421,7 @@ craftable
dumpable
enchantable
equippable
loggable
hoverable
infestable
interpolatable
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ download_task = "4.1.1"
guava = "31.1-jre"
jackson_xml = "2.14.1"
launchermeta_parser = "1.0.0"
enigma = "1.8.7"
enigma = "1.8.8"
enigma_plugin = "1.3.2"
tiny_remapper = "0.7.2"
stitch = "0.6.1"
Expand Down
54 changes: 54 additions & 0 deletions mappings/net/minecraft/network/ClientConnection.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ CLASS net/minecraft/unmapped/C_oasmcckk net/minecraft/network/ClientConnection
FIELD f_hudxxxbp CLIENT_IO_GROUP Ljava/util/function/Supplier;
FIELD f_jrcdtkyf averagePacketsSent F
FIELD f_kawdlrjp channel Lio/netty/channel/Channel;
FIELD f_lafevvyl queuedTasks Ljava/util/Queue;
FIELD f_lspmidtv LOGGER Lorg/slf4j/Logger;
FIELD f_ltsvsynv S2C_PROTOCOL_KEY Lio/netty/util/AttributeKey;
FIELD f_mamtuefi packetsReceivedCounter I
FIELD f_naljjxui disconnectListener Lnet/minecraft/unmapped/C_tkgdawqw;
FIELD f_nqkzlzra PACKET_SENT_MARKER Lorg/slf4j/Marker;
FIELD f_pdctspiv EPOLL_CLIENT_IO_GROUP Ljava/util/function/Supplier;
FIELD f_sjhnumre averagePacketsReceived F
FIELD f_tealfggb C2S_PROTOCOL_KEY Lio/netty/util/AttributeKey;
FIELD f_ucdtbtsq packetListener Lnet/minecraft/unmapped/C_tkgdawqw;
FIELD f_vcukytvt errored Z
FIELD f_wborsynf NETWORK_MARKER Lorg/slf4j/Marker;
Expand Down Expand Up @@ -48,15 +52,23 @@ CLASS net/minecraft/unmapped/C_oasmcckk net/minecraft/network/ClientConnection
ARG 0 address
ARG 1 useEpoll
ARG 2 connection
METHOD m_ayigybdt disableAutoReload ()V
METHOD m_bgcagbfi sendImmediately (Lnet/minecraft/unmapped/C_zyjtrjrl;Lnet/minecraft/unmapped/C_zddpfpkk;Z)V
ARG 1 packet
ARG 2 listener
ARG 3 flush
METHOD m_bhwloxoc getPacketListener ()Lnet/minecraft/unmapped/C_tkgdawqw;
METHOD m_bjjkjdwd (Lorg/slf4j/Marker;)V
ARG 0 marker
METHOD m_bnpqdudq hasChannel ()Z
METHOD m_bywquzql getDisconnectReason ()Lnet/minecraft/unmapped/C_rdaqiwdt;
METHOD m_cmmddozg setProtocolAttributes (Lio/netty/channel/Channel;)V
ARG 0 channel
METHOD m_cxygpyan disableAutoRead ()V
METHOD m_dinouaaw getProtocolKey (Lnet/minecraft/unmapped/C_exeqxqdd;)Lio/netty/util/AttributeKey;
ARG 0 side
METHOD m_ebhlhyxr setS2CPacketHandler (Lnet/minecraft/unmapped/C_uxoyljpb;)V
ARG 1 intent
METHOD m_ebvsfyfg setupEncryption (Ljavax/crypto/Cipher;Ljavax/crypto/Cipher;)V
ARG 1 decryptionCipher
ARG 2 encryptionCipher
Expand All @@ -66,16 +78,47 @@ CLASS net/minecraft/unmapped/C_oasmcckk net/minecraft/network/ClientConnection
METHOD m_ejdecnhl addHandlers (Lio/netty/channel/ChannelPipeline;Lnet/minecraft/unmapped/C_exeqxqdd;)V
ARG 0 pipeline
ARG 1 side
METHOD m_faopouol flushInternal ()V
METHOD m_fqnxiapg submit (Ljava/util/function/Consumer;)V
ARG 1 task
METHOD m_gwpixgaq connect (Ljava/lang/String;ILnet/minecraft/unmapped/C_tkgdawqw;Lnet/minecraft/unmapped/C_uxoyljpb;)V
ARG 1 address
ARG 2 port
ARG 3 listener
ARG 4 intent
METHOD m_hmamwxog sendWithoutFlush (Lnet/minecraft/unmapped/C_zyjtrjrl;Lnet/minecraft/unmapped/C_zddpfpkk;)V
ARG 1 packet
ARG 2 sendListener
METHOD m_honyjhko (Lorg/slf4j/Marker;)V
ARG 0 marker
METHOD m_iopaivkv addValidatorInternal (Lio/netty/channel/ChannelPipeline;Lnet/minecraft/unmapped/C_exeqxqdd;)V
ARG 0 pipeline
ARG 1 side
METHOD m_jfnkfhlj addValidator (Lio/netty/channel/ChannelPipeline;Lnet/minecraft/unmapped/C_exeqxqdd;)V
ARG 0 pipeline
ARG 1 side
METHOD m_jitsmihi getAveragePacketsReceived ()F
METHOD m_kbtplepg disconnect (Lnet/minecraft/unmapped/C_rdaqiwdt;)V
ARG 1 disconnectReason
METHOD m_kqbvmhdm getOppositeSide ()Lnet/minecraft/unmapped/C_exeqxqdd;
COMMENT Returns the opposite side of this connection, or the direction of the packets
COMMENT sent by this connection.
METHOD m_kxmmachs setHandshakeListener (Lnet/minecraft/unmapped/C_tkgdawqw;)V
ARG 1 listener
METHOD m_lpkwetce sendWithoutFlush (Lnet/minecraft/unmapped/C_zyjtrjrl;)V
ARG 1 packet
METHOD m_lyptmghi connectLocal (Ljava/net/SocketAddress;)Lnet/minecraft/unmapped/C_oasmcckk;
ARG 0 address
METHOD m_myzbxovj connect (Ljava/lang/String;ILnet/minecraft/unmapped/C_jsvwwjov;)V
ARG 1 address
ARG 2 port
ARG 3 listener
METHOD m_oetgkssj (Lnet/minecraft/unmapped/C_zyjtrjrl;Lnet/minecraft/unmapped/C_zddpfpkk;ZLnet/minecraft/unmapped/C_oasmcckk;)V
ARG 3 connection
METHOD m_qoorbrdh connect (Ljava/lang/String;ILnet/minecraft/unmapped/C_nyzvjqyd;)V
ARG 1 address
ARG 2 port
ARG 3 listener
METHOD m_qqopfmuz setPacketListener (Lnet/minecraft/unmapped/C_tkgdawqw;)V
COMMENT Sets the packet listener that will handle oncoming packets, including
COMMENT ones that are not yet handled by the current packet listener.
Expand All @@ -89,8 +132,13 @@ CLASS net/minecraft/unmapped/C_oasmcckk net/minecraft/network/ClientConnection
METHOD m_rsirbonf send (Lnet/minecraft/unmapped/C_zyjtrjrl;Lnet/minecraft/unmapped/C_zddpfpkk;)V
ARG 1 packet
ARG 2 listener
METHOD m_rvagcspt getLoggableAddress (Z)Ljava/lang/String;
ARG 1 logIps
METHOD m_sigcqeza getAddress ()Ljava/net/SocketAddress;
METHOD m_sprgohsj flush ()V
METHOD m_tulexlec tick ()V
METHOD m_ufahuesy (Lnet/minecraft/unmapped/C_zddpfpkk;Lio/netty/util/concurrent/Future;)V
ARG 2 future
METHOD m_uhgukhmf getAveragePacketsSent ()F
METHOD m_urabqmij isEncrypted ()Z
METHOD m_uyfxzupt setCompressionThreshold (IZ)V
Expand All @@ -112,11 +160,17 @@ CLASS net/minecraft/unmapped/C_oasmcckk net/minecraft/network/ClientConnection
METHOD m_vyytglie sendInternal (Lnet/minecraft/unmapped/C_zyjtrjrl;Lnet/minecraft/unmapped/C_zddpfpkk;Z)V
ARG 1 packet
ARG 2 listener
ARG 3 flush
METHOD m_wlmhzfek handleDisconnection ()V
METHOD m_wrxqepoa isLocal ()Z
METHOD m_wzyhrrka (Lorg/slf4j/Marker;)V
ARG 0 marker
METHOD m_xphjmqxa isOpen ()Z
METHOD m_yimhdukv enableAutoReload ()V
METHOD m_zbfykobd send (Lnet/minecraft/unmapped/C_zyjtrjrl;Lnet/minecraft/unmapped/C_zddpfpkk;Z)V
ARG 1 packet
ARG 2 sendListener
ARG 3 flush
METHOD m_ziivfjpb getSide ()Lnet/minecraft/unmapped/C_exeqxqdd;
COMMENT Returns the side of this connection, or the direction of the packets received
COMMENT by this connection.
Expand Down
7 changes: 7 additions & 0 deletions mappings/net/minecraft/network/ConnectionIntent.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CLASS net/minecraft/unmapped/C_uxoyljpb net/minecraft/network/ConnectionIntent
FIELD f_ipgpjumr LOGIN_ID I
FIELD f_jclclbta STATUS_ID I
METHOD m_urowrtvw byId (I)Lnet/minecraft/unmapped/C_uxoyljpb;
ix0rai marked this conversation as resolved.
Show resolved Hide resolved
ARG 0 id
METHOD m_vbiyalqs getId ()I
METHOD m_xmbsvuou getState ()Lnet/minecraft/unmapped/C_kxdobmrm;
1 change: 1 addition & 0 deletions mappings/net/minecraft/network/DecoderHandler.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CLASS net/minecraft/unmapped/C_anuorqvf net/minecraft/network/DecoderHandler
FIELD f_vfzgevwc protocolKey Lio/netty/util/AttributeKey;
FIELD f_yxifsiie LOGGER Lorg/slf4j/Logger;
METHOD decode decode (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
ARG 1 context
Expand Down
13 changes: 13 additions & 0 deletions mappings/net/minecraft/network/LegacyQueryHandler.mapping
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
CLASS net/minecraft/unmapped/C_avdfsszh net/minecraft/network/LegacyQueryHandler
FIELD f_vfsyhtrl LOGGER Lorg/slf4j/Logger;
FIELD f_wdggkjco server Lnet/minecraft/unmapped/C_izclhiva;
METHOD <init> (Lnet/minecraft/unmapped/C_izclhiva;)V
ARG 1 server
METHOD channelRead channelRead (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
ARG 1 ctx
ARG 2 msg
METHOD m_ennidrzj createLegacyDisconnectPacket (Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;)Lio/netty/buffer/ByteBuf;
ARG 0 bufAllocator
ARG 1 string
METHOD m_irydumar isLegacyQuery (Lio/netty/buffer/ByteBuf;)Z
ARG 0 buf
METHOD m_oosmvotf createV0Response (Lnet/minecraft/unmapped/C_izclhiva;)Ljava/lang/String;
ARG 0 server
METHOD m_uebdfllr createV1Response (Lnet/minecraft/unmapped/C_izclhiva;)Ljava/lang/String;
ARG 0 server
METHOD m_wzruoctl reply (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V
ARG 0 handlerContext
ARG 1 ctx
ARG 2 buf
1 change: 1 addition & 0 deletions mappings/net/minecraft/network/PacketBundler.mapping
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CLASS net/minecraft/unmapped/C_xyumsucd net/minecraft/network/PacketBundler
FIELD f_aomhaitc handler Lnet/minecraft/unmapped/C_ixirlvvy$C_ldzjqxye;
FIELD f_bfxntkhd info Lnet/minecraft/unmapped/C_ixirlvvy;
FIELD f_qjvawdwl protocolKey Lio/netty/util/AttributeKey;
METHOD decode decode (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V
ARG 1 context
ARG 2 packet
Expand Down
32 changes: 32 additions & 0 deletions mappings/net/minecraft/network/PacketByteBuf.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,12 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT @see #readProperty()
ARG 1 property
METHOD m_abmmdpgc writePropertyMap (Lcom/mojang/authlib/properties/PropertyMap;)V
COMMENT Writes a map of properties to this buf.
COMMENT A property is represented by two strings, indicating the key and value, followed by a boolean indicating if a
COMMENT a signature is present, followed by a string indicating the signature only if it's present.
ix0rai marked this conversation as resolved.
Show resolved Hide resolved
COMMENT
COMMENT @see #readPropertyMap()
COMMENT @see #writeProperty(Property)
ARG 1 propertyMap
METHOD m_aghygfnm readMap (Ljava/util/function/IntFunction;Lnet/minecraft/unmapped/C_idfydwco$C_qteuvzud;Lnet/minecraft/unmapped/C_idfydwco$C_qteuvzud;)Ljava/util/Map;
COMMENT Reads a map from this buf. The map is stored as a leading
Expand All @@ -288,6 +294,7 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT a factory that creates a map with a given size
ARG 2 keyReader
ARG 3 valueReader
METHOD m_aiozlifw readRegistryKey ()Lnet/minecraft/unmapped/C_xhhleach;
METHOD m_alotuvgi writeOptional (Ljava/util/Optional;Lnet/minecraft/unmapped/C_idfydwco$C_urseyllo;)V
COMMENT Writes an optional value to this buf. An optional value is represented by
COMMENT a boolean indicating if the value is present, followed by the value only if
Expand Down Expand Up @@ -513,6 +520,7 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT written
COMMENT @see #readNbt()
COMMENT @see #readNbt(NbtTagSizeTracker)
ARG 1 nbtElement
METHOD m_jrgknvio decode (Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Codec;Lnet/minecraft/unmapped/C_fozrrtcx;)Ljava/lang/Object;
COMMENT Reads an object from this buf as a compound NBT with the given codec.
COMMENT
Expand Down Expand Up @@ -601,6 +609,12 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT @return this buf, for chaining
ARG 1 array
COMMENT the array to write
METHOD m_ngsogwlc decodeById (Ljava/util/function/IntFunction;)Ljava/lang/Object;
COMMENT Reads a {@linkplain #readVarInt var int} from this buf,
COMMENT and then runs {@code idToValue} to convert it to a value.
ix0rai marked this conversation as resolved.
Show resolved Hide resolved
COMMENT
COMMENT @return the decoded value
ARG 1 idToValue
METHOD m_nhmhnzug readBitSet (I)Ljava/util/BitSet;
ARG 1 bitSet
METHOD m_nhqatmjh writeJson (Lcom/mojang/serialization/Codec;Ljava/lang/Object;)V
Expand Down Expand Up @@ -688,6 +702,12 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
ARG 1 bitSet
COMMENT the bit set to write
METHOD m_rfxcdbdu readPropertyMap ()Lcom/mojang/authlib/properties/PropertyMap;
COMMENT Reads a map of properties from this buf.
COMMENT A property is represented by two strings, indicating the key and value, followed by a boolean indicating if a
COMMENT a signature is present, followed by a string indicating the signature only if it's present.
ix0rai marked this conversation as resolved.
Show resolved Hide resolved
COMMENT
COMMENT @see #writePropertyMap(PropertyMap)
COMMENT @see #readProperty()
METHOD m_rmsqcqnf writeEither (Lcom/mojang/datafixers/util/Either;Lnet/minecraft/unmapped/C_idfydwco$C_urseyllo;Lnet/minecraft/unmapped/C_idfydwco$C_urseyllo;)V
COMMENT Writes a value of two possible types, either left or right, to this buf.
COMMENT An Either value is represented by a boolean indicating whether to use the
Expand Down Expand Up @@ -786,10 +806,18 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT @see #readBlockHitResult()
ARG 1 hitResult
COMMENT the block hit result to write
METHOD m_tpmwdhmz writeById (Ljava/util/function/ToIntFunction;Ljava/lang/Object;)Lnet/minecraft/unmapped/C_idfydwco;
COMMENT Runs {@code valueToId} on {@code value} to generate an id,
COMMENT and then writes it as a {@linkplain #readVarInt var int} to this buf.
COMMENT
COMMENT @return this buf, for chaining
ARG 1 valueToId
ARG 2 value
METHOD m_tuovdjxm (Lnet/minecraft/unmapped/C_idfydwco$C_urseyllo;Ljava/lang/Object;)V
ARG 2 object
METHOD m_ucosefkt decode (Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Codec;)Ljava/lang/Object;
METHOD m_uedohhct readNbt (Lnet/minecraft/unmapped/C_fozrrtcx;)Lnet/minecraft/unmapped/C_oivssbvb;
ARG 1 tagSizeTracker
METHOD m_uvlqpwrk readLongArray ([J)[J
COMMENT Reads an array of primitive longs from this buf. The array first has a
COMMENT var int indicating its length, followed by the regular long (not var
Expand Down Expand Up @@ -1044,6 +1072,8 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
METHOD resetReaderIndex resetReaderIndex ()Lio/netty/buffer/ByteBuf;
METHOD resetWriterIndex resetWriterIndex ()Lio/netty/buffer/ByteBuf;
METHOD retain retain ()Lio/netty/util/ReferenceCounted;
METHOD retain (I)Lio/netty/buffer/ByteBuf;
ARG 1 i
METHOD retain retain (I)Lio/netty/util/ReferenceCounted;
ARG 1 increment
METHOD retainedDuplicate retainedDuplicate ()Lio/netty/buffer/ByteBuf;
Expand Down Expand Up @@ -1149,6 +1179,8 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
METHOD toString toString (Ljava/nio/charset/Charset;)Ljava/lang/String;
ARG 1 charset
METHOD touch touch ()Lio/netty/util/ReferenceCounted;
METHOD touch (Ljava/lang/Object;)Lio/netty/buffer/ByteBuf;
ARG 1 o
METHOD touch touch (Ljava/lang/Object;)Lio/netty/util/ReferenceCounted;
ARG 1 o
METHOD unwrap unwrap ()Lio/netty/buffer/ByteBuf;
Expand Down
7 changes: 6 additions & 1 deletion mappings/net/minecraft/network/PacketInflater.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ CLASS net/minecraft/unmapped/C_twqrkcqp net/minecraft/network/PacketInflater
METHOD <init> (IZ)V
ARG 1 compressionThreshold
ARG 2 rejectsBadPackets
METHOD decode decode (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
METHOD decode (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
ARG 1 context
ARG 2 buffer
ARG 3 output
METHOD m_psqvgbxv inflate (Lio/netty/channel/ChannelHandlerContext;I)Lio/netty/buffer/ByteBuf;
ARG 1 handlerContext
ARG 2 expectedSize
METHOD m_tatdfypu setCompressionThreshold (IZ)V
ARG 1 compressionThreshold
ARG 2 rejectsBadPackets
METHOD m_zdbudlnd setupInputBuf (Lio/netty/buffer/ByteBuf;)V
ARG 1 buf
5 changes: 5 additions & 0 deletions mappings/net/minecraft/network/QueryableServer.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CLASS net/minecraft/unmapped/C_izclhiva net/minecraft/network/QueryableServer
METHOD m_jlkyffol getMotd ()I
METHOD m_ngtuslcn getMaxPlayerCount ()I
METHOD m_verihzmf getPlayerCount ()Ljava/lang/String;
METHOD m_zhlwscbp getVersion ()Ljava/lang/String;
1 change: 1 addition & 0 deletions mappings/net/minecraft/network/SizePrepender.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CLASS net/minecraft/unmapped/C_kkkztqzf net/minecraft/network/SizePrepender
FIELD f_dceclpvh MAX_PREPEND_LENGTH I
METHOD encode encode (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/buffer/ByteBuf;)V
ARG 1 context
ARG 2 buffer
Expand Down
9 changes: 8 additions & 1 deletion mappings/net/minecraft/network/SplitterHandler.mapping
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
CLASS net/minecraft/unmapped/C_hoasxhkp net/minecraft/network/SplitterHandler
METHOD decode decode (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
FIELD f_bmaoystr MAX_LENGTH_BYTES I
FIELD f_rvhsntis helperBuf Lio/netty/buffer/ByteBuf;
METHOD decode (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
ARG 1 context
ARG 2 buffer
ARG 3 output
METHOD handlerRemoved0 (Lio/netty/channel/ChannelHandlerContext;)V
ix0rai marked this conversation as resolved.
Show resolved Hide resolved
ARG 1 handlerContext
METHOD m_uxxlispy copyVarInt (Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Z
ARG 0 buf1
ARG 1 buf2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CLASS net/minecraft/unmapped/C_pqjlsntn net/minecraft/network/encoding/StringEncoding
METHOD m_nqvomhdl read (Lio/netty/buffer/ByteBuf;I)Ljava/lang/String;
ARG 0 buf
ARG 1 maxLength
METHOD m_xkifcdol write (Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;I)V
ARG 0 buf
ARG 1 string
ARG 2 maxLength
14 changes: 14 additions & 0 deletions mappings/net/minecraft/network/encoding/VarInts.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
CLASS net/minecraft/unmapped/C_wttjudfn net/minecraft/network/encoding/VarInts
FIELD f_hycthvdj MAX_VAR_INT_SIZE I
FIELD f_niofpker DATA_BITS_PER_BYTE I
FIELD f_okmrimwg DATA_BITS_MASK I
FIELD f_tkubqhfl CONTINUATION_BIT_MASK I
METHOD m_mrpwkmdl read (Lio/netty/buffer/ByteBuf;)I
ARG 0 buf
METHOD m_nmzriqzv write (Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
ARG 0 buf
ARG 1 i
METHOD m_vmtzkwuq shouldContinueRead (B)Z
ARG 0 b
METHOD m_ylnpcfew getSizeBytes (I)I
ARG 0 i
14 changes: 14 additions & 0 deletions mappings/net/minecraft/network/encoding/VarLongs.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
CLASS net/minecraft/unmapped/C_azpiyxng net/minecraft/network/encoding/VarLongs
FIELD f_akazvhkz DATA_BITS_PER_BYTE I
FIELD f_uxgeildm DATA_BITS_MASK I
FIELD f_veomxwqz CONTINUATION_BIT_MASK I
FIELD f_wioeobfz MAX_VAR_LONG_SIZE I
METHOD m_lvwinszs shouldContinueRead (B)Z
ARG 0 b
METHOD m_oifgejik read (Lio/netty/buffer/ByteBuf;)J
ARG 0 buf
METHOD m_stgjvvst getSizeBytes (J)I
ARG 0 l
METHOD m_ttzoekcn write (Lio/netty/buffer/ByteBuf;J)Lio/netty/buffer/ByteBuf;
ARG 0 buf
ARG 1 l
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ CLASS net/minecraft/unmapped/C_djjgdtqh net/minecraft/network/packet/s2c/payload
METHOD m_yfypquja (Lnet/minecraft/unmapped/C_idfydwco;Lnet/minecraft/unmapped/C_idfydwco;Lnet/minecraft/unmapped/C_djjgdtqh$C_obwdgvyc;)V
ARG 1 byteBuf
ARG 2 piece
CLASS C_obwdgvyc PieceQWE
CLASS C_obwdgvyc Piece
METHOD m_cikdbpyh write (Lnet/minecraft/unmapped/C_idfydwco;)V
Loading