Fix naming of blockState in ChunkDeltaUpdate packet (#1631)

This commit is contained in:
shartte 2020-07-30 12:16:58 +02:00 committed by GitHub
parent 5e5c59dbe5
commit 53d9d8da3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -1,16 +1,15 @@
CLASS net/minecraft/class_2637 net/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket CLASS net/minecraft/class_2637 net/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket
FIELD field_26345 sectionPos Lnet/minecraft/class_4076; FIELD field_26345 sectionPos Lnet/minecraft/class_4076;
FIELD field_26346 packedLocalPos [S FIELD field_26346 positions [S
COMMENT The packed local positions {@see ChunkSectionPos#getPackedLocalPos} for COMMENT The packed local positions {@see ChunkSectionPos#getPackedLocalPos} for each entry in {@see #blockStates}.
COMMENT each entry in {@see #blockState}. FIELD field_26347 blockStates [Lnet/minecraft/class_2680;
FIELD field_26347 blockState [Lnet/minecraft/class_2680;
METHOD <init> (Lnet/minecraft/class_4076;Lit/unimi/dsi/fastutil/shorts/ShortSet;Lnet/minecraft/class_2826;)V METHOD <init> (Lnet/minecraft/class_4076;Lit/unimi/dsi/fastutil/shorts/ShortSet;Lnet/minecraft/class_2826;)V
ARG 1 sectionPos ARG 1 sectionPos
COMMENT the position of the given chunk section that will be sent to the client COMMENT the position of the given chunk section that will be sent to the client
ARG 2 updatedLocalPosSet ARG 2 updatedPositions
COMMENT the set of packed local positions within the given chunk section that should be included in the packet COMMENT the set of packed local positions within the given chunk section that should be included in the packet
ARG 3 section ARG 3 section
METHOD method_30620 allocateBuffers (I)V METHOD method_30620 allocateBuffers (I)V
ARG 1 posCount ARG 1 positionCount
METHOD method_30621 visitUpdates (Ljava/util/function/BiConsumer;)V METHOD method_30621 visitUpdates (Ljava/util/function/BiConsumer;)V
COMMENT Calls the given consumer for each pair of block position and block state contained in this packet. COMMENT Calls the given consumer for each pair of block position and block state contained in this packet.