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 packet codecs (24w03a) #3762

Merged
merged 5 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
3 changes: 3 additions & 0 deletions mappings/net/minecraft/advancement/Advancement.mapping
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CLASS net/minecraft/class_161 net/minecraft/advancement/Advancement
FIELD field_47179 CODEC Lcom/mojang/serialization/Codec;
FIELD field_47180 CRITERIA_CODEC Lcom/mojang/serialization/Codec;
FIELD field_47996 PACKETT_CODEC Lnet/minecraft/class_9139;
MattiDragon marked this conversation as resolved.
Show resolved Hide resolved
METHOD <init> (Ljava/util/Optional;Ljava/util/Optional;Lnet/minecraft/class_170;Ljava/util/Map;Lnet/minecraft/class_8782;Z)V
ARG 1 parent
ARG 2 display
Expand All @@ -15,10 +16,12 @@ CLASS net/minecraft/class_161 net/minecraft/advancement/Advancement
METHOD method_53623 createNameFromDisplay (Lnet/minecraft/class_185;)Lnet/minecraft/class_2561;
ARG 0 display
METHOD method_53627 write (Lnet/minecraft/class_9129;)V
ARG 1 buf
METHOD method_53629 (Lnet/minecraft/class_2561;Lnet/minecraft/class_2583;)Lnet/minecraft/class_2583;
ARG 1 style
METHOD method_53630 isRoot ()Z
METHOD method_53632 read (Lnet/minecraft/class_9129;)Lnet/minecraft/class_161;
ARG 0 buf
METHOD method_54910 validate (Lnet/minecraft/class_161;)Lcom/mojang/serialization/DataResult;
ARG 0 advancement
METHOD method_54911 (Lnet/minecraft/class_161;Lnet/minecraft/class_8782;)Lnet/minecraft/class_161;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ CLASS net/minecraft/class_185 net/minecraft/advancement/AdvancementDisplay
FIELD field_1244 y F
FIELD field_1245 x F
FIELD field_47190 CODEC Lcom/mojang/serialization/Codec;
FIELD field_48276 PACKET_CODEC Lnet/minecraft/class_9139;
METHOD <init> (Lnet/minecraft/class_1799;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Ljava/util/Optional;Lnet/minecraft/class_189;ZZZ)V
ARG 1 icon
ARG 2 title
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/advancement/AdvancementEntry.mapping
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
CLASS net/minecraft/class_8779 net/minecraft/advancement/AdvancementEntry
FIELD comp_1919 id Lnet/minecraft/class_2960;
FIELD comp_1920 value Lnet/minecraft/class_161;
FIELD field_48180 PACKET_CODEC Lnet/minecraft/class_9139;
FIELD field_48181 LIST_PACKET_CODEC Lnet/minecraft/class_9139;
METHOD comp_1919 id ()Lnet/minecraft/class_2960;
METHOD comp_1920 value ()Lnet/minecraft/class_161;
METHOD equals (Ljava/lang/Object;)Z
Expand Down
6 changes: 6 additions & 0 deletions mappings/net/minecraft/entity/EntityPose.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
CLASS net/minecraft/class_4050 net/minecraft/entity/EntityPose
FIELD field_48322 INDEX_TO_VALUE Ljava/util/function/IntFunction;
FIELD field_48323 PACKET_CODEC Lnet/minecraft/class_9139;
FIELD field_48324 index I
METHOD <init> (Ljava/lang/String;II)V
ARG 3 index
METHOD method_56081 getIndex ()I
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/data/TrackedDataHandler.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ CLASS net/minecraft/class_2941 net/minecraft/entity/data/TrackedDataHandler
ARG 1 value
METHOD method_12717 create (I)Lnet/minecraft/class_2940;
ARG 1 id
METHOD method_56031 create (Lnet/minecraft/class_9139;)Lnet/minecraft/class_2941;
ARG 0 codec
CLASS class_7394 ImmutableHandler
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ CLASS net/minecraft/class_2943 net/minecraft/entity/data/TrackedDataHandlerRegis
FIELD field_42237 VECTOR3F Lnet/minecraft/class_2941;
FIELD field_42543 SNIFFER_STATE Lnet/minecraft/class_2941;
FIELD field_47707 ARMADILLO_STATE Lnet/minecraft/class_2941;
FIELD field_48265 OPTIONAL_BLOCK_STATE_CODEC Lnet/minecraft/class_9139;
FIELD field_48266 OPTIONAL_INT_CODEC Lnet/minecraft/class_9139;
METHOD method_12719 getId (Lnet/minecraft/class_2941;)I
ARG 0 handler
METHOD method_12720 register (Lnet/minecraft/class_2941;)V
Expand Down
5 changes: 5 additions & 0 deletions mappings/net/minecraft/entity/passive/ArmadilloEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ CLASS net/minecraft/class_9069 net/minecraft/entity/passive/ArmadilloEntity
CLASS class_9070 State
FIELD field_47793 name Ljava/lang/String;
FIELD field_47794 CODEC Lnet/minecraft/class_3542$class_7292;
FIELD field_48335 PACKET_CODEC Lnet/minecraft/class_9139;
FIELD field_48336 INDEX_TO_VALUE Ljava/util/function/IntFunction;
FIELD field_48337 index I
METHOD <init> (Ljava/lang/String;ILjava/lang/String;I)V
ARG 3 name
ARG 4 index
METHOD method_55727 fromName (Ljava/lang/String;)Lnet/minecraft/class_9069$class_9070;
ARG 0 name
METHOD method_56084 getIndex ()I
6 changes: 6 additions & 0 deletions mappings/net/minecraft/entity/passive/SnifferEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ CLASS net/minecraft/class_8153 net/minecraft/entity/passive/SnifferEntity
METHOD method_51301 isSearching ()Z
METHOD method_51508 getDigPos ()Lnet/minecraft/class_2338;
CLASS class_8154 State
FIELD field_48340 INDEX_TO_VALUE Ljava/util/function/IntFunction;
FIELD field_48341 PACKET_CODEC Lnet/minecraft/class_9139;
FIELD field_48342 index I
METHOD <init> (Ljava/lang/String;II)V
ARG 3 index
METHOD method_56085 getIndex ()I
4 changes: 4 additions & 0 deletions mappings/net/minecraft/item/ItemStack.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
FIELD field_47310 INGREDIENT_ENTRY_CODEC Lcom/mojang/serialization/Codec;
FIELD field_47311 CUTTING_RECIPE_RESULT_CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_47312 ITEM_CODEC Lcom/mojang/serialization/Codec;
FIELD field_48349 PACKET_CODEC Lnet/minecraft/class_9139;
FIELD field_48350 LIST_PACKET_CODEC Lnet/minecraft/class_9139;
FIELD field_8029 MODIFIER_FORMAT Ljava/text/DecimalFormat;
FIELD field_8030 bobbingAnimationTime I
FIELD field_8031 count I
Expand Down Expand Up @@ -608,6 +610,8 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
COMMENT
COMMENT @see #isDamageable
COMMENT @see #getDamage
CLASS 1
FIELD field_48351 ITEM_PACKET_CODEC Lnet/minecraft/class_9139;
CLASS class_5422 TooltipSection
FIELD field_25775 flag I
METHOD method_30269 getFlag ()I
24 changes: 24 additions & 0 deletions mappings/net/minecraft/network/PacketByteBuf.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ CLASS net/minecraft/class_2540 net/minecraft/network/PacketByteBuf
COMMENT written
COMMENT @see #readNbt()
COMMENT @see #readNbt(NbtSizeTracker)
ARG 1 ntb
MattiDragon marked this conversation as resolved.
Show resolved Hide resolved
METHOD method_10795 readByteArray ()[B
COMMENT Reads an array of primitive bytes from this buf. The array first has a
COMMENT var int indicating its length, followed by the actual bytes. The array
Expand Down Expand Up @@ -1072,6 +1073,29 @@ CLASS net/minecraft/class_2540 net/minecraft/network/PacketByteBuf
COMMENT @return the read text
COMMENT @see #readText()
COMMENT @see #writeText(Text)
METHOD method_56337 writeUuid (Lio/netty/buffer/ByteBuf;Ljava/util/UUID;)V
ARG 0 buf
ARG 1 uuid
METHOD method_56338 writeQuanternionf (Lio/netty/buffer/ByteBuf;Lorg/joml/Quaternionf;)V
ARG 0 buf
ARG 1 quaternion
METHOD method_56339 writeVector3f (Lio/netty/buffer/ByteBuf;Lorg/joml/Vector3f;)V
ARG 0 buf
ARG 1 vector
METHOD method_56340 readNbt (Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_2505;)Lnet/minecraft/class_2520;
ARG 0 buf
ARG 1 sizeTracker
METHOD method_56341 writeNbt (Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_2520;)V
ARG 0 buf
ARG 1 nbt
METHOD method_56342 readVector3f (Lio/netty/buffer/ByteBuf;)Lorg/joml/Vector3f;
ARG 0 buf
METHOD method_56343 readQuanternionf (Lio/netty/buffer/ByteBuf;)Lorg/joml/Quaternionf;
MattiDragon marked this conversation as resolved.
Show resolved Hide resolved
ARG 0 buf
METHOD method_56344 readUuid (Lio/netty/buffer/ByteBuf;)Ljava/util/UUID;
ARG 0 buf
METHOD method_56345 readNbt (Lio/netty/buffer/ByteBuf;)Lnet/minecraft/class_2487;
ARG 0 buf
METHOD nioBuffer (II)Ljava/nio/ByteBuffer;
ARG 1 index
ARG 2 length
Expand Down
41 changes: 41 additions & 0 deletions mappings/net/minecraft/network/codec/PacketCodec.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
CLASS net/minecraft/class_9139 net/minecraft/network/codec/PacketCodec
METHOD method_56430 cast ()Lnet/minecraft/class_9139;
METHOD method_56431 unit (Ljava/lang/Object;)Lnet/minecraft/class_9139;
ARG 0 value
METHOD method_56432 xmap (Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/class_9139;
ARG 1 to
ARG 2 from
METHOD method_56433 mapResult (Lnet/minecraft/class_9139$class_9140;)Lnet/minecraft/class_9139;
ARG 1 function
METHOD method_56434 record (Lnet/minecraft/class_9139;Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/class_9139;
ARG 0 codec
ARG 1 from
ARG 2 to
METHOD method_56435 record (Lnet/minecraft/class_9139;Ljava/util/function/Function;Lnet/minecraft/class_9139;Ljava/util/function/Function;Ljava/util/function/BiFunction;)Lnet/minecraft/class_9139;
ARG 0 codec1
ARG 1 from1
ARG 2 codec2
ARG 3 from2
ARG 4 to
METHOD method_56436 record (Lnet/minecraft/class_9139;Ljava/util/function/Function;Lnet/minecraft/class_9139;Ljava/util/function/Function;Lnet/minecraft/class_9139;Ljava/util/function/Function;Lcom/mojang/datafixers/util/Function3;)Lnet/minecraft/class_9139;
ARG 0 codec1
ARG 1 from1
ARG 2 codec2
ARG 3 from2
ARG 4 codec3
ARG 5 from3
ARG 6 to
METHOD method_56437 of (Lnet/minecraft/class_9142;Lnet/minecraft/class_9141;)Lnet/minecraft/class_9139;
ARG 0 encoder
ARG 1 decoder
METHOD method_56438 of (Lnet/minecraft/class_9143;Lnet/minecraft/class_9141;)Lnet/minecraft/class_9139;
ARG 0 encoder
ARG 1 decoder
METHOD method_56439 mapBuf (Ljava/util/function/Function;)Lnet/minecraft/class_9139;
ARG 1 function
METHOD method_56440 dispatch (Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/class_9139;
ARG 1 type
ARG 2 codec
CLASS class_9140 ResultFunction
METHOD apply (Lnet/minecraft/class_9139;)Lnet/minecraft/class_9139;
ARG 1 codec
70 changes: 70 additions & 0 deletions mappings/net/minecraft/network/codec/PacketCodecs.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
CLASS net/minecraft/class_9135 net/minecraft/network/codec/PacketCodecs
FIELD field_48547 BOOL Lnet/minecraft/class_9139;
FIELD field_48548 BYTE Lnet/minecraft/class_9139;
FIELD field_48549 SHORT Lnet/minecraft/class_9139;
FIELD field_48550 VAR_INT Lnet/minecraft/class_9139;
FIELD field_48551 VAR_LONG Lnet/minecraft/class_9139;
FIELD field_48552 FLOAT Lnet/minecraft/class_9139;
FIELD field_48553 DOUBLE Lnet/minecraft/class_9139;
FIELD field_48554 STRING Lnet/minecraft/class_9139;
FIELD field_48555 NBT_ELEMENT Lnet/minecraft/class_9139;
FIELD field_48556 NBT_COMPUND Lnet/minecraft/class_9139;
FIELD field_48557 OPTIONAL_NBT Lnet/minecraft/class_9139;
FIELD field_48558 VECTOR3F Lnet/minecraft/class_9139;
FIELD field_48559 QUANTERNION Lnet/minecraft/class_9139;
MattiDragon marked this conversation as resolved.
Show resolved Hide resolved
METHOD method_56363 listMapper ()Lnet/minecraft/class_9139$class_9140;
METHOD method_56364 string (I)Lnet/minecraft/class_9139;
ARG 0 length
METHOD method_56365 registry (Lnet/minecraft/class_5321;)Lnet/minecraft/class_9139;
ARG 0 registry
METHOD method_56366 registry (Lnet/minecraft/class_5321;Ljava/util/function/Function;)Lnet/minecraft/class_9139;
ARG 0 registry
ARG 1 registryTransformer
METHOD method_56367 registryEntry (Lnet/minecraft/class_5321;Lnet/minecraft/class_9139;)Lnet/minecraft/class_9139;
ARG 0 registry
ARG 1 fallback
METHOD method_56368 ofCodec (Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_9139;
ARG 0 codec
METHOD method_56369 (Lcom/mojang/serialization/Codec;Ljava/lang/Object;)Lnet/minecraft/class_2520;
ARG 1 value
METHOD method_56370 (Lcom/mojang/serialization/Codec;Lnet/minecraft/class_2520;)Ljava/lang/Object;
ARG 1 nbt
METHOD method_56371 ofIterable (Lnet/minecraft/class_2359;)Lnet/minecraft/class_9139;
ARG 0 iterable
METHOD method_56373 (Ljava/lang/Object;Ljava/lang/String;)Lio/netty/handler/codec/EncoderException;
ARG 1 error
METHOD method_56374 collectionMapper (Ljava/util/function/IntFunction;)Lnet/minecraft/class_9139$class_9140;
ARG 0 factory
METHOD method_56375 indexed (Ljava/util/function/IntFunction;Ljava/util/function/ToIntFunction;)Lnet/minecraft/class_9139;
ARG 0 from
ARG 1 to
METHOD method_56376 collection (Ljava/util/function/IntFunction;Lnet/minecraft/class_9139;)Lnet/minecraft/class_9139;
ARG 0 factory
ARG 1 elementCodec
METHOD method_56377 map (Ljava/util/function/IntFunction;Lnet/minecraft/class_9139;Lnet/minecraft/class_9139;)Lnet/minecraft/class_9139;
ARG 0 factory
ARG 1 keyCodec
ARG 2 valueCodec
METHOD method_56378 nbt (Ljava/util/function/Supplier;)Lnet/minecraft/class_9139;
ARG 0 sizeTracker
METHOD method_56379 (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2520;
ARG 0 nbt
METHOD method_56380 (Lnet/minecraft/class_2520;)Lnet/minecraft/class_2487;
ARG 0 nbt
METHOD method_56381 (Lnet/minecraft/class_2520;Ljava/lang/String;)Lio/netty/handler/codec/DecoderException;
ARG 1 error
METHOD method_56382 optional (Lnet/minecraft/class_9139;)Lnet/minecraft/class_9139;
ARG 0 codec
METHOD method_56383 registryEntry (Lnet/minecraft/class_5321;)Lnet/minecraft/class_9139;
ARG 0 registry
METHOD method_56384 (Ljava/util/function/IntFunction;Lnet/minecraft/class_9139;)Lnet/minecraft/class_9139;
ARG 1 codec
METHOD method_56385 (Lnet/minecraft/class_9139;)Lnet/minecraft/class_9139;
ARG 0 codec
CLASS 9
METHOD method_56424 getIterable (Lnet/minecraft/class_9129;)Lnet/minecraft/class_2359;
ARG 1 buf
CLASS 10
FIELD field_48562 DIRECT_ENTRY_MARKER I
METHOD method_56390 getEntries (Lnet/minecraft/class_9129;)Lnet/minecraft/class_2359;
ARG 1 buf
3 changes: 3 additions & 0 deletions mappings/net/minecraft/network/codec/PacketDecoder.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS net/minecraft/class_9141 net/minecraft/network/codec/PacketDecoder
METHOD decode (Ljava/lang/Object;)Ljava/lang/Object;
ARG 1 buf
4 changes: 4 additions & 0 deletions mappings/net/minecraft/network/codec/PacketEncoder.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CLASS net/minecraft/class_9142 net/minecraft/network/codec/PacketEncoder
METHOD encode (Ljava/lang/Object;Ljava/lang/Object;)V
ARG 1 buf
ARG 2 value
10 changes: 10 additions & 0 deletions mappings/net/minecraft/network/codec/RegistryByteBuf.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CLASS net/minecraft/class_9129 net/minecraft/network/codec/RegistryByteBuf
FIELD field_48538 registryManager Lnet/minecraft/class_5455;
METHOD <init> (Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_5455;)V
ARG 1 buf
ARG 2 registryManager
METHOD method_56349 getRegistryManager ()Lnet/minecraft/class_5455;
METHOD method_56350 makeFactory (Lnet/minecraft/class_5455;)Ljava/util/function/Function;
ARG 0 registryManager
METHOD method_56351 (Lnet/minecraft/class_5455;Lio/netty/buffer/ByteBuf;)Lnet/minecraft/class_9129;
ARG 1 buf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CLASS net/minecraft/class_9143 net/minecraft/network/codec/ValueFirstEncoder
METHOD encode (Ljava/lang/Object;Ljava/lang/Object;)V
ARG 1 value
ARG 2 buf
23 changes: 23 additions & 0 deletions mappings/net/minecraft/network/packet/CustomPayload.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
CLASS net/minecraft/class_8710 net/minecraft/network/packet/CustomPayload
METHOD method_56479 getKey ()Lnet/minecraft/class_8710$class_9154;
METHOD method_56483 keyOf (Ljava/lang/String;)Lnet/minecraft/class_8710$class_9154;
ARG 0 id
METHOD method_56484 codecOf (Lnet/minecraft/class_9143;Lnet/minecraft/class_9141;)Lnet/minecraft/class_9139;
ARG 0 encoder
ARG 1 decoder
METHOD method_56485 createCodec (Lnet/minecraft/class_8710$class_9153;Ljava/util/List;)Lnet/minecraft/class_9139;
ARG 0 factory
ARG 1 codecs
METHOD method_56486 (Lnet/minecraft/class_8710$class_9155;)Lnet/minecraft/class_2960;
ARG 0 pair
CLASS 1
METHOD method_56487 getCodec (Lnet/minecraft/class_2960;)Lnet/minecraft/class_9139;
ARG 1 id
METHOD method_56489 encode (Lnet/minecraft/class_2540;Lnet/minecraft/class_8710$class_9154;Lnet/minecraft/class_8710;)V
ARG 1 value
ARG 2 type
ARG 3 payload
CLASS class_9153 CodecFactory
METHOD create (Lnet/minecraft/class_2960;)Lnet/minecraft/class_9139;
ARG 1 id
CLASS class_9154 Type
CLASS class_9155 CodecPair
3 changes: 3 additions & 0 deletions mappings/net/minecraft/network/packet/Packet.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ CLASS net/minecraft/class_2596 net/minecraft/network/packet/Packet
COMMENT connection to simply skip the packet's sending than disconnecting}
METHOD method_11054 apply (Lnet/minecraft/class_2547;)V
ARG 1 listener
METHOD method_56443 createCodec (Lnet/minecraft/class_9143;Lnet/minecraft/class_9141;)Lnet/minecraft/class_9139;
ARG 0 encoder
ARG 1 decoder
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
CLASS net/minecraft/class_2803 net/minecraft/network/packet/c2s/common/ClientOptionsC2SPacket
FIELD comp_1963 options Lnet/minecraft/class_8791;
FIELD field_48645 CODEC Lnet/minecraft/class_9139;
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD comp_1963 options ()Lnet/minecraft/class_8791;
METHOD method_56474 write (Lnet/minecraft/class_2540;)V
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ CLASS net/minecraft/class_6374 net/minecraft/network/packet/c2s/common/CommonPon
COMMENT @see net.minecraft.network.packet.c2s.common.KeepAliveC2SPacket
COMMENT @see net.minecraft.network.packet.c2s.query.QueryPingC2SPacket
FIELD field_33752 parameter I
FIELD field_48648 CODEC Lnet/minecraft/class_9139;
METHOD <init> (I)V
ARG 1 parameter
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_36960 getParameter ()I
METHOD method_56477 write (Lnet/minecraft/class_2540;)V
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
CLASS net/minecraft/class_2827 net/minecraft/network/packet/c2s/common/KeepAliveC2SPacket
FIELD field_12883 id J
FIELD field_48647 CODEC Lnet/minecraft/class_9139;
METHOD <init> (J)V
ARG 1 id
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_12267 getId ()J
METHOD method_56476 write (Lnet/minecraft/class_2540;)V
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
CLASS net/minecraft/class_2856 net/minecraft/network/packet/c2s/common/ResourcePackStatusC2SPacket
FIELD comp_2164 status Lnet/minecraft/class_2856$class_2857;
FIELD field_48649 CODEC Lnet/minecraft/class_9139;
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD comp_2164 status ()Lnet/minecraft/class_2856$class_2857;
METHOD method_56478 write (Lnet/minecraft/class_2540;)V
CLASS class_2857 Status
METHOD method_55627 hasFinished ()Z
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CLASS net/minecraft/class_8736 net/minecraft/network/packet/c2s/config/ReadyC2SPacket
FIELD field_48700 INSTANCE Lnet/minecraft/class_8736;
FIELD field_48701 CODEC Lnet/minecraft/class_9139;
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ CLASS net/minecraft/class_2889 net/minecraft/network/packet/c2s/handshake/Handsh
FIELD comp_1565 port I
FIELD comp_1566 intendedState Lnet/minecraft/class_8592;
FIELD field_33372 MAX_ADDRESS_LENGTH I
FIELD field_48229 CODEC Lnet/minecraft/class_9139;
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD comp_1563 protocolVersion ()I
METHOD comp_1564 address ()Ljava/lang/String;
METHOD comp_1565 port ()I
METHOD comp_1566 intendedState ()Lnet/minecraft/class_8592;
METHOD method_56007 write (Lnet/minecraft/class_2540;)V
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CLASS net/minecraft/class_8593 net/minecraft/network/packet/c2s/login/EnterConfigurationC2SPacket
FIELD field_48252 INSTANCE Lnet/minecraft/class_8593;
FIELD field_48253 CODEC Lnet/minecraft/class_9139;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS net/minecraft/class_2915 net/minecraft/network/packet/c2s/login/LoginHelloC2SPacket
FIELD field_48250 CODEC Lnet/minecraft/class_9139;
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_56020 write (Lnet/minecraft/class_2540;)V
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CLASS net/minecraft/class_2917 net/minecraft/network/packet/c2s/login/LoginKeyC2
COMMENT and the server verifies it by decrypting and comparing nonces. If signed, then it must
COMMENT be done so using the user's private key provided from Mojang's server, and the server
COMMENT verifies by checking if the reconstructed data can be verified using the public key.
FIELD field_48251 CODEC Lnet/minecraft/class_9139;
METHOD <init> (Ljavax/crypto/SecretKey;Ljava/security/PublicKey;[B)V
ARG 1 secretKey
ARG 2 publicKey
Expand All @@ -19,3 +20,4 @@ CLASS net/minecraft/class_2917 net/minecraft/network/packet/c2s/login/LoginKeyC2
METHOD method_43643 verifySignedNonce ([BLjava/security/PrivateKey;)Z
ARG 1 nonce
ARG 2 privateKey
METHOD method_56021 write (Lnet/minecraft/class_2540;)V
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CLASS net/minecraft/class_2913 net/minecraft/network/packet/c2s/login/LoginQuery
FIELD comp_1569 queryId I
FIELD comp_1570 response Lnet/minecraft/class_8594;
FIELD field_33374 MAX_PAYLOAD_SIZE I
FIELD field_48249 CODEC Lnet/minecraft/class_9139;
METHOD comp_1569 queryId ()I
METHOD comp_1570 response ()Lnet/minecraft/class_8594;
METHOD method_11052 write (Lnet/minecraft/class_2540;)V
Expand Down
Loading