1.19.1-pre4

This commit is contained in:
modmuss50 2022-07-08 14:17:43 +01:00
parent 6844ca11ec
commit c182417cd3
28 changed files with 42 additions and 318 deletions

View File

@ -27,7 +27,7 @@ plugins {
id 'net.fabricmc.filament' version '0.3.0'
}
def minecraft_version = "1.19.1-pre3"
def minecraft_version = "1.19.1-pre4"
def ENV = System.getenv()
// Fetch build number from Github Actions

View File

@ -35,11 +35,8 @@ CLASS net/minecraft/class_338 net/minecraft/client/gui/hud/ChatHud
ARG 1 message
METHOD method_1813 getVisibleLineCount ()I
METHOD method_1814 getChatScale ()D
METHOD method_1815 addMessage (Lnet/minecraft/class_2561;ILnet/minecraft/class_7591;Z)V
METHOD method_1815 addMessage (Lnet/minecraft/class_2561;Lnet/minecraft/class_7469;ILnet/minecraft/class_7591;Z)V
ARG 1 message
ARG 2 messageId
ARG 3 indicator
ARG 4 refresh
METHOD method_1816 getTextStyleAt (DD)Lnet/minecraft/class_2583;
ARG 1 x
ARG 3 y

View File

@ -1,7 +1,7 @@
CLASS net/minecraft/class_303 net/minecraft/client/gui/hud/ChatHudLine
FIELD comp_892 creationTick I
FIELD comp_894 indicator Lnet/minecraft/class_7591;
METHOD <init> (ILnet/minecraft/class_2561;Lnet/minecraft/class_7591;)V
METHOD <init> (ILnet/minecraft/class_2561;Lnet/minecraft/class_7469;Lnet/minecraft/class_7591;)V
ARG 1 creationTick
METHOD comp_892 creationTick ()I
METHOD comp_894 indicator ()Lnet/minecraft/class_7591;

View File

@ -21,7 +21,6 @@ CLASS net/minecraft/class_634 net/minecraft/client/network/ClientPlayNetworkHand
FIELD field_3700 advancementHandler Lnet/minecraft/class_632;
FIELD field_3701 loginScreen Lnet/minecraft/class_437;
METHOD <init> (Lnet/minecraft/class_310;Lnet/minecraft/class_437;Lnet/minecraft/class_2535;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_6628;)V
ARG 1 client
ARG 2 screen
ARG 3 connection
ARG 4 profile

View File

@ -79,21 +79,6 @@ CLASS net/minecraft/class_746 net/minecraft/client/network/ClientPlayerEntity
COMMENT water is reduced when the player just entered water.
METHOD method_3141 onRecipeDisplayed (Lnet/minecraft/class_1860;)V
ARG 1 recipe
METHOD method_3142 sendChatMessage (Ljava/lang/String;)V
COMMENT Sends a chat message to the server.
COMMENT
COMMENT <p>The message will be truncated to at most 256 characters before
COMMENT sending to the server.
COMMENT
COMMENT <p>If the message contains an invalid character (see {@link
COMMENT net.minecraft.SharedConstants#isValidChar isValidChar}), the server will
COMMENT reject the message and disconnect the client.
COMMENT
COMMENT @apiNote This method is used to send a message typed in {@linkplain
COMMENT net.minecraft.client.gui.screen the chat screen}. This includes a
COMMENT command message (a message that starts with {@code /}).
ARG 1 message
COMMENT the message to send
METHOD method_3143 getStatHandler ()Lnet/minecraft/class_3469;
METHOD method_3144 isRiding ()Z
METHOD method_3145 setExperience (FII)V
@ -113,21 +98,14 @@ CLASS net/minecraft/class_746 net/minecraft/client/network/ClientPlayerEntity
METHOD method_43609 signChatMessage (Lnet/minecraft/class_7470;Lnet/minecraft/class_2561;)Lnet/minecraft/class_7469;
COMMENT Signs the chat message. If the chat message cannot be signed, this will return
COMMENT {@link MessageSignature#none()}.
ARG 1 signer
ARG 2 message
METHOD method_43786 signArguments (Lnet/minecraft/class_7470;Lcom/mojang/brigadier/ParseResults;Lnet/minecraft/class_2561;)Lnet/minecraft/class_7450;
COMMENT Signs the command arguments. If the arguments cannot be signed or if there is no
COMMENT arguments to sign, this will return {@link ArgumentSignatureDataMap#empty()}.
ARG 1 signer
ARG 2 parseResults
ARG 3 preview
COMMENT the previewed argument value; if supplied, will be used for all signed arguments
METHOD method_43787 sendCommand (Lnet/minecraft/class_7470;Ljava/lang/String;Lnet/minecraft/class_2561;)V
METHOD method_43787 sendCommand (Ljava/lang/String;Lnet/minecraft/class_2561;)V
COMMENT Signs and sends {@code command} to the server.
ARG 1 signer
ARG 2 command
COMMENT the command (can have the leading slash)
ARG 3 preview
METHOD method_44096 sendChatMessage (Ljava/lang/String;Lnet/minecraft/class_2561;)V
COMMENT Sends a chat message with the preview to the server. If the server could not
COMMENT reproduce the preview based on {@code message}, the server rejects the message.
@ -143,10 +121,7 @@ CLASS net/minecraft/class_746 net/minecraft/client/network/ClientPlayerEntity
COMMENT net.minecraft.client.gui.screen the chat screen} that has a preview.
ARG 1 message
ARG 2 preview
METHOD method_44097 sendChatMessagePacket (Lnet/minecraft/class_7470;Ljava/lang/String;Lnet/minecraft/class_2561;)V
ARG 1 signer
ARG 2 message
ARG 3 preview
METHOD method_44097 sendChatMessagePacket (Ljava/lang/String;Lnet/minecraft/class_2561;)V
METHOD method_44098 sendCommand (Ljava/lang/String;Lnet/minecraft/class_2561;)V
COMMENT Sends a command to the server.
ARG 1 command
@ -156,7 +131,7 @@ CLASS net/minecraft/class_746 net/minecraft/client/network/ClientPlayerEntity
COMMENT Sends an unsigned command to the server.
ARG 1 command
COMMENT the command (can have the leading slash)
METHOD method_44297 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7470;Lnet/minecraft/class_7501;Lcom/google/common/collect/ImmutableMap$Builder;Ljava/lang/String;Lnet/minecraft/class_2561;)V
METHOD method_44297 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7501;Lnet/minecraft/class_7470;Ljava/lang/String;Lnet/minecraft/class_2561;)Lnet/minecraft/class_7469;
ARG 4 argumentName
ARG 5 value
METHOD method_7290 dropSelectedItem (Z)Z

View File

@ -1,12 +1,8 @@
CLASS net/minecraft/class_7594 net/minecraft/client/network/message/MessageHandler
FIELD field_39779 client Lnet/minecraft/class_310;
METHOD method_44731 getPlayerListEntry (Lnet/minecraft/class_7436;)Lnet/minecraft/class_640;
ARG 1 sender
METHOD method_44732 getStatus (Lnet/minecraft/class_7436;Lnet/minecraft/class_7471;Lnet/minecraft/class_2561;Lnet/minecraft/class_640;)Lnet/minecraft/class_7595;
ARG 2 message
ARG 3 decorated
ARG 4 senderEntry
METHOD method_44733 onChatMessage (Lnet/minecraft/class_2556;Lnet/minecraft/class_7471;Lnet/minecraft/class_7436;)V
METHOD method_44731 getPlayerListEntry (Ljava/util/UUID;)Lnet/minecraft/class_640;
METHOD method_44732 getStatus (Lnet/minecraft/class_7471;Lnet/minecraft/class_2561;Lnet/minecraft/class_640;)Lnet/minecraft/class_7595;
METHOD method_44733 onChatMessage (Lnet/minecraft/class_7471;Lnet/minecraft/class_2556$class_7602;)V
METHOD method_44734 extractSender (Lnet/minecraft/class_2561;)Ljava/util/UUID;
ARG 1 text
METHOD method_44735 addToChatLog (Lnet/minecraft/class_2561;Ljava/time/Instant;)V
@ -15,10 +11,8 @@ CLASS net/minecraft/class_7594 net/minecraft/client/network/message/MessageHandl
METHOD method_44736 onGameMessage (Lnet/minecraft/class_2561;Z)V
ARG 1 message
ARG 2 overlay
METHOD method_44737 addToChatLog (Lnet/minecraft/class_7471;Lnet/minecraft/class_7436;Lnet/minecraft/class_640;Lnet/minecraft/class_7595;)V
METHOD method_44737 addToChatLog (Lnet/minecraft/class_7471;Lnet/minecraft/class_2556$class_7602;Lnet/minecraft/class_640;Lnet/minecraft/class_7595;)V
ARG 1 message
ARG 2 sender
ARG 3 senderEntry
ARG 4 trustStatus
METHOD method_44738 isAlwaysTrusted (Lnet/minecraft/class_7436;)Z
ARG 1 sender
METHOD method_44738 isAlwaysTrusted (Ljava/util/UUID;)Z

View File

@ -36,8 +36,6 @@ CLASS net/minecraft/class_7566 net/minecraft/client/report/ChatAbuseReport
ARG 1 opinionComments
METHOD method_44577 serializeContent (Lnet/minecraft/class_2561;)Ljava/lang/String;
ARG 0 content
METHOD method_44578 base64Encode ([B)Ljava/lang/String;
ARG 0 bs
METHOD method_44579 getSelections ()Lit/unimi/dsi/fastutil/ints/IntSet;
METHOD method_44580 hasSelectedMessage (I)Z
ARG 1 index

View File

@ -49,21 +49,3 @@ CLASS net/minecraft/class_2196 net/minecraft/command/argument/MessageArgumentTyp
CLASS class_7515 SignedMessage
METHOD method_44262 decorate (Lnet/minecraft/class_2168;)Ljava/util/concurrent/CompletableFuture;
ARG 1 source
METHOD method_44263 logInvalidSignatureWarning (Lnet/minecraft/class_2168;Lnet/minecraft/class_7471;)V
ARG 1 source
ARG 2 message
METHOD method_44264 filter (Lnet/minecraft/class_2168;Lnet/minecraft/class_2561;)Ljava/util/concurrent/CompletableFuture;
ARG 1 source
ARG 2 message
METHOD method_44265 (Lnet/minecraft/class_2168;Lnet/minecraft/class_5837;)Lnet/minecraft/class_5837;
ARG 2 decorated
METHOD method_44266 (Lnet/minecraft/class_2168;Lnet/minecraft/class_5837;)Ljava/util/concurrent/CompletionStage;
ARG 2 filtered
METHOD method_44334 getVerifiable (Lnet/minecraft/class_5837;)Lnet/minecraft/class_7471;
COMMENT {@return the verifiable part of {@code message}, or {@code null} when there is none}
COMMENT
COMMENT @implNote If the preview is signed, the decorated message will be returned, and
COMMENT if it's unsigned or unpreviewed but {@linkplain MessageSignature#canVerify
COMMENT verifiable}, the plain, undecorated message will be returned. If neither is true,
COMMENT this returns {@code null}, since the message cannot be verified in any way.
ARG 1 decorated

View File

@ -4,24 +4,15 @@ CLASS net/minecraft/class_7450 net/minecraft/network/message/ArgumentSignatureDa
FIELD field_39418 MAX_ARGUMENTS I
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_43745 empty ()Lnet/minecraft/class_7450;
COMMENT {@return an empty signature data map that has no signed arguments}
COMMENT
COMMENT @apiNote This is used when there is no argument to sign, or when the signing fails.
METHOD method_43746 collectArguments (Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/Map;
METHOD method_43746 collectArguments (Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/List;
COMMENT {@return the signable argument names and their values from {@code builder}}
ARG 0 builder
METHOD method_43747 resultToText (Lnet/minecraft/class_7451;Lcom/mojang/brigadier/context/ParsedArgument;)Lnet/minecraft/class_2561;
ARG 0 type
ARG 1 argument
METHOD method_43748 get (Ljava/lang/String;)Lnet/minecraft/class_3515$class_7425;
METHOD method_43748 get (Ljava/lang/String;)Lnet/minecraft/class_7469;
COMMENT {@return the signature data for {@code argumentName}, or {@code null} if the
COMMENT argument name is not present in this signatures}
ARG 1 argumentName
METHOD method_43749 write (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_43750 (Lnet/minecraft/class_2540;Ljava/lang/String;)V
ARG 0 buf
ARG 1 argumentName
METHOD method_43751 (Lnet/minecraft/class_2540;)Ljava/lang/String;
ARG 0 buf2

View File

@ -1,15 +1,5 @@
CLASS net/minecraft/class_7470 net/minecraft/network/message/ChatMessageSigner
COMMENT A signer for chat messages that produces {@link MessageSignature}.
METHOD method_43864 sign (Lnet/minecraft/class_7501;Ljava/lang/String;)Lnet/minecraft/class_7469;
COMMENT {@return the chat message signature obtained by signing {@code message} with {@code signature}}
ARG 1 signer
ARG 2 message
METHOD method_43865 sign (Lnet/minecraft/class_7501;Lnet/minecraft/class_2561;)Lnet/minecraft/class_7469;
COMMENT {@return the chat message signature obtained by signing {@code message} with {@code signature}}
ARG 1 signer
ARG 2 message
METHOD method_43866 create (Ljava/util/UUID;)Lnet/minecraft/class_7470;
COMMENT {@return a new signer instance}
ARG 0 sender
METHOD method_44309 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7498$class_7499;)V
ARG 2 updater

View File

@ -1,14 +1,9 @@
CLASS net/minecraft/class_7448 net/minecraft/network/message/CommandArgumentSigner
COMMENT A signer for command arguments.
FIELD field_39182 NONE Lnet/minecraft/class_7448;
METHOD getArgumentSignature (Ljava/lang/String;)Lnet/minecraft/class_7469;
ARG 1 argumentName
METHOD method_44250 isPreviewSigned (Ljava/lang/String;)Z
ARG 1 argumentName
METHOD method_44251 (Ljava/lang/String;)Lnet/minecraft/class_7469;
ARG 0 argumentName
METHOD method_44796 getArgumentSignature (Ljava/lang/String;)Lnet/minecraft/class_7469;
ARG 1 argumentName
CLASS class_7449 Signatures
COMMENT A signature for command arguments, consisting of the sender, the timestamp,
COMMENT and the signature datas for the arguments.
FIELD comp_776 timestamp Ljava/time/Instant;
METHOD comp_776 timestamp ()Ljava/time/Instant;

View File

@ -25,21 +25,6 @@ CLASS net/minecraft/class_7492 net/minecraft/network/message/MessageDecorator
COMMENT the player who sent the message, or {@code null} if {@code message} was not
COMMENT sent by a player
ARG 2 message
METHOD decorateChat (Lnet/minecraft/class_3222;Lnet/minecraft/class_5837;Lnet/minecraft/class_7469;Z)Ljava/util/concurrent/CompletableFuture;
COMMENT {@return the decorated signed chat message from undecorated {@code message}}
COMMENT
COMMENT <p>If {@code previewed} is false, the returned message will have the original
COMMENT content as signed and the decorated content as unsigned. This means that if the
COMMENT received player requires signed chat message, they will see the original content.
COMMENT
COMMENT <p>This keeps the filtered status of the original message; i.e. fully censored messages
COMMENT will remain fully censored, and unfiltered messages will remain unfiltered. If the message
COMMENT is partially filtered, both the raw and the filtered message will be decorated.
ARG 1 sender
ARG 2 message
ARG 3 signature
ARG 4 previewed
COMMENT whether the decoration was previewed by the sender's client
METHOD decorateFiltered (Lnet/minecraft/class_3222;Lnet/minecraft/class_5837;)Ljava/util/concurrent/CompletableFuture;
COMMENT {@return the decorated filtered message from undecorated {@code message}}
COMMENT
@ -51,7 +36,5 @@ CLASS net/minecraft/class_7492 net/minecraft/network/message/MessageDecorator
METHOD method_44303 (Lnet/minecraft/class_3222;Lnet/minecraft/class_2561;)Ljava/util/concurrent/CompletableFuture;
ARG 0 sender
ARG 1 message
METHOD method_44304 (Lnet/minecraft/class_5837;Lnet/minecraft/class_7469;ZLnet/minecraft/class_5837;)Lnet/minecraft/class_5837;
ARG 3 decorated
METHOD method_44305 (Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;Ljava/lang/Void;)Lnet/minecraft/class_5837;
ARG 2 void_

View File

@ -2,16 +2,3 @@ CLASS net/minecraft/class_7436 net/minecraft/network/message/MessageSender
COMMENT The sender, or the source, of a message.
COMMENT
COMMENT <p>An instance can be obtained via {@link net.minecraft.entity.Entity#asMessageSender}.
METHOD <init> (Ljava/util/UUID;Lnet/minecraft/class_2561;)V
ARG 1 profileId
ARG 2 name
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_43625 write (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_43841 of (Lnet/minecraft/class_2561;)Lnet/minecraft/class_7436;
ARG 0 name
METHOD method_43842 withTargetName (Lnet/minecraft/class_2561;)Lnet/minecraft/class_7436;
ARG 1 targetName
METHOD method_44744 hasProfileId ()Z
METHOD method_44778 withoutProfileId ()Lnet/minecraft/class_7436;

View File

@ -1,42 +1,3 @@
CLASS net/minecraft/class_7469 net/minecraft/network/message/MessageSignature
COMMENT A signature for chat messages and message command arguments, consisting
COMMENT of the sender, the timestamp, and the signature data.
FIELD comp_799 timestamp Ljava/time/Instant;
METHOD comp_799 timestamp ()Ljava/time/Instant;
METHOD method_43859 none (Ljava/util/UUID;)Lnet/minecraft/class_7469;
METHOD method_43860 verify (Lnet/minecraft/class_7500;Ljava/lang/String;)Z
COMMENT {@return whether {@code message} can be verified with this signature}
COMMENT
COMMENT @throws SignatureException when verifying fails
ARG 1 verifier
ARG 2 message
COMMENT the message to verify
METHOD method_43861 verify (Lnet/minecraft/class_7500;Lnet/minecraft/class_2561;)Z
COMMENT {@return whether {@code message} can be verified with this signature}
ARG 1 verifier
ARG 2 message
METHOD method_43862 updateSignature (Lnet/minecraft/class_7498$class_7499;Lnet/minecraft/class_2561;Ljava/util/UUID;Ljava/time/Instant;J)V
COMMENT Updates {@code updater} with the passed parameters.
COMMENT
COMMENT @implNote The data to be signed is {@code salt}, followed by big-endian ordered
COMMENT {@code uuid}, followed by {@code time} as seconds from the UTC epoch, followed by
COMMENT UTF-8 encoded {@code message} bytes.
COMMENT
COMMENT @throws SignatureException when updating signature fails
COMMENT
COMMENT @see ChatMessageSigner#sign(net.minecraft.network.encryption.Signer, Text)
COMMENT @see #verify
ARG 0 updater
ARG 1 message
ARG 2 sender
ARG 3 time
ARG 4 salt
METHOD method_43863 toByteArray (Lnet/minecraft/class_2561;)[B
ARG 0 message
METHOD method_44124 canVerify ()Z
COMMENT {@return whether the signature can be verified}
COMMENT
COMMENT <p>Verifiable signature is not the same as verified signature. A signatures is verifiable
COMMENT if it has proper sender UUID and signature data. However, it can still fail to verify.
METHOD method_44308 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7498$class_7499;)V
ARG 2 updater

View File

@ -13,47 +13,9 @@ CLASS net/minecraft/class_7471 net/minecraft/network/message/SignedMessage
COMMENT {@return the content of the message}
COMMENT
COMMENT <p>This returns the unsigned content if present, and fallbacks to the signed content.
METHOD method_44126 of (Ljava/lang/String;Lnet/minecraft/class_7469;)Lnet/minecraft/class_7471;
COMMENT {@return a new signed chat message with {@code signedContent} and {@code signature}}
ARG 0 signedContent
ARG 1 signature
METHOD method_44127 of (Ljava/util/UUID;Lnet/minecraft/class_2561;)Lnet/minecraft/class_7471;
COMMENT {@return a new signed chat message with {@code signedContent} and "none" signature}
METHOD method_44128 of (Lnet/minecraft/class_2561;Lnet/minecraft/class_7469;)Lnet/minecraft/class_7471;
COMMENT {@return a new signed chat message with {@code signedContent} and {@code signature}}
ARG 0 signedContent
ARG 1 signature
METHOD method_44129 withUnsigned (Lnet/minecraft/class_2561;)Lnet/minecraft/class_7471;
COMMENT {@return the new signed chat message with {@code unsignedContent} added}
COMMENT
COMMENT @apiNote This is used in vanilla when chat decorator decorates the message without
COMMENT the client previewing it. In this case, the undecorated content is signed but the
COMMENT decorated content is unsigned.
ARG 1 unsignedContent
METHOD method_44310 verify (Lnet/minecraft/class_3222;)Z
METHOD method_44310 verify (Lnet/minecraft/class_7436;)Z
COMMENT {@return whether the message can be verified using the public key <strong>or if the
COMMENT player does not have the key</strong>}
ARG 1 player
METHOD method_44311 toSignedMessage (Lnet/minecraft/class_5837;Lnet/minecraft/class_5837;Lnet/minecraft/class_7469;Z)Lnet/minecraft/class_5837;
ARG 0 original
ARG 1 decorated
ARG 2 signature
ARG 3 preview
METHOD method_44312 verify (Lnet/minecraft/class_2168;)Z
COMMENT {@return whether the message can be verified using the public key of the source
COMMENT <strong>or if the source does not have the key</strong>}
ARG 1 source
METHOD method_44313 of (Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_7469;Z)Lnet/minecraft/class_7471;
COMMENT {@return a new signed chat message from the content supplied by the chat decorator}
COMMENT
COMMENT @implNote If the decorated content is different from the original and is not
COMMENT previewed, this will create a signed chat message with the signed original content
COMMENT and the unsigned decorated content. Otherwise, this will create a signed chat message
COMMENT with the signed decorated content.
ARG 0 originalContent
ARG 1 decoratedContent
ARG 2 signature
ARG 3 previewed
METHOD method_44607 withoutUnsigned ()Lnet/minecraft/class_7471;
COMMENT {@return the signed chat message with {@link #unsignedContent} removed if it exists}
COMMENT
@ -62,5 +24,3 @@ CLASS net/minecraft/class_7471 net/minecraft/network/message/SignedMessage
ARG 1 currentTime
METHOD method_44748 isExpiredOnClient (Ljava/time/Instant;)Z
ARG 1 currentTime
METHOD method_44781 (Lnet/minecraft/class_7436;)Z
ARG 1 sender

View File

@ -19,21 +19,18 @@ CLASS net/minecraft/class_2797 net/minecraft/network/packet/c2s/play/ChatMessage
COMMENT
COMMENT @see net.minecraft.client.network.ClientPlayerEntity#sendChatMessage
COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onChatMessage
FIELD field_12764 chatMessage Ljava/lang/String;
FIELD field_39087 timestamp Ljava/time/Instant;
FIELD field_39088 signature Lnet/minecraft/class_3515$class_7425;
FIELD field_39390 previewed Z
METHOD <init> (Ljava/lang/String;Lnet/minecraft/class_7469;Z)V
FIELD comp_945 chatMessage Ljava/lang/String;
FIELD comp_946 timestamp Ljava/time/Instant;
FIELD comp_948 createSignatureInstance Lnet/minecraft/class_7469;
FIELD comp_949 previewed Z
METHOD <init> (Ljava/lang/String;Ljava/time/Instant;JLnet/minecraft/class_7469;Z)V
ARG 1 chatMessage
ARG 2 signature
ARG 3 previewed
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_12114 getChatMessage ()Ljava/lang/String;
METHOD method_43899 createSignatureInstance (Ljava/util/UUID;)Lnet/minecraft/class_7469;
ARG 1 sender
METHOD method_44136 isPreviewed ()Z
METHOD comp_945 chatMessage ()Ljava/lang/String;
METHOD comp_946 timestamp ()Ljava/time/Instant;
METHOD comp_948 createSignatureInstance ()Lnet/minecraft/class_7469;
METHOD comp_949 previewed ()Z
COMMENT {@return whether the chat message was previewed before sending}
COMMENT
COMMENT @apiNote Chat decorators can produce signed decorated content only if it was previewed.
METHOD method_44315 getTimestamp ()Ljava/time/Instant;

View File

@ -20,13 +20,10 @@ CLASS net/minecraft/class_7472 net/minecraft/network/packet/c2s/play/CommandExec
COMMENT @see net.minecraft.client.network.ClientPlayerEntity#sendCommand
COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onCommandExecution
FIELD comp_809 timestamp Ljava/time/Instant;
METHOD <init> (Ljava/lang/String;Ljava/time/Instant;Lnet/minecraft/class_7450;Z)V
METHOD <init> (Ljava/lang/String;Ljava/time/Instant;JLnet/minecraft/class_7450;Z)V
ARG 1 command
ARG 2 timestamp
ARG 3 argumentSignatures
ARG 4 signedPreview
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD comp_809 timestamp ()Ljava/time/Instant;
METHOD method_43896 createArgumentsSigner (Ljava/util/UUID;)Lnet/minecraft/class_7448;
ARG 1 sender
METHOD method_43896 createArgumentsSigner (Lnet/minecraft/class_3222;)Lnet/minecraft/class_7448;

View File

@ -20,18 +20,7 @@ CLASS net/minecraft/class_7438 net/minecraft/network/packet/s2c/play/ChatMessage
COMMENT
COMMENT @see net.minecraft.server.network.ServerPlayerEntity#sendChatMessage
COMMENT @see net.minecraft.client.network.ClientPlayNetworkHandler#onChatMessage
FIELD comp_761 timestamp Ljava/time/Instant;
FIELD comp_942 getSignedMessage Lnet/minecraft/class_7471;
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD comp_761 timestamp ()Ljava/time/Instant;
METHOD method_43884 getMessageType (Lnet/minecraft/class_2378;)Lnet/minecraft/class_2556;
COMMENT {@return the message type of the chat message}
COMMENT
COMMENT @throws NullPointerException when the type ID is invalid (due to unsynced registry, etc)
ARG 1 registry
METHOD method_43885 getSignedMessage ()Lnet/minecraft/class_7471;
METHOD method_44785 ofUnsigned (Lnet/minecraft/class_2561;ILnet/minecraft/class_7436;Ljava/time/Instant;)Lnet/minecraft/class_7438;
ARG 0 text
ARG 1 typeId
ARG 2 sender
ARG 3 timestamp
METHOD comp_942 getSignedMessage ()Lnet/minecraft/class_7471;

View File

@ -406,10 +406,7 @@ CLASS net/minecraft/server/MinecraftServer
METHOD method_41239 getMaxChainedNeighborUpdates ()I
METHOD method_42062 forceStopRecorder ()V
METHOD method_43500 shouldEnforceSecureProfile ()Z
METHOD method_43614 logChatMessage (Lnet/minecraft/class_7436;Lnet/minecraft/class_2561;Lnet/minecraft/class_5321;)V
ARG 1 sender
ARG 2 message
ARG 3 typeKey
METHOD method_43614 logChatMessage (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;Ljava/lang/String;)V
METHOD method_43659 getResourcePackProperties ()Ljava/util/Optional;
METHOD method_43824 getHostProfile ()Lcom/mojang/authlib/GameProfile;
METHOD method_43825 setHostProfile (Lcom/mojang/authlib/GameProfile;)V
@ -420,12 +417,6 @@ CLASS net/minecraft/server/MinecraftServer
COMMENT
COMMENT @see MessageDecorator
METHOD method_44301 getServicesSignatureVerifier ()Lnet/minecraft/class_7500;
METHOD method_44776 (Lnet/minecraft/class_5321;Lnet/minecraft/class_2378;)Lnet/minecraft/class_2556;
ARG 1 registry
METHOD method_44777 applyDecoration (Lnet/minecraft/class_7436;Lnet/minecraft/class_2561;Lnet/minecraft/class_5321;)Lnet/minecraft/class_2561;
ARG 1 sender
ARG 2 text
ARG 3 typeKey
METHOD method_5387 isMainThread ()Z
CLASS class_6414 DebugStart
FIELD field_33980 time J

View File

@ -155,35 +155,6 @@ CLASS net/minecraft/class_3324 net/minecraft/server/PlayerManager
COMMENT and returns either the text to send to them or {@code null}
COMMENT to indicate the message should not be sent to them
ARG 3 overlay
METHOD method_43513 broadcast (Lnet/minecraft/class_7471;Ljava/util/function/Function;Lnet/minecraft/class_7436;Lnet/minecraft/class_5321;)V
COMMENT Broadcasts a chat message to all players and the server console. A different
COMMENT message can be sent to a different player.
COMMENT
COMMENT <p>Chat messages have signatures. It is possible to use a bogus signature - such as
COMMENT {@link net.minecraft.network.message.MessageSignature#none} - to send a chat
COMMENT message; however if the signature is invalid (e.g. because the text's content differs
COMMENT from the one sent by the client, or because the passed signature is invalid) the client
COMMENT will show a warning and can discard it depending on the client's options. See {@link
COMMENT net.minecraft.network.message.MessageSignature#updateSignature} for how the
COMMENT message is signed.
COMMENT
COMMENT @apiNote This method is used to broadcast a message sent by a player
COMMENT through {@linkplain net.minecraft.client.gui.screen.ChatScreen the chat screen}
COMMENT as well as through commands like {@link net.minecraft.server.command.MeCommand} or
COMMENT {@link net.minecraft.server.command.SayCommand} .
COMMENT
COMMENT @see #broadcast(Text, boolean)
COMMENT @see #broadcast(Text, Function, boolean)
COMMENT @see #broadcast(FilteredMessage, ServerCommandSource, RegistryKey)
COMMENT @see #broadcast(FilteredMessage, ServerPlayerEntity, RegistryKey)
COMMENT @see #broadcast(SignedMessage, MessageSender, RegistryKey)
ARG 1 message
ARG 2 playerMessageFactory
COMMENT a function that takes the player to send the message to
COMMENT and returns either the message to send to them or {@code null}
COMMENT to indicate the message should not be sent to them
ARG 3 sender
ARG 4 typeKey
METHOD method_43514 broadcast (Lnet/minecraft/class_2561;Z)V
COMMENT Broadcasts a message to all players and the server console.
COMMENT
@ -199,9 +170,7 @@ CLASS net/minecraft/class_3324 net/minecraft/server/PlayerManager
ARG 2 overlay
METHOD method_43670 (Lnet/minecraft/class_3222;Lnet/minecraft/server/MinecraftServer$class_7460;)V
ARG 1 properties
METHOD method_43672 (Lnet/minecraft/class_7471;Lnet/minecraft/class_3222;)Lnet/minecraft/class_7471;
ARG 1 player
METHOD method_43673 broadcast (Lnet/minecraft/class_5837;Lnet/minecraft/class_3222;Lnet/minecraft/class_5321;)V
METHOD method_43673 broadcast (Lnet/minecraft/class_5837;Lnet/minecraft/class_3222;Lnet/minecraft/class_2556$class_7602;)V
COMMENT Broadcasts a chat message to all players and the server console.
COMMENT
COMMENT <p>Chat messages have signatures. It is possible to use a bogus signature - such as
@ -224,8 +193,7 @@ CLASS net/minecraft/class_3324 net/minecraft/server/PlayerManager
COMMENT @see #broadcast(SignedMessage, Function, MessageSender, RegistryKey)
ARG 1 message
ARG 2 sender
ARG 3 typeKey
METHOD method_43674 broadcast (Lnet/minecraft/class_7471;Lnet/minecraft/class_7436;Lnet/minecraft/class_5321;)V
METHOD method_43674 broadcast (Lnet/minecraft/class_7471;Lnet/minecraft/class_7436;Lnet/minecraft/class_2556$class_7602;)V
COMMENT Broadcasts a chat message to all players and the server console.
COMMENT
COMMENT <p>Chat messages have signatures. It is possible to use a bogus signature - such as
@ -246,10 +214,7 @@ CLASS net/minecraft/class_3324 net/minecraft/server/PlayerManager
COMMENT @see #broadcast(SignedMessage, Function, MessageSender, RegistryKey)
ARG 1 message
ARG 2 sender
ARG 3 typeKey
METHOD method_44165 (Lnet/minecraft/class_5837;Lnet/minecraft/class_3222;Lnet/minecraft/class_3222;)Lnet/minecraft/class_7471;
ARG 2 player
METHOD method_44166 broadcast (Lnet/minecraft/class_5837;Lnet/minecraft/class_2168;Lnet/minecraft/class_5321;)V
METHOD method_44166 broadcast (Lnet/minecraft/class_5837;Lnet/minecraft/class_2168;Lnet/minecraft/class_2556$class_7602;)V
COMMENT Broadcasts a chat message to all players and the server console.
COMMENT
COMMENT @apiNote This method is used to broadcast a message sent by commands like
@ -263,4 +228,3 @@ CLASS net/minecraft/class_3324 net/minecraft/server/PlayerManager
COMMENT @see #broadcast(SignedMessage, Function, MessageSender, RegistryKey)
ARG 1 message
ARG 2 source
ARG 3 typeKey

View File

@ -7,5 +7,3 @@ CLASS net/minecraft/class_3082 net/minecraft/server/command/MessageCommand
ARG 2 signedMessage
METHOD method_13463 (Lcom/mojang/brigadier/context/CommandContext;)I
ARG 0 context
METHOD method_44144 (Ljava/util/Collection;Lnet/minecraft/class_7436;Lnet/minecraft/class_2168;Lnet/minecraft/class_5837;)V
ARG 3 decoratedMessage

View File

@ -53,10 +53,7 @@ CLASS net/minecraft/class_2168 net/minecraft/server/command/ServerCommandSource
METHOD method_43738 getSigner ()Lnet/minecraft/class_7448;
METHOD method_44023 getPlayer ()Lnet/minecraft/class_3222;
COMMENT {@return the player from this command source, or {@code null} if the source is not a player}
METHOD method_44749 sendChatMessage (Lnet/minecraft/class_7436;Lnet/minecraft/class_7471;Lnet/minecraft/class_5321;)V
ARG 1 sender
ARG 2 message
ARG 3 typeKey
METHOD method_44749 sendChatMessage (Lnet/minecraft/class_7604;Lnet/minecraft/class_2556$class_7602;)V
METHOD method_9206 withLevel (I)Lnet/minecraft/class_2168;
ARG 1 level
METHOD method_9207 getPlayerOrThrow ()Lnet/minecraft/class_3222;

View File

@ -8,5 +8,3 @@ CLASS net/minecraft/class_3945 net/minecraft/server/command/TeamMsgCommand
ARG 0 dispatcher
METHOD method_17601 (Lcom/mojang/brigadier/context/CommandContext;)I
ARG 0 context
METHOD method_44148 (Ljava/util/List;Lnet/minecraft/class_1297;Lnet/minecraft/class_2561;Lnet/minecraft/class_2168;Lnet/minecraft/class_7436;Lnet/minecraft/class_5837;)V
ARG 5 decoratedMessage

View File

@ -22,7 +22,6 @@ CLASS net/minecraft/class_5837 net/minecraft/server/filter/FilteredMessage
ARG 1 source
ARG 2 receiver
METHOD method_44151 map (Ljava/util/function/Function;)Lnet/minecraft/class_5837;
ARG 1 mapper
METHOD method_44152 isCensored ()Z
COMMENT {@return if all of the messages are filtered, e.g. by using {@link #censored}}
METHOD method_44153 filteredOrElse (Ljava/lang/Object;)Ljava/lang/Object;

View File

@ -6,7 +6,3 @@ CLASS net/minecraft/class_5513 net/minecraft/server/filter/TextStream
METHOD method_31289 filterTexts (Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
ARG 1 texts
METHOD method_31290 onDisconnect ()V
METHOD method_44163 filterText (Lnet/minecraft/class_2561;)Ljava/util/concurrent/CompletableFuture;
ARG 1 text
METHOD method_44164 (Lnet/minecraft/class_2561;Lnet/minecraft/class_5837;)Lnet/minecraft/class_5837;
ARG 1 filteredMessage

View File

@ -37,7 +37,6 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan
FIELD field_39261 previewTaskRunner Lnet/minecraft/class_7493;
FIELD field_39394 lastMessageTimestamp Ljava/util/concurrent/atomic/AtomicReference;
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;Lnet/minecraft/class_3222;)V
ARG 1 server
ARG 2 connection
ARG 3 player
METHOD method_14360 requestTeleport (DDDFFLjava/util/Set;)V

View File

@ -217,7 +217,7 @@ CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
METHOD method_43502 sendMessageToClient (Lnet/minecraft/class_2561;Z)V
ARG 1 message
ARG 2 overlay
METHOD method_43505 sendChatMessage (Lnet/minecraft/class_7471;Lnet/minecraft/class_7436;Lnet/minecraft/class_5321;)V
METHOD method_43505 sendChatMessage (Lnet/minecraft/class_7604;Lnet/minecraft/class_2556$class_7602;)V
COMMENT Sends a chat message to the player.
COMMENT
COMMENT <p>Chat messages have signatures. It is possible to use a bogus signature - such as
@ -230,15 +230,10 @@ CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
COMMENT
COMMENT @see #sendMessage(Text)
COMMENT @see #sendMessage(Text, boolean)
ARG 1 message
ARG 2 sender
ARG 3 typeKey
METHOD method_43506 sendMessageDeliverError (Lnet/minecraft/class_2561;)V
ARG 1 message
METHOD method_43507 (Lnet/minecraft/class_2561;Lio/netty/util/concurrent/Future;)V
ARG 2 future
METHOD method_43666 getMessageTypeId (Lnet/minecraft/class_5321;)I
ARG 1 typeKey
METHOD method_43930 sendServerMetadata (Lnet/minecraft/class_2926;)V
ARG 1 metadata
METHOD method_44706 acceptsChatMessage ()Z

View File

@ -11,19 +11,16 @@ CLASS net/minecraft/class_7463 net/minecraft/text/Decoration
COMMENT
COMMENT @implNote This decoration allows using the sender and the content parameters. It has no style.
ARG 0 translationKey
METHOD method_43832 apply (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
METHOD method_43832 apply (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;)Lnet/minecraft/class_2561;
COMMENT {@return the text obtained by applying the passed values to the decoration}
ARG 1 content
COMMENT the value of the content parameter
ARG 2 sender
COMMENT the sender passed to parameters, or {@code null} if inapplicable
METHOD method_43834 collectArguments (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)[Lnet/minecraft/class_2561;
METHOD method_43834 collectArguments (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;)[Lnet/minecraft/class_2561;
COMMENT {@return the arguments passed to {@link Text#translatable(String, Object[])}}
COMMENT
COMMENT <p>This is collected by supplying {@code content} and {@code sender} to the
COMMENT parameters' {@link Decoration.Parameter#apply} method.
ARG 1 content
ARG 2 sender
METHOD method_43835 ofTeamMessage (Ljava/lang/String;)Lnet/minecraft/class_7463;
COMMENT {@return the decoration used in chat messages}
COMMENT
@ -48,21 +45,16 @@ CLASS net/minecraft/class_7463 net/minecraft/text/Decoration
METHOD <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_7463$class_7464$class_7465;)V
ARG 3 name
ARG 4 selector
METHOD method_43837 apply (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
METHOD method_43837 apply (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;)Lnet/minecraft/class_2561;
COMMENT {@return the text obtained by applying the passed values to the parameter}
ARG 1 content
ARG 2 sender
METHOD method_43838 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
METHOD method_43838 (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;)Lnet/minecraft/class_2561;
ARG 0 content
ARG 1 sender
METHOD method_43839 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
METHOD method_43839 (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;)Lnet/minecraft/class_2561;
ARG 0 content
ARG 1 sender
METHOD method_43840 (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
METHOD method_43840 (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;)Lnet/minecraft/class_2561;
ARG 0 content
ARG 1 sender
CLASS class_7465 Selector
COMMENT A functional interface that selects the text from the passed values.
METHOD select (Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)Lnet/minecraft/class_2561;
METHOD select (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;)Lnet/minecraft/class_2561;
ARG 1 content
ARG 2 sender