Fix invalid mappings introduced in the 1.19-pre5 port.

This commit is contained in:
modmuss50 2022-06-02 16:50:47 +01:00
parent ec981c50e7
commit 0e3aed56ce
2 changed files with 10 additions and 14 deletions

View File

@ -1,9 +1,19 @@
CLASS net/minecraft/class_7522
METHOD method_12321 get (III)Ljava/lang/Object;
ARG 1 x
ARG 2 y
ARG 3 z
METHOD method_12325 writePacket (Lnet/minecraft/class_2540;)V
COMMENT Writes this container to the packet byte buffer.
ARG 1 buf
COMMENT the packet byte buffer
METHOD method_12327 getPacketSize ()I
METHOD method_19526 hasAny (Ljava/util/function/Predicate;)Z
COMMENT {@return {@code true} if any object in this container's palette matches
COMMENT this predicate}
ARG 1 predicate
METHOD method_21732 count (Lnet/minecraft/class_2841$class_4464;)V
ARG 1 counter
CLASS class_6562 Serialized
COMMENT The storage form of the paletted container in the {@linkplain
COMMENT PalettedContainer#createCodec codec}. The {@code palette} is the entries

View File

@ -22,17 +22,9 @@ CLASS net/minecraft/class_2841 net/minecraft/world/chunk/PalettedContainer
ARG 1 idList
ARG 2 paletteProvider
ARG 3 data
METHOD method_12321 (III)Ljava/lang/Object;
ARG 1 x
ARG 2 y
ARG 3 z
METHOD method_12322 set (ILjava/lang/Object;)V
ARG 1 index
ARG 2 value
METHOD method_12325 (Lnet/minecraft/class_2540;)V
COMMENT Writes this container to the packet byte buffer.
ARG 1 buf
COMMENT the packet byte buffer
METHOD method_12326 readPacket (Lnet/minecraft/class_2540;)V
COMMENT Reads data from the packet byte buffer into this container. Previous data
COMMENT in this container is discarded.
@ -61,12 +53,6 @@ CLASS net/minecraft/class_2841 net/minecraft/world/chunk/PalettedContainer
ARG 2 y
ARG 3 z
ARG 4 value
METHOD method_19526 (Ljava/util/function/Predicate;)Z
COMMENT {@return {@code true} if any object in this container's palette matches
COMMENT this predicate}
ARG 1 predicate
METHOD method_21732 (Lnet/minecraft/class_2841$class_4464;)V
ARG 1 counter
METHOD method_21733 (Lnet/minecraft/class_2841$class_4464;Lit/unimi/dsi/fastutil/ints/Int2IntMap$Entry;)V
ARG 2 entry
METHOD method_21734 increment (Lit/unimi/dsi/fastutil/ints/Int2IntOpenHashMap;I)V