Skip to content

Commit

Permalink
complete codecs (QuiltMC#557)
Browse files Browse the repository at this point in the history
* complete codecs

* fix some bad names

* of -> create

* Apply suggestions from code review

Co-authored-by: Will <[email protected]>

* remove suffixes

* update javadoc table

* Update mappings/net/minecraft/util/dynamic/Codecs.mapping

Co-authored-by: Will <[email protected]>

---------

Co-authored-by: Will <[email protected]>
  • Loading branch information
ix0rai and supersaiyansubtlety authored Mar 14, 2024
1 parent c325bdf commit 8fbfc2f
Show file tree
Hide file tree
Showing 16 changed files with 417 additions and 14 deletions.
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 = "2.2.0"
enigma = "2.2.1"
enigma_plugin = "2.2.0"
tiny_remapper = "0.7.2"
stitch = "0.6.1"
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/item/ItemStack.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ CLASS net/minecraft/unmapped/C_sddaxwyk net/minecraft/item/ItemStack
COMMENT Custom NBT data needs to be re-evaluated as of the changes in 24w09a.
FIELD f_bnghiwgu PACKET_CODEC Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_eqmyksbs item Lnet/minecraft/unmapped/C_vorddnax;
FIELD f_iboyubuh OPTIONAL_PACKET_CODEC Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_llcklqth count I
FIELD f_lrxqoedj EMPTY Lnet/minecraft/unmapped/C_sddaxwyk;
FIELD f_lxaedfnb cooldown I
Expand Down
20 changes: 16 additions & 4 deletions mappings/net/minecraft/network/PacketByteBuf.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT <tr>
COMMENT <td>{@link BitSet}</td><td>{@link #readBitSet()}</td><td>{@link #writeBitSet(BitSet)}</td>
COMMENT </tr>
COMMENT <tr>
COMMENT <td>{@link Optional}</td><td>{@link #readOptional(PacketByteBuf.PacketReader)}</td><td>{@link #writeOptional(Optional, PacketByteBuf.PacketWriter)}</td>
COMMENT </tr>
COMMENT <tr>
COMMENT <td>Nullable value</td><td>{@link #readNullable(PacketByteBuf.PacketReader)}</td><td>{@link #writeNullable(Object, PacketByteBuf.PacketWriter)}</td>
COMMENT </tr>
COMMENT </table></div>
COMMENT
COMMENT <p>All {@code read} and {@code write} methods throw {@link
Expand Down Expand Up @@ -343,6 +349,9 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT @return the read bit set
COMMENT @see #writeBitSet(BitSet)
METHOD m_etdtxgpv readMap (Ljava/util/function/IntFunction;Lnet/minecraft/unmapped/C_ajdohfrc;Lnet/minecraft/unmapped/C_ajdohfrc;)Ljava/util/Map;
ARG 1 mapFactory
ARG 2 keyDecoder
ARG 3 valueDecoder
METHOD m_eznoskdd readMap (Lnet/minecraft/unmapped/C_ajdohfrc;Lnet/minecraft/unmapped/C_ajdohfrc;)Ljava/util/Map;
METHOD m_fjcnjxnm readString (I)Ljava/lang/String;
COMMENT Reads a string from this buf. A string is represented by a byte array of
Expand All @@ -356,7 +365,7 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT @see #writeString(String, int)
ARG 1 maxLength
COMMENT the maximum length of the string read
METHOD m_fjolbvuh (Lnet/minecraft/unmapped/C_ajdohfrc;)Ljava/lang/Object;
METHOD m_fjolbvuh readNullable (Lnet/minecraft/unmapped/C_ajdohfrc;)Ljava/lang/Object;
ARG 1 decoder
METHOD m_ftclzqhi readChunkSectionPos ()Lnet/minecraft/unmapped/C_zubvmeye;
COMMENT Reads a chunk section position from this buf. A chunk section position is
Expand Down Expand Up @@ -513,7 +522,7 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
METHOD m_mafeqoqe readNbt (Lio/netty/buffer/ByteBuf;Lnet/minecraft/unmapped/C_fozrrtcx;)Lnet/minecraft/unmapped/C_oivssbvb;
ARG 0 buf
ARG 1 nbtTagSizeTracker
METHOD m_mdkhzffo (Lio/netty/buffer/ByteBuf;Lnet/minecraft/unmapped/C_ajdohfrc;)Ljava/lang/Object;
METHOD m_mdkhzffo readNullable (Lio/netty/buffer/ByteBuf;Lnet/minecraft/unmapped/C_ajdohfrc;)Ljava/lang/Object;
ARG 0 buf
ARG 1 decoder
METHOD m_mhlenoxy readPos (Lio/netty/buffer/ByteBuf;)Lnet/minecraft/unmapped/C_hynzadkk;
Expand Down Expand Up @@ -552,7 +561,7 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
METHOD m_olpsrdqq getMaxValidator (Ljava/util/function/IntFunction;I)Ljava/util/function/IntFunction;
ARG 0 applier
ARG 1 max
METHOD m_omssfaex (Lio/netty/buffer/ByteBuf;Ljava/lang/Object;Lnet/minecraft/unmapped/C_hiksfskl;)V
METHOD m_omssfaex writeNullable (Lio/netty/buffer/ByteBuf;Ljava/lang/Object;Lnet/minecraft/unmapped/C_hiksfskl;)V
ARG 0 buf
ARG 2 encoder
METHOD m_pihymbdn readQuaternion ()Lorg/joml/Quaternionf;
Expand Down Expand Up @@ -760,6 +769,7 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT @see #readCollection(IntFunction, Reader)
ARG 1 collection
COMMENT the collection to write
ARG 2 valueEncoder
METHOD m_wxfnqbwh readVarInt ()I
COMMENT Reads a single var int from this buf.
COMMENT
Expand All @@ -777,6 +787,8 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT @see #readMap(IntFunction, Reader, Reader)
ARG 1 map
COMMENT the map to write
ARG 2 keyEncoder
ARG 3 valueEncoder
METHOD m_ybnsdtco readRegistryKey (Lnet/minecraft/unmapped/C_xhhleach;)Lnet/minecraft/unmapped/C_xhhleach;
COMMENT Reads a registry key from this buf. A registry key is represented by an
COMMENT identifier.
Expand All @@ -801,7 +813,7 @@ CLASS net/minecraft/unmapped/C_idfydwco net/minecraft/network/PacketByteBuf
COMMENT length over {@code maxSize}
ARG 1 maxSize
COMMENT the max length of the read array
METHOD m_zcmiuaxl (Ljava/lang/Object;Lnet/minecraft/unmapped/C_hiksfskl;)V
METHOD m_zcmiuaxl writeNullable (Ljava/lang/Object;Lnet/minecraft/unmapped/C_hiksfskl;)V
ARG 2 encoder
METHOD m_zflhnxwv writeString (Ljava/lang/String;)Lnet/minecraft/unmapped/C_idfydwco;
COMMENT Writes a string to this buf. A string is represented by a byte array of
Expand Down
77 changes: 72 additions & 5 deletions mappings/net/minecraft/network/codec/PacketCodec.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,79 @@ CLASS net/minecraft/unmapped/C_qsrmwluu net/minecraft/network/codec/PacketCodec
METHOD m_aekplkat create (Lnet/minecraft/unmapped/C_dptxqryi;Lnet/minecraft/unmapped/C_ajdohfrc;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 encoder
ARG 1 decoder
METHOD m_jnlparpp create (Ljava/util/function/Function;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_neslfeqk create (Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Ljava/util/function/BiFunction;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_jnlparpp mapBuf (Ljava/util/function/Function;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 1 function
METHOD m_kqzabmpi tuple (Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lcom/mojang/datafixers/util/Function3;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 codec1
ARG 1 from1
ARG 2 codec2
ARG 3 from2
ARG 4 codec3
ARG 5 from3
ARG 6 to
METHOD m_neslfeqk tuple (Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Ljava/util/function/BiFunction;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 codec1
ARG 1 from1
ARG 2 codec2
ARG 3 from2
ARG 4 to
METHOD m_ouxffrgo tuple (Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lcom/mojang/datafixers/util/Function4;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 codec1
ARG 1 from1
ARG 2 codec2
ARG 3 from2
ARG 4 codec3
ARG 5 from3
ARG 6 codec4
ARG 7 from4
ARG 8 to
METHOD m_rgewxgtr create (Lnet/minecraft/unmapped/C_hiksfskl;Lnet/minecraft/unmapped/C_ajdohfrc;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 encoder
ARG 1 decoder
METHOD m_tahgmrfg create (Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_vdpeazsa create (Ljava/lang/Object;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_xdepsjrp create (Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_tahgmrfg tuple (Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 codec
ARG 1 from
ARG 2 to
METHOD m_ufniiqur recursive (Ljava/util/function/UnaryOperator;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 codecGetter
METHOD m_vdpeazsa unit (Ljava/lang/Object;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 value
METHOD m_whbpgkrx tuple (Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lcom/mojang/datafixers/util/Function5;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 codec1
ARG 1 from1
ARG 2 codec2
ARG 3 from2
ARG 4 codec3
ARG 5 from3
ARG 6 codec4
ARG 7 from4
ARG 8 codec5
ARG 9 from5
ARG 10 to
METHOD m_xdepsjrp map (Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 1 to
ARG 2 from
METHOD m_xepolosp apply (Lnet/minecraft/unmapped/C_qsrmwluu$C_afmwjpzk;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 1 function
METHOD m_xkeikrrc dispatch (Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 1 type
ARG 2 codec
METHOD m_yeusexqs cast ()Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_ysrdtnvi tuple (Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/util/function/Function;Lcom/mojang/datafixers/util/Function6;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 codec1
ARG 1 from1
ARG 2 codec2
ARG 3 from2
ARG 4 codec3
ARG 5 from3
ARG 6 codec4
ARG 7 from4
ARG 8 codec5
ARG 9 from5
ARG 10 codec6
ARG 11 from6
ARG 12 to
CLASS C_afmwjpzk ResultFunction
METHOD apply apply (Lnet/minecraft/unmapped/C_qsrmwluu;)Lnet/minecraft/unmapped/C_qsrmwluu;
CLASS C_vqnuwlhg
FIELD f_qahzmlxg codecSupplier Ljava/util/function/Supplier;
111 changes: 109 additions & 2 deletions mappings/net/minecraft/network/codec/PacketCodecs.mapping
Original file line number Diff line number Diff line change
@@ -1,20 +1,127 @@
CLASS net/minecraft/unmapped/C_anfarvhg net/minecraft/network/codec/PacketCodecs
FIELD f_aqqzyznr VAR_LONG Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_bgegdnvw PROPERTY_MAP Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_crcpeyzs UNLIMITED_NBT_COMPOUND Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_dmnihysa BYTE Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_fhotulhk FLOAT Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_frcdpjld STRING Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_ggqudulf BYTE_ARRAY Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_jbsfgkwv OPTIONAL_NBT Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_jvjadjsq QUATERNIONF Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_kcibtezy NBT_ELEMENT Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_kvwzvahn GAME_PROFILE Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_lbagivqh UNLIMITED_NBT_ELEMENT Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_nsxxlrdp VECTOR3F Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_pvgxhbfa NBT_COMPOUND Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_rfaaqzbo DOUBLE Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_supiohbz MAX_INITIAL_SIZE I
FIELD f_uragsrtm SHORT Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_uyscbhlw INT Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_zeeybklf BOOL Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_zvxeyjsp VAR_INT Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_alnjbjmz collection (Ljava/util/function/IntFunction;Lnet/minecraft/unmapped/C_qsrmwluu;I)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 factory
ARG 1 elementCodec
ARG 2 maxSize
METHOD m_ciouqnhu optional (Lnet/minecraft/unmapped/C_qsrmwluu;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_dpnrrusl map (Ljava/util/function/IntFunction;Lnet/minecraft/unmapped/C_qsrmwluu;Lnet/minecraft/unmapped/C_qsrmwluu;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_drmsxvwy (Lnet/minecraft/unmapped/C_hhlwcnih;)Lnet/minecraft/unmapped/C_oivssbvb;
ARG 0 element
METHOD m_egxexijk fromRegistryCodec (Lcom/mojang/serialization/Codec;Ljava/util/function/Supplier;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_exbtwozt (Lcom/mojang/serialization/Codec;Ljava/lang/Object;)Lnet/minecraft/unmapped/C_oivssbvb;
ARG 1 value
METHOD m_fcmaafce nbtElement (Ljava/util/function/Supplier;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 sizeTracker
METHOD m_fhfovxvd registryValue (Lnet/minecraft/unmapped/C_xhhleach;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_fvunjhob string (I)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 maxLength
METHOD m_hbizjcsr registryEntry (Lnet/minecraft/unmapped/C_xhhleach;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_hbizjcsr holder (Lnet/minecraft/unmapped/C_xhhleach;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_hnoeqrke factory (Ljava/util/function/IntFunction;Lnet/minecraft/unmapped/C_qsrmwluu;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_hzgsqquo fromCodec (Lcom/mojang/serialization/Codec;Ljava/util/function/Supplier;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_jqcxtmyk entryOf (Lnet/minecraft/unmapped/C_feaetnaz;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_likrvuxr holderSet (Lnet/minecraft/unmapped/C_xhhleach;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_limimtjq fromCodec (Lcom/mojang/serialization/Codec;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_lyaauawx readCollectionSize (Lio/netty/buffer/ByteBuf;I)I
ARG 1 maxSize
METHOD m_mdzisppw (Lcom/mojang/serialization/Codec;Lnet/minecraft/unmapped/C_oivssbvb;)Ljava/lang/Object;
ARG 1 element
METHOD m_mjfejzjf either (Lnet/minecraft/unmapped/C_qsrmwluu;Lnet/minecraft/unmapped/C_qsrmwluu;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 left
ARG 1 right
METHOD m_mmxkfddk (Lnet/minecraft/unmapped/C_oivssbvb;Ljava/lang/String;)Lio/netty/handler/codec/DecoderException;
ARG 1 string
METHOD m_mxlbflvn (Ljava/lang/Object;Ljava/lang/String;)Lio/netty/handler/codec/EncoderException;
ARG 1 string
METHOD m_npmxjnbl toCollection ()Lnet/minecraft/unmapped/C_qsrmwluu$C_afmwjpzk;
METHOD m_nqqkdxck map (Ljava/util/function/IntFunction;Lnet/minecraft/unmapped/C_qsrmwluu;Lnet/minecraft/unmapped/C_qsrmwluu;I)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 factory
ARG 1 keyCodec
ARG 2 valueCodec
ARG 3 maxSize
METHOD m_oloxdgqd toCollection (I)Lnet/minecraft/unmapped/C_qsrmwluu$C_afmwjpzk;
ARG 0 maxSize
METHOD m_oxatcqxo indexed (Ljava/util/function/IntFunction;Ljava/util/function/ToIntFunction;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 indexToValue
ARG 1 valueToIndex
METHOD m_prosdmov nbtCompound (Ljava/util/function/Supplier;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_pzbvtfeh fromCodecUnlimited (Lcom/mojang/serialization/Codec;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_qaqftswj fromRegistryCodec (Lcom/mojang/serialization/Codec;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_ttkrtamq fromRegistryCodecUnlimited (Lcom/mojang/serialization/Codec;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_ugyvwjlm registry (Lnet/minecraft/unmapped/C_xhhleach;Ljava/util/function/Function;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_vpmnqxks registryEntry (Lnet/minecraft/unmapped/C_xhhleach;Lnet/minecraft/unmapped/C_qsrmwluu;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 1 registryTransformer
METHOD m_vpmnqxks holder (Lnet/minecraft/unmapped/C_xhhleach;Lnet/minecraft/unmapped/C_qsrmwluu;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_ydaogaft byteArray (I)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 maxLength
METHOD m_ygyhvfaa writeCollectionSize (Lio/netty/buffer/ByteBuf;II)V
ARG 1 size
ARG 2 maxSize
METHOD m_yjwewpbh (Lnet/minecraft/unmapped/C_oivssbvb;)Lnet/minecraft/unmapped/C_hhlwcnih;
ARG 0 element
METHOD m_yypssatp toCollection (Ljava/util/function/IntFunction;)Lnet/minecraft/unmapped/C_qsrmwluu$C_afmwjpzk;
ARG 0 factory
CLASS C_dhtumjvv
FIELD f_pzuarqam DIRECT_ENTRY I
FIELD f_ysesalon holderCodec Lnet/minecraft/unmapped/C_qsrmwluu;
CLASS C_hvrqkwdr
METHOD m_kfajemtk decode (Lio/netty/buffer/ByteBuf;)[B
ARG 1 buf
METHOD m_vyhpugrn encode (Lio/netty/buffer/ByteBuf;[B)V
ARG 1 buf
ARG 2 stack
CLASS C_kafuxsar
FIELD f_pjmbtmut MAX_NAME_LENGTH I
FIELD f_qryhtiop MAX_VALUE_LENGTH I
FIELD f_tfyfoyzd MAX_MAP_SIZE I
FIELD f_tudrrsev MAX_SIGNATURE_LENGTH I
METHOD m_nunuxbop (Lio/netty/buffer/ByteBuf;)Ljava/lang/String;
ARG 0 byteBuf
METHOD m_qimnbrnr (Lio/netty/buffer/ByteBuf;Ljava/lang/String;)V
ARG 0 byteBuf
ARG 1 string
CLASS C_oatylnwr
METHOD m_goafjuxj (Lnet/minecraft/unmapped/C_qsrmwluu;Lio/netty/buffer/ByteBuf;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/lang/Object;Ljava/lang/Object;)V
ARG 3 key
ARG 4 value
CLASS C_pylymjel
METHOD m_kmfqehwe (Lio/netty/buffer/ByteBuf;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/lang/Object;)V
ARG 2 value
METHOD m_shxibpeq (Lio/netty/buffer/ByteBuf;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/lang/Object;)V
ARG 2 value
CLASS C_qocgsfeq
METHOD m_fvtpsqsq (Ljava/lang/Object;Ljava/lang/String;)Lio/netty/handler/codec/EncoderException;
ARG 1 string
METHOD m_wvxmideb (Lnet/minecraft/unmapped/C_oivssbvb;Ljava/lang/String;)Lio/netty/handler/codec/DecoderException;
ARG 1 string
CLASS C_roxkizqk
METHOD m_meevnjcw decode (Lio/netty/buffer/ByteBuf;)[B
ARG 1 buf
METHOD m_zwyjwjob encode (Lio/netty/buffer/ByteBuf;[B)V
ARG 1 buf
ARG 2 stack
CLASS C_vvbhljtb
FIELD f_iesrdjsl DIRECT_VALUE I
METHOD m_foxeftop getHolderIdMap (Lnet/minecraft/unmapped/C_bngyzsts;)Lnet/minecraft/unmapped/C_feaetnaz;
ARG 1 buf
CLASS C_xvgblejl
METHOD m_eqcajgzv createIterable (Lnet/minecraft/unmapped/C_bngyzsts;)Lnet/minecraft/unmapped/C_feaetnaz;
ARG 1 buf
2 changes: 1 addition & 1 deletion mappings/net/minecraft/network/codec/PacketEncoder.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/unmapped/C_hiksfskl net/minecraft/network/codec/PacketEncoder
METHOD encode (Ljava/lang/Object;Ljava/lang/Object;)V
METHOD encode encode (Ljava/lang/Object;Ljava/lang/Object;)V
ARG 1 buf
ARG 2 stack
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
CLASS net/minecraft/unmapped/C_dptxqryi net/minecraft/network/codec/ValueFirstEncoder
METHOD encode encode (Ljava/lang/Object;Ljava/lang/Object;)V
ARG 1 value
ARG 2 buf
1 change: 1 addition & 0 deletions mappings/net/minecraft/registry/HolderLookup.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ CLASS net/minecraft/unmapped/C_vtbxyypo net/minecraft/registry/HolderLookup
METHOD m_ejzrnhrb getHolderProvider ()Lnet/minecraft/unmapped/C_pzdchrcy$C_pbvqpmst;
METHOD m_iwetggkj getLookup (Lnet/minecraft/unmapped/C_xhhleach;)Ljava/util/Optional;
METHOD m_onxuqmul getLookupOrThrow (Lnet/minecraft/unmapped/C_xhhleach;)Lnet/minecraft/unmapped/C_vtbxyypo$C_drwjtlvl;
METHOD m_uwaazyzq createSerializationContext (Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/unmapped/C_piadqmzm;
CLASS C_ikewmnmv
METHOD m_axtnqmym (Lnet/minecraft/unmapped/C_vtbxyypo$C_drwjtlvl;)Lnet/minecraft/unmapped/C_pzdchrcy;
ARG 0 value
5 changes: 5 additions & 0 deletions mappings/net/minecraft/registry/RegistryKey.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ CLASS net/minecraft/unmapped/C_xhhleach net/minecraft/registry/RegistryKey
ARG 2 value
METHOD m_achtcauh (Lnet/minecraft/unmapped/C_xhhleach;Lnet/minecraft/unmapped/C_ncpywfca;)Lnet/minecraft/unmapped/C_xhhleach;
ARG 1 value
METHOD m_bbzwrvpr packetCodec (Lnet/minecraft/unmapped/C_xhhleach;)Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_fvrtwzrl of (Lnet/minecraft/unmapped/C_xhhleach;Lnet/minecraft/unmapped/C_ncpywfca;)Lnet/minecraft/unmapped/C_xhhleach;
COMMENT Creates a registry key for a value in a registry with a registry key for
COMMENT the value-holding registry in the root registry and an identifier of the
Expand Down Expand Up @@ -47,7 +48,11 @@ CLASS net/minecraft/unmapped/C_xhhleach net/minecraft/registry/RegistryKey
COMMENT @param <T> the element type of the registry
ARG 0 registry
COMMENT the identifier of the registry
METHOD m_slcuvcqz (Lnet/minecraft/unmapped/C_xhhleach$C_gdrqkfgh;)Lnet/minecraft/unmapped/C_xhhleach;
ARG 0 internKey
METHOD m_tbhhljwv getRegistry ()Lnet/minecraft/unmapped/C_ncpywfca;
METHOD m_xhwzyssj (Lnet/minecraft/unmapped/C_xhhleach;Lnet/minecraft/unmapped/C_ncpywfca;)Lnet/minecraft/unmapped/C_xhhleach;
ARG 1 id
METHOD m_yomlikvd cast (Lnet/minecraft/unmapped/C_xhhleach;)Ljava/util/Optional;
ARG 1 registry
CLASS C_gdrqkfgh InternKey
Loading

0 comments on commit 8fbfc2f

Please sign in to comment.