From 53d9d8da3f5b8fedf9069265ec1ec3e3d0f4e56a Mon Sep 17 00:00:00 2001 From: shartte Date: Thu, 30 Jul 2020 12:16:58 +0200 Subject: [PATCH] Fix naming of blockState in ChunkDeltaUpdate packet (#1631) --- .../packet/s2c/play/ChunkDeltaUpdateS2CPacket.mapping | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mappings/net/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket.mapping b/mappings/net/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket.mapping index 8cc545284f..6f0616176c 100644 --- a/mappings/net/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket.mapping +++ b/mappings/net/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket.mapping @@ -1,16 +1,15 @@ CLASS net/minecraft/class_2637 net/minecraft/network/packet/s2c/play/ChunkDeltaUpdateS2CPacket FIELD field_26345 sectionPos Lnet/minecraft/class_4076; - FIELD field_26346 packedLocalPos [S - COMMENT The packed local positions {@see ChunkSectionPos#getPackedLocalPos} for - COMMENT each entry in {@see #blockState}. - FIELD field_26347 blockState [Lnet/minecraft/class_2680; + FIELD field_26346 positions [S + COMMENT The packed local positions {@see ChunkSectionPos#getPackedLocalPos} for each entry in {@see #blockStates}. + FIELD field_26347 blockStates [Lnet/minecraft/class_2680; METHOD (Lnet/minecraft/class_4076;Lit/unimi/dsi/fastutil/shorts/ShortSet;Lnet/minecraft/class_2826;)V ARG 1 sectionPos 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 ARG 3 section METHOD method_30620 allocateBuffers (I)V - ARG 1 posCount + ARG 1 positionCount 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.