* rc2 stuff

Signed-off-by: liach <liach@users.noreply.github.com>

* Don't use weird arrow

Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
liach 2021-07-10 06:27:42 -05:00 committed by GitHub
parent 62fb2bda10
commit 3e0278676c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 29 additions and 0 deletions

View File

@ -72,7 +72,18 @@ CLASS net/minecraft/class_2535 net/minecraft/network/ClientConnection
ARG 0 packet
ARG 1 listener
METHOD method_10760 setCompressionThreshold (IZ)V
COMMENT Sets the compression threshold of this connection.
COMMENT
COMMENT <p>Packets over the threshold in size will be written as a {@code 0}
COMMENT byte followed by contents, while compressed ones will be written as
COMMENT a var int for the decompressed size followed by the compressed contents.
COMMENT
COMMENT <p>The connections on the two sides must have the same compression
COMMENT threshold, or compression errors may result.
ARG 1 compressionThreshold
COMMENT the compression threshold, in number of bytes
ARG 2 rejectsBadPackets
COMMENT whether this connection may abort if a compressed packet with a bad size is received
METHOD method_10762 getAveragePacketsReceived ()F
METHOD method_10763 setPacketListener (Lnet/minecraft/class_2547;)V
COMMENT Sets the packet listener that will handle oncoming packets, including

View File

@ -3,7 +3,10 @@ CLASS net/minecraft/class_2532 net/minecraft/network/PacketInflater
FIELD field_11623 compressionThreshold I
FIELD field_33279 MAXIMUM_PACKET_SIZE I
COMMENT The maximum size allowed for a compressed packet. Has value {@value}.
FIELD field_34058 rejectsBadPackets Z
METHOD <init> (IZ)V
ARG 1 compressionThreshold
ARG 2 rejectsBadPackets
METHOD method_10739 setCompressionThreshold (IZ)V
ARG 1 compressionThreshold
ARG 2 rejectsBadPackets

View File

@ -8,8 +8,11 @@ CLASS net/minecraft/class_3846 net/minecraft/util/thread/TaskExecutor
ARG 1 queue
ARG 2 executor
ARG 3 name
METHOD method_16899 (I)Z
ARG 0 runCount
METHOD method_16900 runWhile (Lit/unimi/dsi/fastutil/ints/Int2BooleanFunction;)I
ARG 1 condition
COMMENT checks whether to run another task given the run task count
METHOD method_16902 create (Ljava/util/concurrent/Executor;Ljava/lang/String;)Lnet/minecraft/class_3846;
ARG 0 executor
ARG 1 name
@ -20,3 +23,6 @@ CLASS net/minecraft/class_3846 net/minecraft/util/thread/TaskExecutor
METHOD method_16907 runNext ()Z
METHOD method_16908 execute ()V
METHOD method_34996 getQueueSize ()I
METHOD method_37477 awaitAll ()V
METHOD method_37478 (I)Z
ARG 0 runCount

View File

@ -1,5 +1,6 @@
CLASS net/minecraft/class_5571 net/minecraft/world/storage/ChunkDataAccess
METHOD method_31758 awaitAll (Z)V
ARG 1 sync
METHOD method_31759 readChunkData (Lnet/minecraft/class_1923;)Ljava/util/concurrent/CompletableFuture;
ARG 1 pos
METHOD method_31760 writeChunkData (Lnet/minecraft/class_5566;)V

View File

@ -6,17 +6,24 @@ CLASS net/minecraft/class_5565 net/minecraft/world/storage/EntityChunkDataAccess
FIELD field_27235 emptyChunks Lit/unimi/dsi/fastutil/longs/LongSet;
FIELD field_31414 ENTITIES_KEY Ljava/lang/String;
FIELD field_31415 POSITION_KEY Ljava/lang/String;
FIELD field_34056 taskExecutor Lnet/minecraft/class_3846;
METHOD <init> (Lnet/minecraft/class_3218;Ljava/io/File;Lcom/mojang/datafixers/DataFixer;ZLjava/util/concurrent/Executor;)V
ARG 1 world
ARG 2 chunkFile
ARG 3 dataFixer
ARG 4 dsync
ARG 5 executor
METHOD method_31730 (Lnet/minecraft/class_1923;Ljava/lang/Throwable;)Ljava/lang/Void;
ARG 1 ex
METHOD method_31731 (Lnet/minecraft/class_1923;Lnet/minecraft/class_2487;)Lnet/minecraft/class_5566;
ARG 2 compound
METHOD method_31732 getChunkDataVersion (Lnet/minecraft/class_2487;)I
ARG 0 chunkTag
METHOD method_31733 putChunkPos (Lnet/minecraft/class_2487;Lnet/minecraft/class_1923;)V
ARG 0 chunkTag
ARG 1 pos
METHOD method_31734 (Lnet/minecraft/class_2499;Lnet/minecraft/class_1297;)V
ARG 1 entity
METHOD method_31735 emptyDataList (Lnet/minecraft/class_1923;)Lnet/minecraft/class_5566;
ARG 0 pos
METHOD method_31736 getChunkPos (Lnet/minecraft/class_2487;)Lnet/minecraft/class_1923;

View File

@ -9,6 +9,7 @@ CLASS net/minecraft/class_4698 net/minecraft/world/storage/StorageIoWorker
ARG 2 dsync
ARG 3 name
METHOD method_23698 completeAll (Z)Ljava/util/concurrent/CompletableFuture;
ARG 1 sync
METHOD method_23700 getNbt (Lnet/minecraft/class_1923;)Lnet/minecraft/class_2487;
ARG 1 pos
METHOD method_23701 write (Lnet/minecraft/class_1923;Lnet/minecraft/class_4698$class_4699;)V