mirror of https://github.com/FabricMC/yarn.git
1.19-pre4 stuff (#3199)
* 1.19-pre4 stuff * Rename now-inverted isDisordered * Apply suggestions from code review Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> * Update ServerPlayNetworkHandler.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
9c26ec4dd6
commit
fe2f1be9ae
|
@ -95,3 +95,4 @@ CLASS net/minecraft/class_465 net/minecraft/client/gui/screen/ingame/HandledScre
|
||||||
ARG 2 y
|
ARG 2 y
|
||||||
ARG 3 z
|
ARG 3 z
|
||||||
METHOD method_37432 handledScreenTick ()V
|
METHOD method_37432 handledScreenTick ()V
|
||||||
|
METHOD method_44339 endTouchDrag ()V
|
||||||
|
|
|
@ -9,6 +9,7 @@ CLASS net/minecraft/class_2519 net/minecraft/nbt/NbtString
|
||||||
FIELD field_33243 SINGLE_QUOTE C
|
FIELD field_33243 SINGLE_QUOTE C
|
||||||
FIELD field_33244 BACKSLASH C
|
FIELD field_33244 BACKSLASH C
|
||||||
FIELD field_33245 NULL C
|
FIELD field_33245 NULL C
|
||||||
|
FIELD field_39454 LOGGER Lorg/slf4j/Logger;
|
||||||
METHOD <init> (Ljava/lang/String;)V
|
METHOD <init> (Ljava/lang/String;)V
|
||||||
ARG 1 value
|
ARG 1 value
|
||||||
METHOD equals (Ljava/lang/Object;)Z
|
METHOD equals (Ljava/lang/Object;)Z
|
||||||
|
|
|
@ -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 reject the message and disconnect the client.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <p>Messages that took more than {@link #TIME_TO_LIVE} to reach the server
|
COMMENT <p>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 are considered expired and log warnings on the server. Messages will be
|
||||||
COMMENT if the server receives them with improper order.
|
COMMENT discarded if the server receives them in improper order.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT @see net.minecraft.client.network.ClientPlayerEntity#sendChatMessage
|
COMMENT @see net.minecraft.client.network.ClientPlayerEntity#sendChatMessage
|
||||||
COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onChatMessage
|
COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onChatMessage
|
||||||
|
|
|
@ -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 reject the command and disconnect the client.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <p>Commands that took more than {@link ChatMessageC2SPacket#TIME_TO_LIVE} to reach
|
COMMENT <p>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 the server are considered expired and log warnings on the server. Commands will be
|
||||||
COMMENT if the server receives them with improper order.
|
COMMENT discarded if the server receives them in improper order.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT @see net.minecraft.client.network.ClientPlayerEntity#sendCommand
|
COMMENT @see net.minecraft.client.network.ClientPlayerEntity#sendCommand
|
||||||
COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onCommandExecution
|
COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onCommandExecution
|
||||||
|
|
|
@ -163,7 +163,7 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan
|
||||||
METHOD method_44157 isExpired (Ljava/time/Instant;)Z
|
METHOD method_44157 isExpired (Ljava/time/Instant;)Z
|
||||||
COMMENT {@return whether the message sent at {@code timestamp} is expired}
|
COMMENT {@return whether the message sent at {@code timestamp} is expired}
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <p>If {@code true}, the message will be discarded.
|
COMMENT <p>If {@code true}, the server logs a warning, but the message will still be accepted.
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT @see ChatMessageC2SPacket#TIME_TO_LIVE
|
COMMENT @see ChatMessageC2SPacket#TIME_TO_LIVE
|
||||||
ARG 1 timestamp
|
ARG 1 timestamp
|
||||||
|
@ -171,10 +171,10 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan
|
||||||
ARG 1 decorated
|
ARG 1 decorated
|
||||||
METHOD method_44159 decorate (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
|
METHOD method_44159 decorate (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
|
||||||
ARG 1 query
|
ARG 1 query
|
||||||
METHOD method_44160 isDisordered (Ljava/time/Instant;)Z
|
METHOD method_44160 isInProperOrder (Ljava/time/Instant;)Z
|
||||||
COMMENT {@return whether the message sent at {@code timestamp} is received with improper order}
|
COMMENT {@return whether the message sent at {@code timestamp} is received in proper order}
|
||||||
COMMENT
|
COMMENT
|
||||||
COMMENT <p>If {@code true}, the message will be discarded.
|
COMMENT <p>If {@code false}, the message will be discarded.
|
||||||
ARG 1 timestamp
|
ARG 1 timestamp
|
||||||
METHOD method_44161 decorateChat (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
|
METHOD method_44161 decorateChat (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
|
||||||
ARG 1 query
|
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
|
METHOD method_44318 sendChatPreviewPacket (ILnet/minecraft/class_2561;)V
|
||||||
ARG 1 queryId
|
ARG 1 queryId
|
||||||
ARG 2 preview
|
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
|
CLASS 1
|
||||||
METHOD method_33897 processInteract (Lnet/minecraft/class_1268;Lnet/minecraft/class_3244$class_5860;)V
|
METHOD method_33897 processInteract (Lnet/minecraft/class_1268;Lnet/minecraft/class_3244$class_5860;)V
|
||||||
ARG 1 hand
|
ARG 1 hand
|
||||||
|
|
|
@ -129,6 +129,7 @@ CLASS net/minecraft/class_2841 net/minecraft/world/chunk/PalettedContainer
|
||||||
ARG 2 storage
|
ARG 2 storage
|
||||||
METHOD method_38309 writePacket (Lnet/minecraft/class_2540;)V
|
METHOD method_38309 writePacket (Lnet/minecraft/class_2540;)V
|
||||||
ARG 1 buf
|
ARG 1 buf
|
||||||
|
METHOD method_44338 copy ()Lnet/minecraft/class_2841$class_6561;
|
||||||
CLASS class_6563 PaletteProvider
|
CLASS class_6563 PaletteProvider
|
||||||
COMMENT A palette provider determines what type of palette to choose given the
|
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
|
COMMENT bits used to represent each element. In addition, it controls how the
|
||||||
|
|
Loading…
Reference in New Issue