diff --git a/mappings/net/minecraft/client/gui/screen/ingame/HandledScreen.mapping b/mappings/net/minecraft/client/gui/screen/ingame/HandledScreen.mapping index d6bdb8152e..7477040be0 100644 --- a/mappings/net/minecraft/client/gui/screen/ingame/HandledScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/ingame/HandledScreen.mapping @@ -95,3 +95,4 @@ CLASS net/minecraft/class_465 net/minecraft/client/gui/screen/ingame/HandledScre ARG 2 y ARG 3 z METHOD method_37432 handledScreenTick ()V + METHOD method_44339 endTouchDrag ()V diff --git a/mappings/net/minecraft/nbt/NbtString.mapping b/mappings/net/minecraft/nbt/NbtString.mapping index 5e57b126c7..24486bd71e 100644 --- a/mappings/net/minecraft/nbt/NbtString.mapping +++ b/mappings/net/minecraft/nbt/NbtString.mapping @@ -9,6 +9,7 @@ CLASS net/minecraft/class_2519 net/minecraft/nbt/NbtString FIELD field_33243 SINGLE_QUOTE C FIELD field_33244 BACKSLASH C FIELD field_33245 NULL C + FIELD field_39454 LOGGER Lorg/slf4j/Logger; METHOD (Ljava/lang/String;)V ARG 1 value METHOD equals (Ljava/lang/Object;)Z diff --git a/mappings/net/minecraft/network/packet/c2s/play/ChatMessageC2SPacket.mapping b/mappings/net/minecraft/network/packet/c2s/play/ChatMessageC2SPacket.mapping index 5f48f5e5b3..3aa8326003 100644 --- a/mappings/net/minecraft/network/packet/c2s/play/ChatMessageC2SPacket.mapping +++ b/mappings/net/minecraft/network/packet/c2s/play/ChatMessageC2SPacket.mapping @@ -10,8 +10,8 @@ CLASS net/minecraft/class_2797 net/minecraft/network/packet/c2s/play/ChatMessage COMMENT reject the message and disconnect the client. COMMENT COMMENT

Messages that took more than {@link #TIME_TO_LIVE} to reach the server - COMMENT are considered expired and will be discarded. Messages can also be discarded - COMMENT if the server receives them with improper order. + COMMENT are considered expired and log warnings on the server. Messages will be + COMMENT discarded if the server receives them in improper order. COMMENT COMMENT @see net.minecraft.client.network.ClientPlayerEntity#sendChatMessage COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onChatMessage diff --git a/mappings/net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket.mapping b/mappings/net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket.mapping index b66d0cd73b..a43ba5b2b8 100644 --- a/mappings/net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket.mapping +++ b/mappings/net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket.mapping @@ -10,8 +10,8 @@ CLASS net/minecraft/class_7472 net/minecraft/network/packet/c2s/play/CommandExec COMMENT reject the command and disconnect the client. COMMENT COMMENT

Commands that took more than {@link ChatMessageC2SPacket#TIME_TO_LIVE} to reach - COMMENT the server are considered expired and will be discarded. Commands can also be discarded - COMMENT if the server receives them with improper order. + COMMENT the server are considered expired and log warnings on the server. Commands will be + COMMENT discarded if the server receives them in improper order. COMMENT COMMENT @see net.minecraft.client.network.ClientPlayerEntity#sendCommand COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onCommandExecution diff --git a/mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping b/mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping index d827520468..eedb8fbd5c 100644 --- a/mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping +++ b/mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping @@ -163,7 +163,7 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan METHOD method_44157 isExpired (Ljava/time/Instant;)Z COMMENT {@return whether the message sent at {@code timestamp} is expired} COMMENT - COMMENT

If {@code true}, the message will be discarded. + COMMENT

If {@code true}, the server logs a warning, but the message will still be accepted. COMMENT COMMENT @see ChatMessageC2SPacket#TIME_TO_LIVE ARG 1 timestamp @@ -171,10 +171,10 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan ARG 1 decorated METHOD method_44159 decorate (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture; ARG 1 query - METHOD method_44160 isDisordered (Ljava/time/Instant;)Z - COMMENT {@return whether the message sent at {@code timestamp} is received with improper order} + METHOD method_44160 isInProperOrder (Ljava/time/Instant;)Z + COMMENT {@return whether the message sent at {@code timestamp} is received in proper order} COMMENT - COMMENT

If {@code true}, the message will be discarded. + COMMENT

If {@code false}, the message will be discarded. ARG 1 timestamp METHOD method_44161 decorateChat (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture; ARG 1 query @@ -183,6 +183,15 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan METHOD method_44318 sendChatPreviewPacket (ILnet/minecraft/class_2561;)V ARG 1 queryId ARG 2 preview + METHOD method_44337 canAcceptMessage (Ljava/lang/String;Ljava/time/Instant;)Z + COMMENT {@return whether {@code message}, sent at {@code timestamp}, should be accepted} + COMMENT + COMMENT @implNote This returns {@code false} if the message arrives in {@linkplain + COMMENT #isInProperOrder improper order} or if {@linkplain #checkChatDisabled chat is disabled}. + COMMENT This also logs a warning when the message is {@linkplain #isExpired expired}, but + COMMENT the message is still accepted in this case. + ARG 1 message + ARG 2 timestamp CLASS 1 METHOD method_33897 processInteract (Lnet/minecraft/class_1268;Lnet/minecraft/class_3244$class_5860;)V ARG 1 hand diff --git a/mappings/net/minecraft/world/chunk/PalettedContainer.mapping b/mappings/net/minecraft/world/chunk/PalettedContainer.mapping index 3fb8b2315b..80ae16dcb4 100644 --- a/mappings/net/minecraft/world/chunk/PalettedContainer.mapping +++ b/mappings/net/minecraft/world/chunk/PalettedContainer.mapping @@ -129,6 +129,7 @@ CLASS net/minecraft/class_2841 net/minecraft/world/chunk/PalettedContainer ARG 2 storage METHOD method_38309 writePacket (Lnet/minecraft/class_2540;)V ARG 1 buf + METHOD method_44338 copy ()Lnet/minecraft/class_2841$class_6561; CLASS class_6563 PaletteProvider COMMENT A palette provider determines what type of palette to choose given the COMMENT bits used to represent each element. In addition, it controls how the