1.19.2-rc1

This commit is contained in:
modmuss50 2022-08-04 14:09:33 +01:00
parent 8b50117db4
commit 679bf1d442
5 changed files with 3 additions and 24 deletions

View File

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

View File

@ -3,21 +3,16 @@ CLASS net/minecraft/class_7434 net/minecraft/client/util/ProfileKeys
FIELD field_39074 LOGGER Lorg/slf4j/Logger; FIELD field_39074 LOGGER Lorg/slf4j/Logger;
FIELD field_39075 PROFILE_KEYS_PATH Ljava/nio/file/Path; FIELD field_39075 PROFILE_KEYS_PATH Ljava/nio/file/Path;
FIELD field_39076 jsonPath Ljava/nio/file/Path; FIELD field_39076 jsonPath Ljava/nio/file/Path;
FIELD field_39434 publicKeyFuture Ljava/util/concurrent/CompletableFuture;
FIELD field_39435 signerFuture Ljava/util/concurrent/CompletableFuture;
METHOD <init> (Lcom/mojang/authlib/minecraft/UserApiService;Ljava/util/UUID;Ljava/nio/file/Path;)V METHOD <init> (Lcom/mojang/authlib/minecraft/UserApiService;Ljava/util/UUID;Ljava/nio/file/Path;)V
ARG 1 userApiService
ARG 2 uuid ARG 2 uuid
ARG 3 root
METHOD method_43600 saveKeyPairToFile (Lnet/minecraft/class_7427;)V METHOD method_43600 saveKeyPairToFile (Lnet/minecraft/class_7427;)V
COMMENT Saves the {@code keyPair} to the cache file. COMMENT Saves the {@code keyPair} to the cache file.
ARG 1 keyPair ARG 1 keyPair
METHOD method_43601 (Lcom/google/gson/JsonElement;)V METHOD method_43601 (Lcom/google/gson/JsonElement;)V
ARG 1 json ARG 1 json
METHOD method_43602 getKeyPair (Lcom/mojang/authlib/minecraft/UserApiService;)Ljava/util/concurrent/CompletableFuture; METHOD method_43602 getKeyPair ()Ljava/util/concurrent/CompletableFuture;
COMMENT Gets the key pair from the file cache, or if it is unavailable or expired, COMMENT Gets the key pair from the file cache, or if it is unavailable or expired,
COMMENT the Mojang server. COMMENT the Mojang server.
ARG 1 userApiService
METHOD method_43603 getPublicKey ()Ljava/util/Optional; METHOD method_43603 getPublicKey ()Ljava/util/Optional;
COMMENT {@return the public key, or {@code null} if there is no public key associated COMMENT {@return the public key, or {@code null} if there is no public key associated
COMMENT with the profile} COMMENT with the profile}
@ -35,7 +30,6 @@ CLASS net/minecraft/class_7434 net/minecraft/client/util/ProfileKeys
COMMENT <p>This can return expired keys. COMMENT <p>This can return expired keys.
COMMENT COMMENT
COMMENT @implNote The cache file is stored at {@code .minecraft/profilekeys/<uuid>.json}. COMMENT @implNote The cache file is stored at {@code .minecraft/profilekeys/<uuid>.json}.
METHOD method_43784 getPublicKeyData ()Ljava/util/Optional;
METHOD method_44076 decodeKeyPairResponse (Lcom/mojang/authlib/yggdrasil/response/KeyPairResponse;)Lnet/minecraft/class_7428$class_7443; METHOD method_44076 decodeKeyPairResponse (Lcom/mojang/authlib/yggdrasil/response/KeyPairResponse;)Lnet/minecraft/class_7428$class_7443;
COMMENT {@return {@code keyPairResponse} decoded to {@link PlayerPublicKey.PublicKeyData}} COMMENT {@return {@code keyPairResponse} decoded to {@link PlayerPublicKey.PublicKeyData}}
COMMENT COMMENT
@ -43,9 +37,3 @@ CLASS net/minecraft/class_7434 net/minecraft/client/util/ProfileKeys
ARG 0 keyPairResponse ARG 0 keyPairResponse
METHOD method_44287 getSigner ()Lnet/minecraft/class_7501; METHOD method_44287 getSigner ()Lnet/minecraft/class_7501;
COMMENT {@return the signer, or {@code null} if there is no key pair associated with the profile} COMMENT {@return the signer, or {@code null} if there is no key pair associated with the profile}
METHOD method_44288 (Ljava/util/Optional;)Ljava/util/Optional;
ARG 0 optionalKeyPair
METHOD method_44289 (Ljava/util/Optional;)Ljava/util/Optional;
ARG 0 optionalKeyPair
METHOD method_44290 (Lnet/minecraft/class_7427;)Lnet/minecraft/class_7501;
ARG 0 keyPair

View File

@ -7,7 +7,7 @@ CLASS net/minecraft/class_7428 net/minecraft/network/encryption/PlayerPublicKey
COMMENT @see net.minecraft.client.util.ProfileKeys COMMENT @see net.minecraft.client.util.ProfileKeys
COMMENT @see PlayerKeyPair COMMENT @see PlayerKeyPair
FIELD field_39050 CODEC Lcom/mojang/serialization/Codec; FIELD field_39050 CODEC Lcom/mojang/serialization/Codec;
METHOD method_43550 verifyAndDecode (Lnet/minecraft/class_7500;Ljava/util/UUID;Lnet/minecraft/class_7428$class_7443;)Lnet/minecraft/class_7428; METHOD method_43550 verifyAndDecode (Lnet/minecraft/class_7500;Ljava/util/UUID;Lnet/minecraft/class_7428$class_7443;Ljava/time/Duration;)Lnet/minecraft/class_7428;
COMMENT Verifies the public key and decodes it. COMMENT Verifies the public key and decodes it.
COMMENT COMMENT
COMMENT <p>The checks whether the public key is present, signed with the Mojang's private key, COMMENT <p>The checks whether the public key is present, signed with the Mojang's private key,
@ -20,10 +20,6 @@ CLASS net/minecraft/class_7428 net/minecraft/network/encryption/PlayerPublicKey
ARG 1 playerUuid ARG 1 playerUuid
ARG 2 publicKeyData ARG 2 publicKeyData
METHOD method_43697 createSignatureInstance ()Lnet/minecraft/class_7500; METHOD method_43697 createSignatureInstance ()Lnet/minecraft/class_7500;
METHOD method_43698 fromKeyData (Lnet/minecraft/class_7428$class_7443;)Lnet/minecraft/class_7428;
ARG 0 publicKeyData
METHOD method_43699 (Lnet/minecraft/class_7428$class_7443;)Lcom/mojang/serialization/DataResult;
ARG 0 publicKeyData
CLASS class_7443 PublicKeyData CLASS class_7443 PublicKeyData
FIELD field_39119 CODEC Lcom/mojang/serialization/Codec; FIELD field_39119 CODEC Lcom/mojang/serialization/Codec;
FIELD field_39309 KEY_SIGNATURE_MAX_SIZE I FIELD field_39309 KEY_SIGNATURE_MAX_SIZE I

View File

@ -29,9 +29,6 @@ CLASS net/minecraft/class_3248 net/minecraft/server/network/ServerLoginNetworkHa
FIELD field_14166 LOGGER Lorg/slf4j/Logger; FIELD field_14166 LOGGER Lorg/slf4j/Logger;
FIELD field_14167 nonce [B FIELD field_14167 nonce [B
FIELD field_29779 TIMEOUT_TICKS I FIELD field_29779 TIMEOUT_TICKS I
FIELD field_39020 MISSING_PUBLIC_KEY_TEXT Lnet/minecraft/class_2561;
FIELD field_39021 INVALID_PUBLIC_KEY_SIGNATURE_TEXT Lnet/minecraft/class_2561;
FIELD field_39022 INVALID_PUBLIC_KEY_TEXT Lnet/minecraft/class_2561;
FIELD field_39743 publicKeyData Lnet/minecraft/class_7428$class_7443; FIELD field_39743 publicKeyData Lnet/minecraft/class_7428$class_7443;
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;)V METHOD <init> (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;)V
ARG 1 server ARG 1 server
@ -62,4 +59,3 @@ CLASS net/minecraft/class_3248 net/minecraft/server/network/ServerLoginNetworkHa
CLASS 1 CLASS 1
METHOD method_14386 getClientAddress ()Ljava/net/InetAddress; METHOD method_14386 getClientAddress ()Ljava/net/InetAddress;
CLASS class_3249 State CLASS class_3249 State
CLASS class_7423 LoginException

View File

@ -221,7 +221,6 @@ CLASS net/minecraft/class_3244 net/minecraft/server/network/ServerPlayNetworkHan
COMMENT rejection of messages) for expired messages. COMMENT rejection of messages) for expired messages.
COMMENT COMMENT
COMMENT @see #canAcceptMessage(String, Instant, LastSeenMessageList.Acknowledgment) COMMENT @see #canAcceptMessage(String, Instant, LastSeenMessageList.Acknowledgment)
ARG 1 message
METHOD method_45010 handleCommandExecution (Lnet/minecraft/class_7472;)V METHOD method_45010 handleCommandExecution (Lnet/minecraft/class_7472;)V
ARG 1 packet ARG 1 packet
METHOD method_45011 getSignedMessage (Lnet/minecraft/class_2797;)Lnet/minecraft/class_7471; METHOD method_45011 getSignedMessage (Lnet/minecraft/class_2797;)Lnet/minecraft/class_7471;