mirror of https://github.com/FabricMC/yarn.git
Add mappings for RealmsClient and related classes (#1821)
* Add mappings for RealmsClient and related classes * isBlockedPlayer -> isPlayerBlocked Co-authored-by: YanisBft <doublecraft.official@gmail.com> * isBlocked -> isOwnerBlocked Co-authored-by: YanisBft <doublecraft.official@gmail.com> Co-authored-by: YanisBft <doublecraft.official@gmail.com>
This commit is contained in:
parent
e439ad29e0
commit
433e6bd861
|
@ -1,6 +1,10 @@
|
|||
CLASS net/minecraft/class_5520 net/minecraft/client/network/SocialInteractionsManager
|
||||
FIELD field_26865 client Lnet/minecraft/class_310;
|
||||
FIELD field_26866 hiddenPlayers Ljava/util/Set;
|
||||
FIELD field_26912 socialInteractionsService Lcom/mojang/authlib/minecraft/SocialInteractionsService;
|
||||
METHOD <init> (Lnet/minecraft/class_310;Lcom/mojang/authlib/minecraft/SocialInteractionsService;)V
|
||||
ARG 1 client
|
||||
ARG 2 socialInteractionsService
|
||||
METHOD method_31336 getHiddenPlayers ()Ljava/util/Set;
|
||||
METHOD method_31338 hidePlayer (Ljava/util/UUID;)V
|
||||
ARG 1 uuid
|
||||
|
@ -8,3 +12,5 @@ CLASS net/minecraft/class_5520 net/minecraft/client/network/SocialInteractionsMa
|
|||
ARG 1 uuid
|
||||
METHOD method_31340 isPlayerHidden (Ljava/util/UUID;)Z
|
||||
ARG 1 uuid
|
||||
METHOD method_31392 isPlayerBlocked (Ljava/util/UUID;)Z
|
||||
ARG 1 uuid
|
||||
|
|
|
@ -5,9 +5,11 @@ CLASS net/minecraft/class_4341 net/minecraft/client/realms/RealmsClient
|
|||
FIELD field_19579 sessionId Ljava/lang/String;
|
||||
FIELD field_19580 username Ljava/lang/String;
|
||||
FIELD field_22568 JSON Lnet/minecraft/class_4869;
|
||||
FIELD field_26901 client Lnet/minecraft/class_310;
|
||||
METHOD <init> (Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_310;)V
|
||||
ARG 1 sessionId
|
||||
ARG 2 username
|
||||
ARG 3 client
|
||||
METHOD method_20989 createRealmsClient ()Lnet/minecraft/class_4341;
|
||||
METHOD method_20990 fetchWorldTemplates (IILnet/minecraft/class_4877$class_4321;)Lnet/minecraft/class_4891;
|
||||
ARG 1 page
|
||||
|
@ -93,6 +95,7 @@ CLASS net/minecraft/class_4341 net/minecraft/client/realms/RealmsClient
|
|||
ARG 1 worldId
|
||||
METHOD method_21026 upload (JLjava/lang/String;)Lnet/minecraft/class_4888;
|
||||
ARG 1 worldId
|
||||
ARG 3 token
|
||||
METHOD method_21027 clientCompatible ()Lnet/minecraft/class_4341$class_4342;
|
||||
METHOD method_21028 deleteWorld (J)V
|
||||
ARG 1 worldId
|
||||
|
@ -101,6 +104,8 @@ CLASS net/minecraft/class_4341 net/minecraft/client/realms/RealmsClient
|
|||
METHOD method_21031 agreeToTos ()V
|
||||
METHOD method_21032 getNews ()Lnet/minecraft/class_4876;
|
||||
METHOD method_21033 trialAvailable ()Ljava/lang/Boolean;
|
||||
METHOD method_31381 isOwnerBlocked (Lnet/minecraft/class_4871;)Z
|
||||
ARG 1 pendingInvite
|
||||
CLASS class_4342 CompatibleVersionResponse
|
||||
FIELD field_19582 COMPATIBLE Lnet/minecraft/class_4341$class_4342;
|
||||
FIELD field_19583 OUTDATED Lnet/minecraft/class_4341$class_4342;
|
||||
|
|
|
@ -2,5 +2,10 @@ CLASS net/minecraft/class_4345 net/minecraft/client/realms/RealmsError
|
|||
FIELD field_19593 LOGGER Lorg/apache/logging/log4j/Logger;
|
||||
FIELD field_19594 errorMessage Ljava/lang/String;
|
||||
FIELD field_19595 errorCode I
|
||||
METHOD <init> (Ljava/lang/String;I)V
|
||||
ARG 1 errorMessage
|
||||
ARG 2 errorCode
|
||||
METHOD method_21036 getErrorMessage ()Ljava/lang/String;
|
||||
METHOD method_21037 getErrorCode ()I
|
||||
METHOD method_30162 create (Ljava/lang/String;)Lnet/minecraft/class_4345;
|
||||
ARG 0 error
|
||||
|
|
|
@ -3,8 +3,14 @@ CLASS net/minecraft/class_4888 net/minecraft/client/realms/dto/UploadInfo
|
|||
FIELD field_22658 worldClosed Z
|
||||
FIELD field_22659 token Ljava/lang/String;
|
||||
FIELD field_22660 uploadEndpoint Ljava/net/URI;
|
||||
METHOD <init> (ZLjava/lang/String;Ljava/net/URI;)V
|
||||
ARG 1 worldClosed
|
||||
ARG 2 token
|
||||
ARG 3 uploadEndpoint
|
||||
METHOD method_25087 getToken ()Ljava/lang/String;
|
||||
METHOD method_25088 parse (Ljava/lang/String;)Lnet/minecraft/class_4888;
|
||||
ARG 0 json
|
||||
METHOD method_25089 getUploadEndpoint ()Ljava/net/URI;
|
||||
METHOD method_25091 isWorldClosed ()Z
|
||||
METHOD method_30864 createRequestContent (Ljava/lang/String;)Ljava/lang/String;
|
||||
ARG 0 token
|
||||
|
|
|
@ -2,3 +2,4 @@ CLASS net/minecraft/class_4356 net/minecraft/client/realms/exception/RetryCallEx
|
|||
FIELD field_19608 delaySeconds I
|
||||
METHOD <init> (II)V
|
||||
ARG 1 delaySeconds
|
||||
ARG 2 httpResultCode
|
||||
|
|
Loading…
Reference in New Issue