From 79ab38912d2dbe0b5ab0ae2c33d44b5eaf2e308c Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Sun, 6 Aug 2023 00:50:07 +0900 Subject: [PATCH] 23w31a client gui --- .../net/minecraft/client/gui/Element.mapping | 6 +- .../client/gui/ParentElement.mapping | 2 + .../client/gui/PlayerSkinDrawer.mapping | 6 ++ .../client/gui/hud/InGameHud.mapping | 1 + .../client/gui/hud/MessageIndicator.mapping | 4 +- .../TeamTeleportSpectatorMenu.mapping | 3 +- ...rtToSpecificPlayerSpectatorCommand.mapping | 1 + .../AccessibilityOnboardingButtons.mapping | 6 ++ .../AccessibilityOnboardingScreen.mapping | 2 + .../client/gui/screen/Screen.mapping | 11 +-- .../client/gui/screen/StatsScreen.mapping | 2 + .../gui/screen/ingame/InventoryScreen.mapping | 5 ++ ...SocialInteractionsPlayerListWidget.mapping | 2 + .../option/TelemetryEventWidget.mapping | 1 + .../screen/option/TelemetryInfoScreen.mapping | 5 ++ .../client/gui/screen/pack/PackScreen.mapping | 2 + .../AbstractFurnaceRecipeBookScreen.mapping | 1 + .../recipebook/RecipeBookResults.mapping | 2 + .../screen/report/ChatSelectionScreen.mapping | 2 +- .../screen/world/CreateWorldScreen.mapping | 1 + .../screen/world/SymlinkWarningScreen.mapping | 24 +++++++ .../client/gui/widget/AxisGridWidget.mapping | 3 + .../client/gui/widget/ClickableWidget.mapping | 6 ++ .../widget/DirectionalLayoutWidget.mapping | 39 +++++++++++ .../client/gui/widget/EditBoxWidget.mapping | 3 + .../client/gui/widget/GridWidget.mapping | 12 ++++ .../client/gui/widget/IconWidget.mapping | 8 +-- .../NarratedMultilineTextWidget.mapping | 10 ++- .../widget/SimplePositioningWidget.mapping | 3 + .../client/gui/widget/TextFieldWidget.mapping | 13 ++++ .../gui/widget/TextIconButtonWidget.mapping | 44 ++++++++++++ .../client/gui/widget/TextWidget.mapping | 3 + .../gui/widget/ThreePartsLayoutWidget.mapping | 3 + .../realms/gui/RealmsLoadingWidget.mapping | 5 ++ .../realms/gui/screen/BuyRealmsScreen.mapping | 38 +++++++++++ ...=> RealmsClientIncompatibleScreen.mapping} | 2 +- .../screen/RealmsCreateRealmScreen.mapping | 12 ++++ .../gui/screen/RealmsMainScreen.mapping | 68 +++++++++++++++++++ .../screen/RealmsNotificationsScreen.mapping | 2 + .../screen/RealmsPendingInvitesScreen.mapping | 10 +++ .../gui/screen/RealmsPlayerScreen.mapping | 3 + .../RealmsResetNormalWorldScreen.mapping | 6 ++ 42 files changed, 366 insertions(+), 16 deletions(-) create mode 100644 mappings/net/minecraft/client/gui/screen/world/SymlinkWarningScreen.mapping create mode 100644 mappings/net/minecraft/client/gui/widget/DirectionalLayoutWidget.mapping create mode 100644 mappings/net/minecraft/client/gui/widget/TextIconButtonWidget.mapping create mode 100644 mappings/net/minecraft/client/realms/gui/RealmsLoadingWidget.mapping create mode 100644 mappings/net/minecraft/client/realms/gui/screen/BuyRealmsScreen.mapping rename mappings/net/minecraft/client/realms/gui/screen/{RealmsClientOutdatedScreen.mapping => RealmsClientIncompatibleScreen.mapping} (93%) diff --git a/mappings/net/minecraft/client/gui/Element.mapping b/mappings/net/minecraft/client/gui/Element.mapping index 4da7c98fa0..11224391fd 100644 --- a/mappings/net/minecraft/client/gui/Element.mapping +++ b/mappings/net/minecraft/client/gui/Element.mapping @@ -56,8 +56,10 @@ CLASS net/minecraft/class_364 net/minecraft/client/gui/Element COMMENT the X coordinate of the mouse ARG 3 mouseY COMMENT the Y coordinate of the mouse - ARG 5 amount - COMMENT value is {@code < 0} if scrolled down, {@code > 0} if scrolled up + ARG 5 horizontalAmount + COMMENT the horizontal scroll amount + ARG 7 verticalAmount + COMMENT the vertical scroll amount METHOD method_25402 mouseClicked (DDI)Z COMMENT Callback for when a mouse button down event COMMENT has been captured. diff --git a/mappings/net/minecraft/client/gui/ParentElement.mapping b/mappings/net/minecraft/client/gui/ParentElement.mapping index 56f0bf71ff..95ff0d49a9 100644 --- a/mappings/net/minecraft/client/gui/ParentElement.mapping +++ b/mappings/net/minecraft/client/gui/ParentElement.mapping @@ -4,6 +4,8 @@ CLASS net/minecraft/class_4069 net/minecraft/client/gui/ParentElement METHOD method_19355 hoveredElement (DD)Ljava/util/Optional; ARG 1 mouseX ARG 3 mouseY + METHOD method_20082 (DDDDLnet/minecraft/class_364;)Z + ARG 8 element METHOD method_20083 (DDILnet/minecraft/class_364;)Z ARG 5 element METHOD method_20086 focusOn (Lnet/minecraft/class_364;)V diff --git a/mappings/net/minecraft/client/gui/PlayerSkinDrawer.mapping b/mappings/net/minecraft/client/gui/PlayerSkinDrawer.mapping index 4fd35b331a..5b0a084683 100644 --- a/mappings/net/minecraft/client/gui/PlayerSkinDrawer.mapping +++ b/mappings/net/minecraft/client/gui/PlayerSkinDrawer.mapping @@ -31,3 +31,9 @@ CLASS net/minecraft/class_7532 net/minecraft/client/gui/PlayerSkinDrawer ARG 4 size ARG 5 hatVisible ARG 6 upsideDown + METHOD method_52722 draw (Lnet/minecraft/class_332;Lnet/minecraft/class_8685;III)V + ARG 0 context + ARG 1 textures + ARG 2 x + ARG 3 y + ARG 4 size diff --git a/mappings/net/minecraft/client/gui/hud/InGameHud.mapping b/mappings/net/minecraft/client/gui/hud/InGameHud.mapping index 6c10e56da8..fc7bb2321a 100644 --- a/mappings/net/minecraft/client/gui/hud/InGameHud.mapping +++ b/mappings/net/minecraft/client/gui/hud/InGameHud.mapping @@ -139,6 +139,7 @@ CLASS net/minecraft/class_329 net/minecraft/client/gui/hud/InGameHud ARG 1 context ARG 2 x ARG 3 y + ARG 4 tickDelta ARG 5 player ARG 6 stack ARG 7 seed diff --git a/mappings/net/minecraft/client/gui/hud/MessageIndicator.mapping b/mappings/net/minecraft/client/gui/hud/MessageIndicator.mapping index 6fb91b457a..3350e317c9 100644 --- a/mappings/net/minecraft/client/gui/hud/MessageIndicator.mapping +++ b/mappings/net/minecraft/client/gui/hud/MessageIndicator.mapping @@ -19,8 +19,8 @@ CLASS net/minecraft/class_7591 net/minecraft/client/gui/hud/MessageIndicator FIELD field_45292 texture Lnet/minecraft/class_2960; METHOD (Ljava/lang/String;ILnet/minecraft/class_2960;II)V ARG 3 texture - ARG 4 v - ARG 5 width + ARG 4 width + ARG 5 height METHOD method_44712 draw (Lnet/minecraft/class_332;II)V ARG 1 context ARG 2 x diff --git a/mappings/net/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu.mapping b/mappings/net/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu.mapping index 0c926a7cb3..5a80a51d1b 100644 --- a/mappings/net/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu.mapping +++ b/mappings/net/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu.mapping @@ -11,10 +11,11 @@ CLASS net/minecraft/class_540 net/minecraft/client/gui/hud/spectator/TeamTelepor CLASS class_541 TeleportToSpecificTeamCommand FIELD field_3274 scoreboardEntries Ljava/util/List; FIELD field_3275 team Lnet/minecraft/class_268; - FIELD field_41115 skinId Ljava/util/function/Supplier; + FIELD field_41115 skinTexturesSupplier Ljava/util/function/Supplier; METHOD (Lnet/minecraft/class_268;Ljava/util/List;Ljava/util/function/Supplier;)V ARG 1 team ARG 2 scoreboardEntries + ARG 3 skinTexturesSupplier METHOD method_47433 create (Lnet/minecraft/class_310;Lnet/minecraft/class_268;)Ljava/util/Optional; ARG 0 client ARG 1 team diff --git a/mappings/net/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand.mapping b/mappings/net/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand.mapping index d0e0e9baaf..7bf3da6089 100644 --- a/mappings/net/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand.mapping +++ b/mappings/net/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand.mapping @@ -1,5 +1,6 @@ CLASS net/minecraft/class_530 net/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand FIELD field_26611 name Lnet/minecraft/class_2561; FIELD field_3253 gameProfile Lcom/mojang/authlib/GameProfile; + FIELD field_45578 skinTexturesSupplier Ljava/util/function/Supplier; METHOD (Lcom/mojang/authlib/GameProfile;)V ARG 1 gameProfile diff --git a/mappings/net/minecraft/client/gui/screen/AccessibilityOnboardingButtons.mapping b/mappings/net/minecraft/client/gui/screen/AccessibilityOnboardingButtons.mapping index 9e73095433..bd9935bade 100644 --- a/mappings/net/minecraft/client/gui/screen/AccessibilityOnboardingButtons.mapping +++ b/mappings/net/minecraft/client/gui/screen/AccessibilityOnboardingButtons.mapping @@ -1,3 +1,9 @@ CLASS net/minecraft/class_8082 net/minecraft/client/gui/screen/AccessibilityOnboardingButtons METHOD method_48592 createLanguageButton (ILnet/minecraft/class_4185$class_4241;Z)Lnet/minecraft/class_8662; + ARG 0 width + ARG 1 onPress + ARG 2 hideText METHOD method_48594 createAccessibilityButton (ILnet/minecraft/class_4185$class_4241;Z)Lnet/minecraft/class_8662; + ARG 0 width + ARG 1 onPress + ARG 2 hideText diff --git a/mappings/net/minecraft/client/gui/screen/AccessibilityOnboardingScreen.mapping b/mappings/net/minecraft/client/gui/screen/AccessibilityOnboardingScreen.mapping index 453682ef6b..593dff8048 100644 --- a/mappings/net/minecraft/client/gui/screen/AccessibilityOnboardingScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/AccessibilityOnboardingScreen.mapping @@ -19,3 +19,5 @@ CLASS net/minecraft/class_8032 net/minecraft/client/gui/screen/AccessibilityOnbo ARG 1 button METHOD method_49298 (Lnet/minecraft/class_4185;)V ARG 1 button + METHOD method_52746 (Lnet/minecraft/class_7847;)V + ARG 0 positioner diff --git a/mappings/net/minecraft/client/gui/screen/Screen.mapping b/mappings/net/minecraft/client/gui/screen/Screen.mapping index f3499555c8..2de1f726f3 100644 --- a/mappings/net/minecraft/client/gui/screen/Screen.mapping +++ b/mappings/net/minecraft/client/gui/screen/Screen.mapping @@ -51,11 +51,13 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen METHOD method_25420 renderBackground (Lnet/minecraft/class_332;IIF)V COMMENT Renders the background of this screen. COMMENT - COMMENT

If the client is in a world, renders the translucent background gradient. + COMMENT

If the client is in a world, {@linkplain #renderIngameBackground + COMMENT renders the translucent background gradient}. COMMENT Otherwise {@linkplain #renderBackgroundTexture renders the background texture}. ARG 1 context - ARG 2 x - ARG 3 y + ARG 2 mouseX + ARG 3 mouseY + ARG 4 delta METHOD method_25421 shouldPause ()Z METHOD method_25422 shouldCloseOnEsc ()Z COMMENT Checks whether this screen should be closed when the escape key is pressed. @@ -163,7 +165,8 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen COMMENT Called when the screen is displayed using {@link MinecraftClient#setScreen} COMMENT before {@link #init()} or {@link #initTabNavigation()} is called. METHOD method_50024 getMusic ()Lnet/minecraft/class_5195; - METHOD method_52752 (Lnet/minecraft/class_332;)V + METHOD method_52752 renderInGameBackground (Lnet/minecraft/class_332;)V + COMMENT Renders the translucent background gradient used as the in-game screen background. ARG 1 context CLASS class_6390 SelectedElementNarrationData FIELD field_33825 selectable Lnet/minecraft/class_6379; diff --git a/mappings/net/minecraft/client/gui/screen/StatsScreen.mapping b/mappings/net/minecraft/client/gui/screen/StatsScreen.mapping index 0eb407a0ef..d4ebdff890 100644 --- a/mappings/net/minecraft/client/gui/screen/StatsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/StatsScreen.mapping @@ -59,6 +59,7 @@ CLASS net/minecraft/class_447 net/minecraft/client/gui/screen/StatsScreen FIELD field_18758 comparator Ljava/util/Comparator; FIELD field_18759 selectedStatType Lnet/minecraft/class_3448; FIELD field_18760 listOrder I + FIELD field_45422 headerIconTextures [Lnet/minecraft/class_2960; METHOD (Lnet/minecraft/class_447;Lnet/minecraft/class_310;)V ARG 2 client METHOD method_19406 getText (Lnet/minecraft/class_1792;)Lnet/minecraft/class_2561; @@ -78,6 +79,7 @@ CLASS net/minecraft/class_447 net/minecraft/client/gui/screen/StatsScreen METHOD (Lnet/minecraft/class_447$class_4200;Lnet/minecraft/class_1792;)V ARG 2 item METHOD method_19405 render (Lnet/minecraft/class_332;Lnet/minecraft/class_3445;IIZ)V + ARG 1 context ARG 2 stat ARG 3 x ARG 4 y diff --git a/mappings/net/minecraft/client/gui/screen/ingame/InventoryScreen.mapping b/mappings/net/minecraft/client/gui/screen/ingame/InventoryScreen.mapping index 0aac268edd..78a1acb4b0 100644 --- a/mappings/net/minecraft/client/gui/screen/ingame/InventoryScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/ingame/InventoryScreen.mapping @@ -9,8 +9,13 @@ CLASS net/minecraft/class_490 net/minecraft/client/gui/screen/ingame/InventorySc METHOD method_19891 (Lnet/minecraft/class_4185;)V ARG 1 button METHOD method_2486 drawEntity (Lnet/minecraft/class_332;IIIIIFFFLnet/minecraft/class_1309;)V + ARG 0 context ARG 1 x ARG 2 y + ARG 7 mouseX + ARG 8 mouseY + ARG 9 entity METHOD method_48472 drawEntity (Lnet/minecraft/class_332;FFILorg/joml/Vector3f;Lorg/joml/Quaternionf;Lorg/joml/Quaternionf;Lnet/minecraft/class_1309;)V ARG 0 context ARG 3 size + ARG 7 entity diff --git a/mappings/net/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget.mapping b/mappings/net/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget.mapping index aca6cc39d0..2a14c5ddae 100644 --- a/mappings/net/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget.mapping +++ b/mappings/net/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget.mapping @@ -38,6 +38,8 @@ CLASS net/minecraft/class_5521 net/minecraft/client/gui/screen/multiplayer/Socia ARG 2 includeOffline METHOD method_44760 (Lnet/minecraft/class_5519;)Ljava/lang/Integer; ARG 0 player + METHOD method_44761 (Lnet/minecraft/class_5519;)Ljava/lang/Integer; + ARG 1 player METHOD method_44762 sortPlayers ()V METHOD method_45665 collectReportableProfiles (Lnet/minecraft/class_7555;)Ljava/util/Collection; ARG 0 log diff --git a/mappings/net/minecraft/client/gui/screen/option/TelemetryEventWidget.mapping b/mappings/net/minecraft/client/gui/screen/option/TelemetryEventWidget.mapping index c7b5692051..4551691b6b 100644 --- a/mappings/net/minecraft/client/gui/screen/option/TelemetryEventWidget.mapping +++ b/mappings/net/minecraft/client/gui/screen/option/TelemetryEventWidget.mapping @@ -33,6 +33,7 @@ CLASS net/minecraft/class_7941 net/minecraft/client/gui/screen/option/TelemetryE CLASS class_7943 ContentsBuilder FIELD field_41362 gridWidth I FIELD field_41366 narration Lnet/minecraft/class_5250; + FIELD field_45566 layout Lnet/minecraft/class_8667; METHOD (I)V ARG 1 gridWidth METHOD method_47641 build ()Lnet/minecraft/class_7941$class_7942; diff --git a/mappings/net/minecraft/client/gui/screen/option/TelemetryInfoScreen.mapping b/mappings/net/minecraft/client/gui/screen/option/TelemetryInfoScreen.mapping index 71cde4ef9a..dc753c222d 100644 --- a/mappings/net/minecraft/client/gui/screen/option/TelemetryInfoScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/option/TelemetryInfoScreen.mapping @@ -8,6 +8,7 @@ CLASS net/minecraft/class_7944 net/minecraft/client/gui/screen/option/TelemetryI FIELD field_41374 options Lnet/minecraft/class_315; FIELD field_41375 telemetryEventWidget Lnet/minecraft/class_7941; FIELD field_41376 scroll D + FIELD field_45567 PRIVACY_STATEMENT_TEXT Lnet/minecraft/class_2561; METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V ARG 1 parent ARG 2 options @@ -29,3 +30,7 @@ CLASS net/minecraft/class_7944 net/minecraft/client/gui/screen/option/TelemetryI METHOD method_47653 createOptInButton ()Lnet/minecraft/class_339; METHOD method_48286 (Lnet/minecraft/class_7944;Lnet/minecraft/class_364;)V ARG 1 child + METHOD method_52765 openPrivacyStatementPage (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52766 (Z)V + ARG 1 confirmed diff --git a/mappings/net/minecraft/client/gui/screen/pack/PackScreen.mapping b/mappings/net/minecraft/client/gui/screen/pack/PackScreen.mapping index e315357991..20b6d53821 100644 --- a/mappings/net/minecraft/client/gui/screen/pack/PackScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/pack/PackScreen.mapping @@ -48,6 +48,8 @@ CLASS net/minecraft/class_5375 net/minecraft/client/gui/screen/pack/PackScreen METHOD method_48277 switchFocusedList (Lnet/minecraft/class_521;)V ARG 1 listWidget METHOD method_48278 clearSelection ()V + METHOD method_52760 streamFileNames (Ljava/util/Collection;)Ljava/util/stream/Stream; + ARG 0 paths CLASS class_5426 DirectoryWatcher FIELD field_25790 watchService Ljava/nio/file/WatchService; FIELD field_25791 path Ljava/nio/file/Path; diff --git a/mappings/net/minecraft/client/gui/screen/recipebook/AbstractFurnaceRecipeBookScreen.mapping b/mappings/net/minecraft/client/gui/screen/recipebook/AbstractFurnaceRecipeBookScreen.mapping index 42e57ee5f4..fb6e4ef519 100644 --- a/mappings/net/minecraft/client/gui/screen/recipebook/AbstractFurnaceRecipeBookScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/recipebook/AbstractFurnaceRecipeBookScreen.mapping @@ -1,5 +1,6 @@ CLASS net/minecraft/class_517 net/minecraft/client/gui/screen/recipebook/AbstractFurnaceRecipeBookScreen FIELD field_3149 fuels Lnet/minecraft/class_1856; + FIELD field_45540 TEXTURES Lnet/minecraft/class_8666; METHOD method_17065 getAllowedFuels ()Ljava/util/Set; METHOD method_49301 (Lnet/minecraft/class_1792;)Z ARG 1 item diff --git a/mappings/net/minecraft/client/gui/screen/recipebook/RecipeBookResults.mapping b/mappings/net/minecraft/client/gui/screen/recipebook/RecipeBookResults.mapping index f49cb071bd..089befe765 100644 --- a/mappings/net/minecraft/client/gui/screen/recipebook/RecipeBookResults.mapping +++ b/mappings/net/minecraft/client/gui/screen/recipebook/RecipeBookResults.mapping @@ -12,6 +12,8 @@ CLASS net/minecraft/class_513 net/minecraft/client/gui/screen/recipebook/RecipeB FIELD field_3134 recipeDisplayListeners Ljava/util/List; FIELD field_3135 currentPage I FIELD field_3136 recipeBook Lnet/minecraft/class_3439; + FIELD field_45552 PAGE_FORWARD_TEXTURES Lnet/minecraft/class_8666; + FIELD field_45553 PAGE_BACKWARD_TEXTURES Lnet/minecraft/class_8666; METHOD method_2625 refreshResultButtons ()V METHOD method_2626 hideShowPageButtons ()V METHOD method_2627 setResults (Ljava/util/List;Z)V diff --git a/mappings/net/minecraft/client/gui/screen/report/ChatSelectionScreen.mapping b/mappings/net/minecraft/client/gui/screen/report/ChatSelectionScreen.mapping index 2a8ba63374..224b587d08 100644 --- a/mappings/net/minecraft/client/gui/screen/report/ChatSelectionScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/report/ChatSelectionScreen.mapping @@ -86,7 +86,7 @@ CLASS net/minecraft/class_7543 net/minecraft/client/gui/screen/report/ChatSelect CLASS class_7549 SenderEntry FIELD field_39607 PLAYER_SKIN_SIZE I FIELD field_39608 headingText Lnet/minecraft/class_2561; - FIELD field_39609 skinTextureId Ljava/util/function/Supplier; + FIELD field_39609 skinTexturesSupplier Ljava/util/function/Supplier; FIELD field_39610 fromReportedPlayer Z METHOD (Lnet/minecraft/class_7543$class_7544;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_2561;Z)V ARG 2 gameProfile diff --git a/mappings/net/minecraft/client/gui/screen/world/CreateWorldScreen.mapping b/mappings/net/minecraft/client/gui/screen/world/CreateWorldScreen.mapping index 89eab41878..02edad729e 100644 --- a/mappings/net/minecraft/client/gui/screen/world/CreateWorldScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/world/CreateWorldScreen.mapping @@ -17,6 +17,7 @@ CLASS net/minecraft/class_525 net/minecraft/client/gui/screen/world/CreateWorldS FIELD field_43081 HEADER_SEPARATOR_TEXTURE Lnet/minecraft/class_2960; FIELD field_43082 FOOTER_SEPARATOR_TEXTURE Lnet/minecraft/class_2960; FIELD field_44672 LIGHT_DIRT_BACKGROUND_TEXTURE Lnet/minecraft/class_2960; + FIELD field_45568 symlinkFinder Lnet/minecraft/class_8580; METHOD (Lnet/minecraft/class_310;Lnet/minecraft/class_437;Lnet/minecraft/class_7193;Ljava/util/Optional;Ljava/util/OptionalLong;)V ARG 1 client ARG 2 parent diff --git a/mappings/net/minecraft/client/gui/screen/world/SymlinkWarningScreen.mapping b/mappings/net/minecraft/client/gui/screen/world/SymlinkWarningScreen.mapping new file mode 100644 index 0000000000..1c947ceb2e --- /dev/null +++ b/mappings/net/minecraft/client/gui/screen/world/SymlinkWarningScreen.mapping @@ -0,0 +1,24 @@ +CLASS net/minecraft/class_8669 net/minecraft/client/gui/screen/world/SymlinkWarningScreen + FIELD field_45408 WORLD_TITLE Lnet/minecraft/class_2561; + FIELD field_45409 WORLD_MESSAGE Lnet/minecraft/class_2561; + FIELD field_45410 PACK_TITLE Lnet/minecraft/class_2561; + FIELD field_45411 PACK_MESSAGE Lnet/minecraft/class_2561; + FIELD field_45412 message Lnet/minecraft/class_2561; + FIELD field_45413 link Ljava/lang/String; + FIELD field_45414 parent Lnet/minecraft/class_437; + FIELD field_45415 grid Lnet/minecraft/class_7845; + METHOD (Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Ljava/lang/String;Lnet/minecraft/class_437;)V + ARG 1 title + ARG 2 message + ARG 3 link + ARG 4 parent + METHOD method_52747 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52748 world (Lnet/minecraft/class_437;)Lnet/minecraft/class_437; + ARG 0 parent + METHOD method_52749 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52750 pack (Lnet/minecraft/class_437;)Lnet/minecraft/class_437; + ARG 0 parent + METHOD method_52751 (Lnet/minecraft/class_4185;)V + ARG 1 button diff --git a/mappings/net/minecraft/client/gui/widget/AxisGridWidget.mapping b/mappings/net/minecraft/client/gui/widget/AxisGridWidget.mapping index 01068b8841..5b5b658fd0 100644 --- a/mappings/net/minecraft/client/gui/widget/AxisGridWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/AxisGridWidget.mapping @@ -21,6 +21,9 @@ CLASS net/minecraft/class_7849 net/minecraft/client/gui/widget/AxisGridWidget METHOD method_46500 getMainPositioner ()Lnet/minecraft/class_7847; METHOD method_48230 (Ljava/util/function/Consumer;Lnet/minecraft/class_7849$class_7850;)V ARG 1 element + METHOD method_52731 add (Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021; + ARG 1 widget + ARG 2 callback CLASS class_7850 Element CLASS class_7851 DisplayAxis METHOD method_46502 getSameAxisLength (Lnet/minecraft/class_8021;)I diff --git a/mappings/net/minecraft/client/gui/widget/ClickableWidget.mapping b/mappings/net/minecraft/client/gui/widget/ClickableWidget.mapping index 9ab475e426..c465318d1e 100644 --- a/mappings/net/minecraft/client/gui/widget/ClickableWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/ClickableWidget.mapping @@ -17,6 +17,12 @@ CLASS net/minecraft/class_339 net/minecraft/client/gui/widget/ClickableWidget FIELD field_41097 lastHoveredTime J FIELD field_41098 wasHovered Z FIELD field_42116 navigationOrder I + METHOD (IIIILnet/minecraft/class_2561;)V + ARG 1 x + ARG 2 y + ARG 3 width + ARG 4 height + ARG 5 message METHOD method_25348 onClick (DD)V ARG 1 mouseX ARG 3 mouseY diff --git a/mappings/net/minecraft/client/gui/widget/DirectionalLayoutWidget.mapping b/mappings/net/minecraft/client/gui/widget/DirectionalLayoutWidget.mapping new file mode 100644 index 0000000000..3e98a23910 --- /dev/null +++ b/mappings/net/minecraft/client/gui/widget/DirectionalLayoutWidget.mapping @@ -0,0 +1,39 @@ +CLASS net/minecraft/class_8667 net/minecraft/client/gui/widget/DirectionalLayoutWidget + COMMENT A widget implementing one-directional layout. The elements can be + COMMENT positioned either horizontally or vertically. + COMMENT + COMMENT

Use {@link AxisGridWidget} to allow multiple elements per row or column. + COMMENT + COMMENT @see AxisGridWidget + FIELD field_45400 grid Lnet/minecraft/class_7845; + FIELD field_45401 axis Lnet/minecraft/class_8667$class_8668; + FIELD field_45402 currentIndex I + METHOD (IILnet/minecraft/class_8667$class_8668;)V + ARG 1 x + ARG 2 y + ARG 3 axis + METHOD (Lnet/minecraft/class_8667$class_8668;)V + ARG 1 axis + METHOD method_52735 spacing (I)Lnet/minecraft/class_8667; + ARG 1 spacing + METHOD method_52736 add (Lnet/minecraft/class_8021;)Lnet/minecraft/class_8021; + ARG 1 widget + METHOD method_52737 add (Lnet/minecraft/class_8021;Lnet/minecraft/class_7847;)Lnet/minecraft/class_8021; + ARG 1 widget + ARG 2 positioner + METHOD method_52738 add (Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021; + ARG 1 widget + ARG 2 callback + METHOD method_52739 copyPositioner ()Lnet/minecraft/class_7847; + METHOD method_52740 getMainPositioner ()Lnet/minecraft/class_7847; + METHOD method_52741 vertical ()Lnet/minecraft/class_8667; + METHOD method_52742 horizontal ()Lnet/minecraft/class_8667; + CLASS class_8668 DisplayAxis + METHOD method_52744 setSpacing (Lnet/minecraft/class_7845;I)V + ARG 1 grid + ARG 2 spacing + METHOD method_52745 add (Lnet/minecraft/class_7845;Lnet/minecraft/class_8021;ILnet/minecraft/class_7847;)Lnet/minecraft/class_8021; + ARG 1 grid + ARG 2 widget + ARG 3 index + ARG 4 positioner diff --git a/mappings/net/minecraft/client/gui/widget/EditBoxWidget.mapping b/mappings/net/minecraft/client/gui/widget/EditBoxWidget.mapping index 46ff0d413e..9169098bc9 100644 --- a/mappings/net/minecraft/client/gui/widget/EditBoxWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/EditBoxWidget.mapping @@ -12,7 +12,10 @@ CLASS net/minecraft/class_7529 net/minecraft/client/gui/widget/EditBoxWidget COMMENT The placeholder text that gets rendered when the edit box is empty. This does not COMMENT get returned from {@link #getText}; an empty string will be returned in such cases. FIELD field_39509 editBox Lnet/minecraft/class_7530; + FIELD field_45363 CURSOR_BLINK_INTERVAL I + FIELD field_45364 lastSwitchFocusTime J METHOD (Lnet/minecraft/class_327;IIIILnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V + ARG 1 textRenderer ARG 2 x ARG 3 y ARG 4 width diff --git a/mappings/net/minecraft/client/gui/widget/GridWidget.mapping b/mappings/net/minecraft/client/gui/widget/GridWidget.mapping index bdd27d06a2..9e173add05 100644 --- a/mappings/net/minecraft/client/gui/widget/GridWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/GridWidget.mapping @@ -42,6 +42,18 @@ CLASS net/minecraft/class_7845 net/minecraft/client/gui/widget/GridWidget ARG 1 rowSpacing METHOD method_48637 setSpacing (I)Lnet/minecraft/class_7845; ARG 1 spacing + METHOD method_52733 add (Lnet/minecraft/class_8021;IIIILjava/util/function/Consumer;)Lnet/minecraft/class_8021; + ARG 1 widget + ARG 2 row + ARG 3 column + ARG 4 occupiedBelow + ARG 5 occupiedAbove + ARG 6 callback + METHOD method_52734 add (Lnet/minecraft/class_8021;IILjava/util/function/Consumer;)Lnet/minecraft/class_8021; + ARG 1 widget + ARG 2 row + ARG 3 column + ARG 4 callback CLASS class_7846 Element FIELD field_40774 row I FIELD field_40775 column I diff --git a/mappings/net/minecraft/client/gui/widget/IconWidget.mapping b/mappings/net/minecraft/client/gui/widget/IconWidget.mapping index 7e50b3aeb1..83a3e1f9ed 100644 --- a/mappings/net/minecraft/client/gui/widget/IconWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/IconWidget.mapping @@ -4,17 +4,17 @@ CLASS net/minecraft/class_8208 net/minecraft/client/gui/widget/IconWidget ARG 2 y ARG 3 width ARG 4 height - METHOD method_52720 (IILnet/minecraft/class_2960;)Lnet/minecraft/class_8208; + METHOD method_52720 create (IILnet/minecraft/class_2960;)Lnet/minecraft/class_8208; ARG 0 width ARG 1 height ARG 2 texture - METHOD method_52721 (IILnet/minecraft/class_2960;II)Lnet/minecraft/class_8208; + METHOD method_52721 create (IILnet/minecraft/class_2960;II)Lnet/minecraft/class_8208; ARG 0 width ARG 1 height ARG 2 texture ARG 3 textureWidth ARG 4 textureHeight - CLASS class_8659 + CLASS class_8659 Simple FIELD field_45357 texture Lnet/minecraft/class_2960; METHOD (IIIILnet/minecraft/class_2960;)V ARG 1 x @@ -22,7 +22,7 @@ CLASS net/minecraft/class_8208 net/minecraft/client/gui/widget/IconWidget ARG 3 width ARG 4 height ARG 5 texture - CLASS class_8660 + CLASS class_8660 Texture FIELD field_45358 texture Lnet/minecraft/class_2960; FIELD field_45359 textureWidth I FIELD field_45360 textureHeight I diff --git a/mappings/net/minecraft/client/gui/widget/NarratedMultilineTextWidget.mapping b/mappings/net/minecraft/client/gui/widget/NarratedMultilineTextWidget.mapping index e7b1b0b085..13dfe30416 100644 --- a/mappings/net/minecraft/client/gui/widget/NarratedMultilineTextWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/NarratedMultilineTextWidget.mapping @@ -1,5 +1,13 @@ CLASS net/minecraft/class_8019 net/minecraft/client/gui/widget/NarratedMultilineTextWidget FIELD field_41801 BACKGROUND_COLOR I FIELD field_41802 EXPANSION I + FIELD field_45355 alwaysShowBorders Z + METHOD (ILnet/minecraft/class_2561;Lnet/minecraft/class_327;)V + ARG 1 maxWidth + ARG 2 message + ARG 3 textRenderer METHOD (ILnet/minecraft/class_2561;Lnet/minecraft/class_327;Z)V - ARG 2 text + ARG 1 maxWidth + ARG 2 message + ARG 3 textRenderer + ARG 4 alwaysShowBorders diff --git a/mappings/net/minecraft/client/gui/widget/SimplePositioningWidget.mapping b/mappings/net/minecraft/client/gui/widget/SimplePositioningWidget.mapping index 8dfcd194b5..4f34ab8b22 100644 --- a/mappings/net/minecraft/client/gui/widget/SimplePositioningWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/SimplePositioningWidget.mapping @@ -53,4 +53,7 @@ CLASS net/minecraft/class_7843 net/minecraft/client/gui/widget/SimplePositioning ARG 1 rect ARG 2 relativeX ARG 3 relativeY + METHOD method_52732 add (Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021; + ARG 1 widget + ARG 2 callback CLASS class_7844 Element diff --git a/mappings/net/minecraft/client/gui/widget/TextFieldWidget.mapping b/mappings/net/minecraft/client/gui/widget/TextFieldWidget.mapping index edf2e7405c..0392e2ee58 100644 --- a/mappings/net/minecraft/client/gui/widget/TextFieldWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/TextFieldWidget.mapping @@ -21,6 +21,7 @@ CLASS net/minecraft/class_342 net/minecraft/client/gui/widget/TextFieldWidget FIELD field_32202 BORDER_COLOR I FIELD field_32203 BACKGROUND_COLOR I FIELD field_41100 placeholder Lnet/minecraft/class_2561; + FIELD field_45352 lastSwitchFocusTime J METHOD (Lnet/minecraft/class_327;IIIILnet/minecraft/class_2561;)V ARG 1 textRenderer ARG 2 x @@ -29,12 +30,18 @@ CLASS net/minecraft/class_342 net/minecraft/client/gui/widget/TextFieldWidget ARG 5 height ARG 6 text METHOD (Lnet/minecraft/class_327;IIIILnet/minecraft/class_342;Lnet/minecraft/class_2561;)V + ARG 1 textRenderer ARG 2 x ARG 3 y ARG 4 width ARG 5 height ARG 6 copyFrom ARG 7 text + METHOD (Lnet/minecraft/class_327;IILnet/minecraft/class_2561;)V + ARG 1 textRenderer + ARG 2 width + ARG 3 height + ARG 4 text METHOD method_16873 erase (I)V ARG 1 offset METHOD method_1851 drawsBackground ()Z @@ -46,6 +53,7 @@ CLASS net/minecraft/class_342 net/minecraft/client/gui/widget/TextFieldWidget ARG 1 renderTextProvider METHOD method_1855 moveCursor (IZ)V ARG 1 offset + ARG 2 shiftKeyPressed METHOD method_1856 setFocusUnlocked (Z)V ARG 1 focusUnlocked METHOD method_1858 setDrawsBackground (Z)V @@ -71,7 +79,9 @@ CLASS net/minecraft/class_342 net/minecraft/client/gui/widget/TextFieldWidget ARG 1 wordOffset ARG 2 cursorPosition METHOD method_1870 setCursorToStart (Z)V + ARG 1 shiftKeyPressed METHOD method_1872 setCursorToEnd (Z)V + ARG 1 shiftKeyPressed METHOD method_1873 (Ljava/lang/String;Ljava/lang/Integer;)Lnet/minecraft/class_5481; ARG 0 string ARG 1 firstCharacterIndex @@ -89,6 +99,7 @@ CLASS net/minecraft/class_342 net/minecraft/client/gui/widget/TextFieldWidget METHOD method_1882 getText ()Ljava/lang/String; METHOD method_1883 setCursor (IZ)V ARG 1 cursor + ARG 2 shiftKeyPressed METHOD method_1884 setSelectionEnd (I)V ARG 1 index METHOD method_1885 isVisible ()Z @@ -112,3 +123,5 @@ CLASS net/minecraft/class_342 net/minecraft/client/gui/widget/TextFieldWidget ARG 1 offset METHOD method_47404 setPlaceholder (Lnet/minecraft/class_2561;)V ARG 1 placeholder + METHOD method_52719 updateFirstCharacterIndex (I)V + ARG 1 cursor diff --git a/mappings/net/minecraft/client/gui/widget/TextIconButtonWidget.mapping b/mappings/net/minecraft/client/gui/widget/TextIconButtonWidget.mapping new file mode 100644 index 0000000000..bcd4e240e1 --- /dev/null +++ b/mappings/net/minecraft/client/gui/widget/TextIconButtonWidget.mapping @@ -0,0 +1,44 @@ +CLASS net/minecraft/class_8662 net/minecraft/client/gui/widget/TextIconButtonWidget + COMMENT A button with an icon and an optional text. + COMMENT + COMMENT @see ButtonWidget + FIELD field_45379 texture Lnet/minecraft/class_2960; + FIELD field_45380 textureWidth I + FIELD field_45381 textureHeight I + METHOD (IILnet/minecraft/class_2561;IILnet/minecraft/class_2960;Lnet/minecraft/class_4185$class_4241;)V + ARG 1 width + ARG 2 height + ARG 3 message + ARG 4 textureWidth + ARG 5 textureHeight + ARG 6 texture + ARG 7 onPress + METHOD method_52723 builder (Lnet/minecraft/class_2561;Lnet/minecraft/class_4185$class_4241;Z)Lnet/minecraft/class_8662$class_8663; + ARG 0 text + ARG 1 onPress + ARG 2 hideLabel + CLASS class_8663 Builder + FIELD field_45382 text Lnet/minecraft/class_2561; + FIELD field_45383 onPress Lnet/minecraft/class_4185$class_4241; + FIELD field_45384 hideText Z + FIELD field_45385 width I + FIELD field_45386 height I + FIELD field_45387 texture Lnet/minecraft/class_2960; + FIELD field_45388 textureWidth I + FIELD field_45389 textureHeight I + METHOD (Lnet/minecraft/class_2561;Lnet/minecraft/class_4185$class_4241;Z)V + ARG 1 text + ARG 2 onPress + ARG 3 hideText + METHOD method_52724 build ()Lnet/minecraft/class_8662; + METHOD method_52725 width (I)Lnet/minecraft/class_8662$class_8663; + ARG 1 width + METHOD method_52726 dimension (II)Lnet/minecraft/class_8662$class_8663; + ARG 1 width + ARG 2 height + METHOD method_52727 texture (Lnet/minecraft/class_2960;II)Lnet/minecraft/class_8662$class_8663; + ARG 1 texture + ARG 2 width + ARG 3 height + CLASS class_8664 IconOnly + CLASS class_8665 WithText diff --git a/mappings/net/minecraft/client/gui/widget/TextWidget.mapping b/mappings/net/minecraft/client/gui/widget/TextWidget.mapping index b814962315..d5c6199ffe 100644 --- a/mappings/net/minecraft/client/gui/widget/TextWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/TextWidget.mapping @@ -22,3 +22,6 @@ CLASS net/minecraft/class_7842 net/minecraft/client/gui/widget/TextWidget METHOD method_48598 align (F)Lnet/minecraft/class_7842; ARG 1 horizontalAlignment METHOD method_48599 alignRight ()Lnet/minecraft/class_7842; + METHOD method_52728 trim (Lnet/minecraft/class_2561;I)Lnet/minecraft/class_5481; + ARG 1 text + ARG 2 width diff --git a/mappings/net/minecraft/client/gui/widget/ThreePartsLayoutWidget.mapping b/mappings/net/minecraft/client/gui/widget/ThreePartsLayoutWidget.mapping index 562f9d7262..4b12b14516 100644 --- a/mappings/net/minecraft/client/gui/widget/ThreePartsLayoutWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/ThreePartsLayoutWidget.mapping @@ -22,6 +22,7 @@ CLASS net/minecraft/class_8132 net/minecraft/client/gui/widget/ThreePartsLayoutW ARG 1 widget METHOD method_48993 addHeader (Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021; ARG 1 widget + ARG 2 callback METHOD method_48994 getFooterHeight ()I METHOD method_48995 setHeaderHeight (I)V ARG 1 headerHeight @@ -29,8 +30,10 @@ CLASS net/minecraft/class_8132 net/minecraft/client/gui/widget/ThreePartsLayoutW ARG 1 widget METHOD method_48997 addFooter (Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021; ARG 1 widget + ARG 2 callback METHOD method_48998 getHeaderHeight ()I METHOD method_48999 addBody (Lnet/minecraft/class_8021;)Lnet/minecraft/class_8021; ARG 1 widget METHOD method_49000 addBody (Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021; ARG 1 widget + ARG 2 callback diff --git a/mappings/net/minecraft/client/realms/gui/RealmsLoadingWidget.mapping b/mappings/net/minecraft/client/realms/gui/RealmsLoadingWidget.mapping new file mode 100644 index 0000000000..339e38fe11 --- /dev/null +++ b/mappings/net/minecraft/client/realms/gui/RealmsLoadingWidget.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/class_8661 net/minecraft/client/realms/gui/RealmsLoadingWidget + FIELD field_45361 textRenderer Lnet/minecraft/class_327; + METHOD (Lnet/minecraft/class_327;Lnet/minecraft/class_2561;)V + ARG 1 textRenderer + ARG 2 message diff --git a/mappings/net/minecraft/client/realms/gui/screen/BuyRealmsScreen.mapping b/mappings/net/minecraft/client/realms/gui/screen/BuyRealmsScreen.mapping new file mode 100644 index 0000000000..82d03d21dc --- /dev/null +++ b/mappings/net/minecraft/client/realms/gui/screen/BuyRealmsScreen.mapping @@ -0,0 +1,38 @@ +CLASS net/minecraft/class_8656 net/minecraft/client/realms/gui/screen/BuyRealmsScreen + FIELD field_45267 realmsImages Ljava/util/List; + FIELD field_45268 parent Lnet/minecraft/class_437; + FIELD field_45269 trialAvailable Z + FIELD field_45270 trialButton Lnet/minecraft/class_4185; + FIELD field_45271 realmsImageIndex I + FIELD field_45272 realmsImageDisplayTime I + FIELD field_45273 POPUP_TEXT Lnet/minecraft/class_2561; + FIELD field_45274 CLOSE_TEXT Lnet/minecraft/class_2561; + FIELD field_45275 POPUP_BACKGROUND_TEXTURE Lnet/minecraft/class_2960; + FIELD field_45276 TRIAL_AVAILABLE_TEXTURE Lnet/minecraft/class_2960; + FIELD field_45277 CROSS_BUTTON_TEXTURES Lnet/minecraft/class_8666; + METHOD (Lnet/minecraft/class_437;Z)V + ARG 1 parent + ARG 2 trialAvailable + METHOD method_52680 getLeft ()I + METHOD method_52681 getTop ()I + METHOD method_52682 getRight ()I + METHOD method_52683 getBottom ()I + METHOD method_52684 (Lnet/minecraft/class_2960;)Z + ARG 0 id + METHOD method_52685 refreshImages (Lnet/minecraft/class_3300;)V + ARG 0 resourceManager + METHOD method_52686 drawTrialAvailableTexture (Lnet/minecraft/class_332;Lnet/minecraft/class_4185;)V + ARG 0 context + ARG 1 button + METHOD method_52687 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52688 (Lnet/minecraft/class_2960;)Z + ARG 0 id + METHOD method_52689 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52690 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52691 (Z)V + ARG 1 confirmed + METHOD method_52692 (Z)V + ARG 1 confirmed diff --git a/mappings/net/minecraft/client/realms/gui/screen/RealmsClientOutdatedScreen.mapping b/mappings/net/minecraft/client/realms/gui/screen/RealmsClientIncompatibleScreen.mapping similarity index 93% rename from mappings/net/minecraft/client/realms/gui/screen/RealmsClientOutdatedScreen.mapping rename to mappings/net/minecraft/client/realms/gui/screen/RealmsClientIncompatibleScreen.mapping index b9beb51e71..b290626046 100644 --- a/mappings/net/minecraft/client/realms/gui/screen/RealmsClientOutdatedScreen.mapping +++ b/mappings/net/minecraft/client/realms/gui/screen/RealmsClientIncompatibleScreen.mapping @@ -1,4 +1,4 @@ -CLASS net/minecraft/class_4387 net/minecraft/client/realms/gui/screen/RealmsClientOutdatedScreen +CLASS net/minecraft/class_4387 net/minecraft/client/realms/gui/screen/RealmsClientIncompatibleScreen FIELD field_19787 parent Lnet/minecraft/class_437; FIELD field_26477 INCOMPATIBLE_TITLE Lnet/minecraft/class_2561; FIELD field_26478 INCOMPATIBLE_LINES [Lnet/minecraft/class_2561; diff --git a/mappings/net/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen.mapping b/mappings/net/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen.mapping index 1df66012db..da71d02283 100644 --- a/mappings/net/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen.mapping +++ b/mappings/net/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen.mapping @@ -5,8 +5,20 @@ CLASS net/minecraft/class_4390 net/minecraft/client/realms/gui/screen/RealmsCrea FIELD field_19832 descriptionBox Lnet/minecraft/class_342; FIELD field_26487 WORLD_NAME_TEXT Lnet/minecraft/class_2561; FIELD field_26488 WORLD_DESCRIPTION_TEXT Lnet/minecraft/class_2561; + FIELD field_45242 layout Lnet/minecraft/class_8132; METHOD (Lnet/minecraft/class_4877;Lnet/minecraft/class_4325;)V + ARG 1 server ARG 2 parent METHOD method_21245 createWorld ()V METHOD method_25155 (Lnet/minecraft/class_4185;)V ARG 1 button + METHOD method_52665 (Lnet/minecraft/class_4390;Lnet/minecraft/class_364;)V + ARG 1 child + METHOD method_52666 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52667 (Lnet/minecraft/class_4185;Ljava/lang/String;)V + ARG 1 name + METHOD method_52668 (Lnet/minecraft/class_7847;)V + ARG 0 positioner + METHOD method_52669 (Lnet/minecraft/class_7847;)V + ARG 0 positioner diff --git a/mappings/net/minecraft/client/realms/gui/screen/RealmsMainScreen.mapping b/mappings/net/minecraft/client/realms/gui/screen/RealmsMainScreen.mapping index 72700148c4..e5ad47d861 100644 --- a/mappings/net/minecraft/client/realms/gui/screen/RealmsMainScreen.mapping +++ b/mappings/net/minecraft/client/realms/gui/screen/RealmsMainScreen.mapping @@ -42,6 +42,16 @@ CLASS net/minecraft/class_4325 net/minecraft/client/realms/gui/screen/RealmsMain FIELD field_45199 NO_PENDING_TOOLTIP Lnet/minecraft/class_7919; FIELD field_45200 PENDING_TOOLTIP Lnet/minecraft/class_7919; FIELD field_45201 INFO_ICON_TEXTURE Lnet/minecraft/class_2960; + FIELD field_45202 hasUnreadNews Z + FIELD field_45203 newsLink Ljava/lang/String; + FIELD field_45204 purchaseButton Lnet/minecraft/class_4185; + FIELD field_45205 inviteButton Lnet/minecraft/class_4325$class_8651; + FIELD field_45206 newsButton Lnet/minecraft/class_4325$class_8651; + FIELD field_45207 loadStatus Lnet/minecraft/class_4325$class_8650; + FIELD field_45208 layout Lnet/minecraft/class_8132; + FIELD field_45213 availabilityInfo Ljava/util/concurrent/CompletableFuture; + FIELD field_45214 periodicRunnersManager Lnet/minecraft/class_7581$class_7584; + FIELD field_45215 playButton Lnet/minecraft/class_4185; FIELD field_45216 NEW_REALM_ICON_TEXTURE Lnet/minecraft/class_2960; FIELD field_45217 EXPIRED_STATUS_TEXTURE Lnet/minecraft/class_2960; FIELD field_45218 EXPIRES_SOON_STATUS_TEXTURE Lnet/minecraft/class_2960; @@ -141,6 +151,44 @@ CLASS net/minecraft/class_4325 net/minecraft/client/realms/gui/screen/RealmsMain ARG 2 void_ METHOD method_49561 (Ljava/util/List;)V ARG 1 notifications + METHOD method_52630 makeHeader ()Lnet/minecraft/class_8133; + METHOD method_52631 makeNoRealmsLayout ()Lnet/minecraft/class_8667; + METHOD method_52632 refreshButtons ()V + METHOD method_52633 showBuyRealmsScreen ()V + METHOD method_52634 (Lnet/minecraft/class_8647$class_8648;)V + ARG 1 availabilityInfo + METHOD method_52635 onLoadStatusChange (Lnet/minecraft/class_4325$class_8650;)V + ARG 1 loadStatus + METHOD method_52636 (Lnet/minecraft/class_4325;Lnet/minecraft/class_364;)V + ARG 1 child + METHOD method_52637 drawEnvironmentText (Lnet/minecraft/class_332;Ljava/lang/String;I)V + ARG 1 context + ARG 2 text + ARG 3 color + METHOD method_52638 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52639 (Ljava/lang/Boolean;)V + ARG 1 trialAvailable + METHOD method_52640 (Lnet/minecraft/class_2561;Lnet/minecraft/class_4185;)V + ARG 2 button + METHOD method_52641 makeLayoutFor (Lnet/minecraft/class_4325$class_8650;)Lnet/minecraft/class_8132; + ARG 1 loadStatus + METHOD method_52642 (Lnet/minecraft/class_4325;Lnet/minecraft/class_364;)V + ARG 1 child + METHOD method_52643 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52644 makeInnerLayout (Lnet/minecraft/class_4325$class_8650;)Lnet/minecraft/class_8133; + ARG 1 loadStatus + METHOD method_52645 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52646 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52647 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52648 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_52649 (Lnet/minecraft/class_4185;)V + ARG 1 button CLASS class_4329 RealmSelectionList CLASS class_4330 RealmSelectionListEntry FIELD field_19518 server Lnet/minecraft/class_4877; @@ -169,6 +217,8 @@ CLASS net/minecraft/class_4325 net/minecraft/client/realms/gui/screen/RealmsMain ARG 6 mouseY ARG 7 xOffset ARG 8 yOffset + METHOD method_52653 play ()V + METHOD method_52654 createRealm ()V CLASS class_4866 Entry METHOD method_38506 getRealmsServer ()Lnet/minecraft/class_4877; CLASS class_8200 VisitButtonEntry @@ -177,6 +227,10 @@ CLASS net/minecraft/class_4325 net/minecraft/client/realms/gui/screen/RealmsMain METHOD (Lnet/minecraft/class_4325;Lnet/minecraft/class_4185;)V ARG 2 button CLASS class_8201 CrossButton + FIELD field_45222 TEXTURES Lnet/minecraft/class_8666; + METHOD (Lnet/minecraft/class_4185$class_4241;Lnet/minecraft/class_2561;)V + ARG 1 onPress + ARG 2 tooltip CLASS class_8202 VisitUrlNotification FIELD field_43005 message Lnet/minecraft/class_2561; FIELD field_43006 gridChildren Ljava/util/List; @@ -199,3 +253,17 @@ CLASS net/minecraft/class_4325 net/minecraft/client/realms/gui/screen/RealmsMain CLASS class_8203 Request METHOD request (Lnet/minecraft/class_4341;)Ljava/lang/Object; ARG 1 client + CLASS class_8650 LoadStatus + CLASS class_8651 NotificationButtonWidget + FIELD field_45227 TEXTURES [Lnet/minecraft/class_2960; + FIELD field_45229 SIZE I + FIELD field_45230 TEXTURE_SIZE I + FIELD field_45231 notificationCount I + METHOD (Lnet/minecraft/class_2561;Lnet/minecraft/class_2960;Lnet/minecraft/class_4185$class_4241;)V + ARG 1 message + ARG 2 texture + ARG 3 onPress + METHOD method_52651 setNotificationCount (I)V + ARG 1 notificationCount + METHOD method_52652 render (Lnet/minecraft/class_332;)V + ARG 1 context diff --git a/mappings/net/minecraft/client/realms/gui/screen/RealmsNotificationsScreen.mapping b/mappings/net/minecraft/client/realms/gui/screen/RealmsNotificationsScreen.mapping index 5fe0e3da22..557bf7694d 100644 --- a/mappings/net/minecraft/client/realms/gui/screen/RealmsNotificationsScreen.mapping +++ b/mappings/net/minecraft/client/realms/gui/screen/RealmsNotificationsScreen.mapping @@ -31,6 +31,8 @@ CLASS net/minecraft/class_4399 net/minecraft/client/realms/gui/screen/RealmsNoti ARG 2 manager METHOD method_49591 (Ljava/util/List;)V ARG 0 notifications + METHOD method_52670 (Lnet/minecraft/class_8647$class_8648;)Ljava/lang/Boolean; + ARG 0 info CLASS class_8207 NotificationRunnersFactory METHOD method_49592 isNews ()Z METHOD method_49593 createPeriodicRunnersManager (Lnet/minecraft/class_7578;)Lnet/minecraft/class_7581$class_7584; diff --git a/mappings/net/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen.mapping b/mappings/net/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen.mapping index ba52eb0490..07fbfe51cf 100644 --- a/mappings/net/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen.mapping +++ b/mappings/net/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen.mapping @@ -11,6 +11,7 @@ CLASS net/minecraft/class_4401 net/minecraft/client/realms/gui/screen/RealmsPend FIELD field_26493 NO_PENDING_TEXT Lnet/minecraft/class_2561; FIELD field_26494 ACCEPT_TEXT Lnet/minecraft/class_2561; FIELD field_26495 REJECT_TEXT Lnet/minecraft/class_2561; + FIELD field_45249 pendingInvites Ljava/util/concurrent/CompletableFuture; FIELD field_45250 ACCEPT_HIGHLIGHTED_ICON_TEXTURE Lnet/minecraft/class_2960; FIELD field_45251 REJECT_HIGHLIGHTED_ICON_TEXTURE Lnet/minecraft/class_2960; METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_2561;)V @@ -25,6 +26,15 @@ CLASS net/minecraft/class_4401 net/minecraft/client/realms/gui/screen/RealmsPend ARG 1 button METHOD method_25179 (Lnet/minecraft/class_4185;)V ARG 1 button + METHOD method_52672 handle (IZ)V + ARG 1 index + ARG 2 accepted + METHOD method_52673 (IZLjava/lang/Boolean;)V + ARG 3 result + METHOD method_52674 (Lnet/minecraft/class_4871;)Lnet/minecraft/class_4401$class_4403; + ARG 1 invite + METHOD method_52679 (Ljava/util/List;)V + ARG 1 pendingInvites CLASS class_4402 PendingInvitationSelectionList METHOD method_21321 removeAtIndex (I)V ARG 1 index diff --git a/mappings/net/minecraft/client/realms/gui/screen/RealmsPlayerScreen.mapping b/mappings/net/minecraft/client/realms/gui/screen/RealmsPlayerScreen.mapping index b483b36fbc..fa9db5e6b8 100644 --- a/mappings/net/minecraft/client/realms/gui/screen/RealmsPlayerScreen.mapping +++ b/mappings/net/minecraft/client/realms/gui/screen/RealmsPlayerScreen.mapping @@ -51,6 +51,9 @@ CLASS net/minecraft/class_4406 net/minecraft/client/realms/gui/screen/RealmsPlay FIELD field_44536 uninviteButton Lnet/minecraft/class_344; FIELD field_44537 opButton Lnet/minecraft/class_344; FIELD field_44538 deopButton Lnet/minecraft/class_344; + FIELD field_45252 REMOVE_PLAYER_TEXTURES Lnet/minecraft/class_8666; + FIELD field_45253 MAKE_OPERATOR_TEXTURES Lnet/minecraft/class_8666; + FIELD field_45254 REMOVE_OPERATOR_TEXTURES Lnet/minecraft/class_8666; METHOD (Lnet/minecraft/class_4406;Lnet/minecraft/class_4874;)V ARG 2 playerInfo METHOD method_51245 (ILnet/minecraft/class_332;IIFLnet/minecraft/class_339;)V diff --git a/mappings/net/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen.mapping b/mappings/net/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen.mapping index 2f6378abcf..e1a9cf1baa 100644 --- a/mappings/net/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen.mapping +++ b/mappings/net/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen.mapping @@ -5,6 +5,7 @@ CLASS net/minecraft/class_4409 net/minecraft/client/realms/gui/screen/RealmsRese FIELD field_27938 callback Ljava/util/function/Consumer; FIELD field_27939 generatorType Lnet/minecraft/class_5672; FIELD field_27940 mapFeatures Z + FIELD field_45280 layout Lnet/minecraft/class_8132; METHOD (Ljava/util/function/Consumer;Lnet/minecraft/class_2561;)V ARG 1 callback ARG 2 parentTitle @@ -18,3 +19,8 @@ CLASS net/minecraft/class_4409 net/minecraft/client/realms/gui/screen/RealmsRese METHOD method_32487 (Lnet/minecraft/class_5676;Ljava/lang/Boolean;)V ARG 1 button ARG 2 mapFeatures + METHOD method_52693 createResetWorldInfo ()Lnet/minecraft/class_4413; + METHOD method_52694 (Lnet/minecraft/class_4409;Lnet/minecraft/class_364;)V + ARG 1 child + METHOD method_52695 (Lnet/minecraft/class_7847;)V + ARG 0 positioner