diff --git a/mappings/net/minecraft/client/MinecraftClient.mapping b/mappings/net/minecraft/client/MinecraftClient.mapping index 2b1f929f1c..1e261e19a3 100644 --- a/mappings/net/minecraft/client/MinecraftClient.mapping +++ b/mappings/net/minecraft/client/MinecraftClient.mapping @@ -48,6 +48,7 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient FIELD field_1_3293 updateSurface Z FIELD field_1_3869 worldExtractor Lnet/minecraft/class_1_816; FIELD field_1_6364 friendListManager Lnet/minecraft/class_1_1004; + FIELD field_1_7135 monitorTracker Lnet/minecraft/class_323; FIELD field_1687 world Lnet/minecraft/class_638; COMMENT Represents the world the client is currently viewing. COMMENT This field is not null when in game. @@ -201,6 +202,14 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient METHOD method_1_5471 preloadDefaultShaders ()V METHOD method_1_6137 addSystemMessage (Lnet/minecraft/class_2561;)V ARG 1 message + METHOD method_1_6369 handleGlobalKeys (Lnet/minecraft/class_3675$class_306;Z)Z + COMMENT Handles key bindings that can be activated anywhere. + COMMENT + COMMENT {@return whether a key input was intercepted} + ARG 1 key + ARG 2 hasCtrlOrCmd + METHOD method_1_6370 toggleFriendsScreen ()Z + METHOD method_1_6371 toggleFullscreen ()V METHOD method_1478 getResourceManager ()Lnet/minecraft/class_3300; METHOD method_1479 getResourcePackDir ()Ljava/nio/file/Path; METHOD method_1481 joinWorld (Lnet/minecraft/class_638;)V diff --git a/mappings/net/minecraft/client/friend/InvitationManager.mapping b/mappings/net/minecraft/client/friend/InvitationManager.mapping index d66f212ec9..f88472466c 100644 --- a/mappings/net/minecraft/client/friend/InvitationManager.mapping +++ b/mappings/net/minecraft/client/friend/InvitationManager.mapping @@ -5,6 +5,7 @@ CLASS net/minecraft/class_1_951 net/minecraft/client/friend/InvitationManager FIELD field_1_6634 presenceResponse Lcom/mojang/authlib/yggdrasil/response/PresenceResponse; FIELD field_1_6636 client Lnet/minecraft/class_310; FIELD field_1_6638 dirty Z + FIELD field_1_7149 UPDATE_INTERVAL_MULTIPLIER_WHEN_NOT_DIRTY J METHOD (Lnet/minecraft/class_310;Lcom/mojang/authlib/yggdrasil/FriendsService;)V ARG 1 client ARG 2 friendsService diff --git a/mappings/net/minecraft/client/friend/gui/screen/FriendsScreen.mapping b/mappings/net/minecraft/client/friend/gui/screen/FriendsScreen.mapping index 322c74a51a..9625a940be 100644 --- a/mappings/net/minecraft/client/friend/gui/screen/FriendsScreen.mapping +++ b/mappings/net/minecraft/client/friend/gui/screen/FriendsScreen.mapping @@ -20,6 +20,7 @@ CLASS net/minecraft/class_1_986 net/minecraft/client/friend/gui/screen/FriendsSc FIELD field_1_6815 pendingFriendRequestsTab Lnet/minecraft/class_1_927; FIELD field_1_6816 tabManager Lnet/minecraft/class_8088; FIELD field_1_6817 tabNavigation Lnet/minecraft/class_8089; + FIELD field_1_7154 UNAUTHORIZED_TEXT Lnet/minecraft/class_2561; METHOD (Lnet/minecraft/class_437;)V ARG 1 parent METHOD method_1_5994 unloadTab (Lnet/minecraft/class_8087;)V @@ -49,3 +50,4 @@ CLASS net/minecraft/class_1_986 net/minecraft/client/friend/gui/screen/FriendsSc METHOD method_1_6013 setErrorMessage (Lnet/minecraft/class_2561;)V ARG 1 errorMessage METHOD method_1_6014 update ()V + METHOD method_1_6407 queryPresenceResponse ()V diff --git a/mappings/net/minecraft/client/friend/gui/tab/FriendsTab.mapping b/mappings/net/minecraft/client/friend/gui/tab/FriendsTab.mapping index ae70a04f80..8e1e49cdc5 100644 --- a/mappings/net/minecraft/client/friend/gui/tab/FriendsTab.mapping +++ b/mappings/net/minecraft/client/friend/gui/tab/FriendsTab.mapping @@ -30,3 +30,7 @@ CLASS net/minecraft/class_1_926 net/minecraft/client/friend/gui/tab/FriendsTab METHOD method_1_5639 setFriendWidgets (Ljava/util/List;)V ARG 1 friends METHOD method_1_6358 onSendRequest ()V + METHOD method_1_6394 onPresenceResponse (Lcom/mojang/authlib/yggdrasil/response/PresenceResponse;)V + ARG 1 presenceResponse + METHOD method_1_6395 (Lcom/mojang/authlib/yggdrasil/response/PresenceResponse;Lnet/minecraft/class_339;)V + ARG 1 child diff --git a/mappings/net/minecraft/client/friend/gui/widget/FriendListEntryWidget.mapping b/mappings/net/minecraft/client/friend/gui/widget/FriendListEntryWidget.mapping index bcd49af8b4..17a65fa33a 100644 --- a/mappings/net/minecraft/client/friend/gui/widget/FriendListEntryWidget.mapping +++ b/mappings/net/minecraft/client/friend/gui/widget/FriendListEntryWidget.mapping @@ -6,6 +6,7 @@ CLASS net/minecraft/class_1_1008 net/minecraft/client/friend/gui/widget/FriendLi FIELD field_1_6910 playerName Ljava/lang/String; FIELD field_1_6911 friendsScreen Lnet/minecraft/class_1_986; FIELD field_1_6912 renderPlayerNameHigh Z + FIELD field_1_7158 playerId Ljava/util/UUID; METHOD (Lnet/minecraft/class_310;Lnet/minecraft/class_1_986;IIIILnet/minecraft/class_5520$class_1_980;)V ARG 1 client ARG 2 friendsScreen @@ -29,3 +30,8 @@ CLASS net/minecraft/class_1_1008 net/minecraft/client/friend/gui/widget/FriendLi METHOD method_1_6131 getNarrationUsageText ()Lnet/minecraft/class_2561; METHOD method_1_6132 createNarrationSupplier (Lnet/minecraft/class_2561;)Lnet/minecraft/class_4185$class_7841; ARG 0 text + METHOD method_1_6133 (Lnet/minecraft/class_2561;Ljava/util/function/Supplier;)Lnet/minecraft/class_5250; + ARG 1 textSupplier + METHOD method_1_6413 getPlayerId ()Ljava/util/UUID; + METHOD method_1_6414 removeChild (Lnet/minecraft/class_339;)V + ARG 1 widget diff --git a/mappings/net/minecraft/client/friend/gui/widget/FriendWidget.mapping b/mappings/net/minecraft/client/friend/gui/widget/FriendWidget.mapping index 7a00c6e921..358d1bbc7b 100644 --- a/mappings/net/minecraft/client/friend/gui/widget/FriendWidget.mapping +++ b/mappings/net/minecraft/client/friend/gui/widget/FriendWidget.mapping @@ -6,6 +6,7 @@ CLASS net/minecraft/class_1_929 net/minecraft/client/friend/gui/widget/FriendWid FIELD field_1_6555 presenceStatus Lcom/mojang/authlib/yggdrasil/response/PresenceStatusDto; FIELD field_1_6556 unfriendButton Lnet/minecraft/class_8662; FIELD field_1_6558 presenceStatusText Lnet/minecraft/class_7842; + FIELD field_1_7146 PRESENCE_STATUS_OFFLINE_TEXT Lnet/minecraft/class_2561; METHOD (Lnet/minecraft/class_310;Lnet/minecraft/class_1_986;Lnet/minecraft/class_5520$class_1_980;Lcom/mojang/authlib/yggdrasil/response/PresenceStatusDto;ZLjava/lang/Runnable;)V ARG 1 client ARG 2 friendsScreen @@ -22,3 +23,7 @@ CLASS net/minecraft/class_1_929 net/minecraft/client/friend/gui/widget/FriendWid METHOD method_1_5672 (Ljava/lang/Runnable;Lnet/minecraft/class_4185;)V ARG 2 button METHOD method_1_5676 getSortOrder ()I + METHOD method_1_6396 setPresenceStatus (Lcom/mojang/authlib/yggdrasil/response/PresenceStatusDto;)V + ARG 1 presenceStatus + METHOD method_1_6397 presenceStatusToText (Lcom/mojang/authlib/yggdrasil/response/PresenceStatusDto;)Lnet/minecraft/class_2561; + ARG 0 presenceStatus diff --git a/mappings/net/minecraft/client/gui/screen/OpenToLanScreen.mapping b/mappings/net/minecraft/client/gui/screen/OpenToLanScreen.mapping index 3834ee9481..5c76048094 100644 --- a/mappings/net/minecraft/client/gui/screen/OpenToLanScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/OpenToLanScreen.mapping @@ -44,6 +44,11 @@ CLASS net/minecraft/class_436 net/minecraft/client/gui/screen/OpenToLanScreen METHOD method_1_6262 handlePortFieldError (Lnet/minecraft/class_2561;)V ARG 1 errorText METHOD method_1_6263 onChangeShareSetting ()V + METHOD method_1_6401 (Ljava/lang/Boolean;)Lnet/minecraft/class_7919; + ARG 0 value + METHOD method_1_6402 (Lnet/minecraft/class_5676;Ljava/lang/Boolean;)V + ARG 1 button + ARG 2 value METHOD method_19850 (Lnet/minecraft/class_4185;)V ARG 1 button METHOD method_32638 (Lnet/minecraft/class_5676;Lnet/minecraft/class_1934;)V diff --git a/mappings/net/minecraft/client/gui/screen/option/OnlineOptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/option/OnlineOptionsScreen.mapping index 1920cc7190..a4e09ed390 100644 --- a/mappings/net/minecraft/client/gui/screen/option/OnlineOptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/option/OnlineOptionsScreen.mapping @@ -16,6 +16,7 @@ CLASS net/minecraft/class_6777 net/minecraft/client/gui/screen/option/OnlineOpti FIELD field_1_6784 getInGameNotificationButton Lnet/minecraft/class_5676; FIELD field_1_7020 CONFIRM_MESSAGE_LINK_TEXT Lnet/minecraft/class_2561; FIELD field_1_7021 SERVERS_HEADER_TEXT Lnet/minecraft/class_2561; + FIELD field_1_7153 sharePresenceWidget Lnet/minecraft/class_339; FIELD field_49500 TITLE_TEXT Lnet/minecraft/class_2561; METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V ARG 1 parent @@ -64,3 +65,5 @@ CLASS net/minecraft/class_6777 net/minecraft/client/gui/screen/option/OnlineOpti METHOD method_1_5985 refresh ()V METHOD method_1_6264 (Lnet/minecraft/class_2583;)Lnet/minecraft/class_2583; ARG 0 style + METHOD method_1_6325 (Lnet/minecraft/class_310;Ljava/lang/Runnable;Lnet/minecraft/class_437;Z)V + ARG 3 confirmed diff --git a/mappings/net/minecraft/client/gui/screen/option/WorldOptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/option/WorldOptionsScreen.mapping index 4e4c00c775..2d1133ba74 100644 --- a/mappings/net/minecraft/client/gui/screen/option/WorldOptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/option/WorldOptionsScreen.mapping @@ -6,12 +6,30 @@ CLASS net/minecraft/class_1_125 net/minecraft/client/gui/screen/option/WorldOpti FIELD field_1_1053 layoutWidget Lnet/minecraft/class_8132; FIELD field_1_1970 RESTRICTIONS_SCREEN_BUTTON_TEXT Lnet/minecraft/class_2561; FIELD field_1_2542 difficultySelection Lnet/minecraft/class_1_181; + FIELD field_1_7150 ALLOW_COMMANDS_TEXT Lnet/minecraft/class_2561; + FIELD field_1_7151 GAME_MODE_TEXT Lnet/minecraft/class_2561; METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_1937;)V ARG 1 parent ARG 2 world METHOD method_1_1103 createGameRulesButton ()Lnet/minecraft/class_4185; + METHOD method_1_1106 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_1_1107 (Ljava/util/Optional;)V + ARG 1 ruleSave + METHOD method_1_1108 (Lnet/minecraft/class_4185;)V + ARG 1 button METHOD method_1_1109 (Lnet/minecraft/class_1_125;Lnet/minecraft/class_339;)V ARG 1 child METHOD method_1_2399 createRestrictionsScreenButton ()Lnet/minecraft/class_4185; METHOD method_1_2400 (Lnet/minecraft/class_4185;)V ARG 1 button + METHOD method_1_6403 createAllowCommandsButton (Lnet/minecraft/class_1132;)Lnet/minecraft/class_5676; + ARG 1 server + METHOD method_1_6404 createGameModeButton (Lnet/minecraft/class_1132;)Lnet/minecraft/class_5676; + ARG 1 server + METHOD method_1_6405 (Lnet/minecraft/class_1132;Lnet/minecraft/class_5676;Ljava/lang/Boolean;)V + ARG 1 button + ARG 2 value + METHOD method_1_6406 (Lnet/minecraft/class_1132;Lnet/minecraft/class_5676;Lnet/minecraft/class_1934;)V + ARG 1 button + ARG 2 value diff --git a/mappings/net/minecraft/client/gui/widget/OptionListWidget.mapping b/mappings/net/minecraft/client/gui/widget/OptionListWidget.mapping index 7c2a41ea4f..f7860c0857 100644 --- a/mappings/net/minecraft/client/gui/widget/OptionListWidget.mapping +++ b/mappings/net/minecraft/client/gui/widget/OptionListWidget.mapping @@ -1,9 +1,13 @@ CLASS net/minecraft/class_353 net/minecraft/client/gui/widget/OptionListWidget + FIELD field_49481 WIDGET_ENTRY_WIDTH I + FIELD field_49482 WIDGET_ENTRY_HEIGHT I FIELD field_49483 optionsScreen Lnet/minecraft/class_4667; METHOD (Lnet/minecraft/class_310;ILnet/minecraft/class_4667;)V ARG 1 client ARG 2 width ARG 3 optionsScreen + METHOD method_1_6392 addWidgetEntry (Lnet/minecraft/class_339;)V + ARG 1 widget METHOD method_20406 addSingleOptionEntry (Lnet/minecraft/class_7172;)V ARG 1 option METHOD method_20407 addWidgetEntry (Lnet/minecraft/class_339;Lnet/minecraft/class_339;)V @@ -31,6 +35,9 @@ CLASS net/minecraft/class_353 net/minecraft/client/gui/widget/OptionListWidget METHOD (Ljava/util/List;Lnet/minecraft/class_437;)V ARG 1 widgets ARG 2 screen + METHOD method_1_6393 create (Lnet/minecraft/class_339;Lnet/minecraft/class_437;)Lnet/minecraft/class_353$class_354; + ARG 0 widget + ARG 1 screen METHOD method_20409 create (Lnet/minecraft/class_315;Lnet/minecraft/class_7172;Lnet/minecraft/class_437;)Lnet/minecraft/class_353$class_354; ARG 0 options ARG 1 option diff --git a/mappings/net/minecraft/client/option/KeyBinding.mapping b/mappings/net/minecraft/client/option/KeyBinding.mapping index 1f1a2f02fc..c8e88192c7 100644 --- a/mappings/net/minecraft/client/option/KeyBinding.mapping +++ b/mappings/net/minecraft/client/option/KeyBinding.mapping @@ -25,6 +25,8 @@ CLASS net/minecraft/class_304 net/minecraft/client/option/KeyBinding ARG 5 order METHOD compareTo (Ljava/lang/Object;)I ARG 1 other + METHOD method_1_6372 matchesKey (Lnet/minecraft/class_3675$class_306;)Z + ARG 1 key METHOD method_1415 isUnbound ()Z METHOD method_1416 setKeyPressed (Lnet/minecraft/class_3675$class_306;Z)V ARG 0 key diff --git a/mappings/net/minecraft/client/realms/gui/screen/RealmsBackupScreen.mapping b/mappings/net/minecraft/client/realms/gui/screen/RealmsBackupScreen.mapping index 5a04ce3c31..9f49bba943 100644 --- a/mappings/net/minecraft/client/realms/gui/screen/RealmsBackupScreen.mapping +++ b/mappings/net/minecraft/client/realms/gui/screen/RealmsBackupScreen.mapping @@ -20,8 +20,12 @@ CLASS net/minecraft/class_4381 net/minecraft/client/realms/gui/screen/RealmsBack ARG 2 serverData ARG 3 slotId METHOD method_21166 downloadClicked ()V + METHOD method_25109 (Lnet/minecraft/class_4381;Lnet/minecraft/class_339;)V + ARG 1 child METHOD method_25110 (Lnet/minecraft/class_4185;)V ARG 1 button + METHOD method_25111 (Lnet/minecraft/class_8816;)V + ARG 1 popup METHOD method_25113 (Lnet/minecraft/class_4185;)V ARG 1 button METHOD method_57661 startBackupFetcher ()V @@ -29,6 +33,7 @@ CLASS net/minecraft/class_4381 net/minecraft/client/realms/gui/screen/RealmsBack METHOD method_64845 (Lnet/minecraft/class_4867;)Lnet/minecraft/class_4381$class_4383; ARG 1 backup CLASS class_4382 BackupObjectSelectionList + FIELD field_49450 HEIGHT I CLASS class_4383 BackupObjectSelectionListEntry FIELD field_19761 mBackup Lnet/minecraft/class_4867; FIELD field_44527 buttons Ljava/util/List; @@ -42,6 +47,10 @@ CLASS net/minecraft/class_4381 net/minecraft/client/realms/gui/screen/RealmsBack ARG 1 metadataKey METHOD method_57668 (Lnet/minecraft/class_4185;)V ARG 1 button + METHOD method_57670 (Lnet/minecraft/class_4381;Lnet/minecraft/class_4185;)V + ARG 2 button + METHOD method_57673 (Lnet/minecraft/class_8816;)V + ARG 1 popupScreen METHOD method_57674 restore ()V METHOD method_75913 getNarration (Ljava/util/function/Supplier;)Lnet/minecraft/class_5250; ARG 1 messageSupplier diff --git a/mappings/net/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen.mapping b/mappings/net/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen.mapping index 473d826fc8..b58d3e6b66 100644 --- a/mappings/net/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen.mapping +++ b/mappings/net/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen.mapping @@ -1,4 +1,5 @@ CLASS net/minecraft/class_4388 net/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen + FIELD field_1_7157 subscription Lnet/minecraft/class_4887; FIELD field_19790 LOGGER Lorg/slf4j/Logger; FIELD field_19792 parent Lnet/minecraft/class_4325; FIELD field_19794 serverId J @@ -19,6 +20,14 @@ CLASS net/minecraft/class_4388 net/minecraft/client/realms/gui/screen/RealmsConf ARG 2 serverId ARG 4 server ARG 5 regionDataList + METHOD method_1_6408 fetchSubscription (J)V + ARG 1 serverId + METHOD method_1_6409 (JLnet/minecraft/class_4341;)Lnet/minecraft/class_4887; + ARG 2 client + METHOD method_1_6410 (Lnet/minecraft/class_4355;)V + ARG 1 ex + METHOD method_1_6412 (Lnet/minecraft/class_4887;)V + ARG 1 subscription METHOD method_21198 stateChanged ()V METHOD method_21204 fetchServerData (J)V ARG 1 worldId diff --git a/mappings/net/minecraft/client/realms/util/RealmsUtil.mapping b/mappings/net/minecraft/client/realms/util/RealmsUtil.mapping index 315c5ad19e..abf90825fa 100644 --- a/mappings/net/minecraft/client/realms/util/RealmsUtil.mapping +++ b/mappings/net/minecraft/client/realms/util/RealmsUtil.mapping @@ -7,6 +7,7 @@ CLASS net/minecraft/class_4448 net/minecraft/client/realms/util/RealmsUtil METHOD method_21567 convertToAgePresentation (J)Lnet/minecraft/class_2561; ARG 0 milliseconds METHOD method_25282 convertToAgePresentation (Ljava/time/Instant;)Lnet/minecraft/class_2561; + ARG 0 since METHOD method_48972 drawPlayerHead (Lnet/minecraft/class_332;IIILjava/util/UUID;)V ARG 0 context ARG 1 x diff --git a/mappings/net/minecraft/client/render/WorldExtractor.mapping b/mappings/net/minecraft/client/render/WorldExtractor.mapping index 99e6199dbd..0a45d6b562 100644 --- a/mappings/net/minecraft/client/render/WorldExtractor.mapping +++ b/mappings/net/minecraft/client/render/WorldExtractor.mapping @@ -95,3 +95,9 @@ CLASS net/minecraft/class_1_816 net/minecraft/client/render/WorldExtractor METHOD method_1_5021 getSectionCount ()D METHOD method_1_6240 (Lnet/minecraft/class_631;J)V ARG 2 chunkPos + METHOD method_1_6398 shouldRenderEntity (Lnet/minecraft/class_1297;Lnet/minecraft/class_4604;DDD)Z + ARG 1 entity + ARG 2 frustum + ARG 3 x + ARG 5 y + ARG 7 z diff --git a/mappings/net/minecraft/client/util/Monitor.mapping b/mappings/net/minecraft/client/util/Monitor.mapping index 63f8c8d3fd..4eacb1e8ff 100644 --- a/mappings/net/minecraft/client/util/Monitor.mapping +++ b/mappings/net/minecraft/client/util/Monitor.mapping @@ -4,12 +4,18 @@ CLASS net/minecraft/class_313 net/minecraft/client/util/Monitor FIELD comp_1_897 videoModes Ljava/util/List; FIELD comp_1_898 x I FIELD comp_1_899 y I + FIELD field_1_7140 HEX_FORMAT Ljava/util/HexFormat; + FIELD field_1_7141 LOGGER Lorg/slf4j/Logger; METHOD (Ljava/lang/String;JLjava/util/List;Lnet/minecraft/class_319;II)V ARG 2 handle METHOD comp_1_894 getCurrentVideoMode ()Lnet/minecraft/class_319; METHOD comp_1_895 getHandle ()J METHOD comp_1_898 getViewportX ()I METHOD comp_1_899 getViewportY ()I + METHOD method_1_6374 describeMonitor (J)Ljava/lang/String; + ARG 0 monitor + METHOD method_1_6375 fromPointer (J)Lnet/minecraft/class_313; + ARG 0 monitor METHOD method_1614 findClosestVideoMode (Ljava/util/Optional;)Lnet/minecraft/class_319; ARG 1 videoMode METHOD method_1619 findClosestVideoModeIndex (Lnet/minecraft/class_319;)I diff --git a/mappings/net/minecraft/client/util/MonitorTracker.mapping b/mappings/net/minecraft/client/util/MonitorTracker.mapping index 070d4d8781..a4a874e894 100644 --- a/mappings/net/minecraft/client/util/MonitorTracker.mapping +++ b/mappings/net/minecraft/client/util/MonitorTracker.mapping @@ -6,6 +6,7 @@ CLASS net/minecraft/class_323 net/minecraft/client/util/MonitorTracker METHOD method_1681 getMonitor (Lnet/minecraft/class_1041;)Lnet/minecraft/class_313; ARG 1 window METHOD method_1683 handleMonitorEvent (JI)V + ARG 1 monitor ARG 3 event METHOD method_15991 clamp (III)I ARG 0 value diff --git a/mappings/net/minecraft/client/window/Window.mapping b/mappings/net/minecraft/client/window/Window.mapping index 2cdadcd359..d90010849c 100644 --- a/mappings/net/minecraft/client/window/Window.mapping +++ b/mappings/net/minecraft/client/window/Window.mapping @@ -1,6 +1,7 @@ CLASS net/minecraft/class_1041 net/minecraft/client/window/Window FIELD field_1_2251 backend Lnet/minecraft/class_1_11; FIELD field_1_2592 focused Z + FIELD field_1_7137 exclusiveFullscreen Z FIELD field_5174 windowedWidth I FIELD field_5175 windowedX I FIELD field_5176 eventHandler Lnet/minecraft/class_3678; @@ -35,7 +36,9 @@ CLASS net/minecraft/class_1041 net/minecraft/client/window/Window ARG 1 eventHandler ARG 2 settings ARG 3 fullscreenVideoMode + ARG 4 exclusiveFullscreen ARG 5 title + ARG 6 monitorTracker ARG 7 backend METHOD method_1_2661 getBackend ()Lnet/minecraft/class_1_11; METHOD method_1_2662 createHandle (IILjava/lang/String;JLnet/minecraft/class_1_11;)J @@ -54,6 +57,7 @@ CLASS net/minecraft/class_1041 net/minecraft/client/window/Window METHOD method_1_3099 clampToPositive (I)I ARG 0 x METHOD method_1_3138 isFocused ()Z + METHOD method_1_6373 shouldReserveOneRow ()Z METHOD method_4474 setPhase (Ljava/lang/String;)V ARG 1 phase METHOD method_4475 applyFullscreenVideoMode ()V diff --git a/mappings/net/minecraft/item/SimpleItemStackView.mapping b/mappings/net/minecraft/item/SimpleItemStackView.mapping index 139d11c00f..4c214e8618 100644 --- a/mappings/net/minecraft/item/SimpleItemStackView.mapping +++ b/mappings/net/minecraft/item/SimpleItemStackView.mapping @@ -31,3 +31,5 @@ CLASS net/minecraft/class_1_107 net/minecraft/item/SimpleItemStackView ARG 2 components METHOD method_1_1283 withCount (I)Lnet/minecraft/class_1_107; ARG 1 count + METHOD method_1_6378 fromOptionalItemStack (Lnet/minecraft/class_1799;)Lnet/minecraft/class_1_107; + ARG 0 stack diff --git a/mappings/net/minecraft/server/MinecraftServer.mapping b/mappings/net/minecraft/server/MinecraftServer.mapping index 8cc67caf54..d4c0a96f62 100644 --- a/mappings/net/minecraft/server/MinecraftServer.mapping +++ b/mappings/net/minecraft/server/MinecraftServer.mapping @@ -212,8 +212,7 @@ CLASS net/minecraft/server/MinecraftServer ARG 1 shareSetting ARG 2 gameMode COMMENT the game mode connecting players will have set by default - ARG 3 cheatsAllowed - COMMENT whether players on the server have operator permissions + ARG 3 allowCommands ARG 4 port COMMENT the port to open up to LAN connections METHOD method_3764 setPreventProxyConnections (Z)V diff --git a/mappings/net/minecraft/server/integrated/IntegratedServer.mapping b/mappings/net/minecraft/server/integrated/IntegratedServer.mapping index a396698480..40e5eba718 100644 --- a/mappings/net/minecraft/server/integrated/IntegratedServer.mapping +++ b/mappings/net/minecraft/server/integrated/IntegratedServer.mapping @@ -1,5 +1,7 @@ CLASS net/minecraft/class_1132 net/minecraft/server/integrated/IntegratedServer FIELD field_1_6415 shareSetting Lnet/minecraft/server/MinecraftServer$class_1_908; + FIELD field_1_7144 allowCommands Ljava/lang/Boolean; + FIELD field_1_7145 gameMode Lnet/minecraft/class_1934; FIELD field_5518 client Lnet/minecraft/class_310; FIELD field_5519 lanPinger Lnet/minecraft/class_1133; FIELD field_5520 LOGGER Lorg/slf4j/Logger; @@ -25,6 +27,26 @@ CLASS net/minecraft/class_1132 net/minecraft/server/integrated/IntegratedServer ARG 1 shareSetting METHOD method_1_6190 shutdownLanPinger ()V METHOD method_1_6191 doUnpublish ()V + METHOD method_1_6382 setPlayerGameModes (Lnet/minecraft/class_1934;Z)V + ARG 1 gameMode + ARG 2 host + COMMENT true if setting {@code gameMode} for hosts; false if setting for non-hosts + METHOD method_1_6383 areCommandsAllowed ()Z + METHOD method_1_6384 getGameMode ()Lnet/minecraft/class_1934; + METHOD method_1_6385 publish (Lnet/minecraft/server/MinecraftServer$class_1_908;I)Z + ARG 1 shareSetting + ARG 2 lanPort + METHOD method_1_6386 setAllowCommandsTemporarily (Z)V + ARG 1 allowCommands + METHOD method_1_6387 setGameModeTemporarily (Lnet/minecraft/class_1934;)V + ARG 1 gameMode + METHOD method_1_6388 setSavedAllowCommands (Z)V + ARG 1 allowCommands + METHOD method_1_6389 setSavedGameMode (Lnet/minecraft/class_1934;)V + ARG 1 gameMode + METHOD method_1_6390 updateCommandsAllowedStatus ()V + METHOD method_1_6391 setPlayerPermissions (Lnet/minecraft/class_746;)V + ARG 1 player METHOD method_4817 setLocalPlayerUuid (Ljava/util/UUID;)V ARG 1 localPlayerUuid METHOD method_36439 incrementTotalWorldTimeStat ()V diff --git a/mappings/net/minecraft/world/SaveProperties.mapping b/mappings/net/minecraft/world/SaveProperties.mapping index 08a1ed6149..388cae4c30 100644 --- a/mappings/net/minecraft/world/SaveProperties.mapping +++ b/mappings/net/minecraft/world/SaveProperties.mapping @@ -3,6 +3,8 @@ CLASS net/minecraft/class_5219 net/minecraft/world/SaveProperties FIELD field_31845 MCREGION_FORMAT_ID I METHOD method_1_1725 toNbt (Ljava/util/UUID;)Lnet/minecraft/class_2487; ARG 1 singleplayerUuid + METHOD method_1_6379 setAllowCommands (Z)V + ARG 1 allowCommands METHOD method_150 getLevelName ()Ljava/lang/String; METHOD method_151 populateCrashReport (Lnet/minecraft/class_129;)V ARG 1 section diff --git a/mappings/net/minecraft/world/level/LevelInfo.mapping b/mappings/net/minecraft/world/level/LevelInfo.mapping index c478e238be..f695e82109 100644 --- a/mappings/net/minecraft/world/level/LevelInfo.mapping +++ b/mappings/net/minecraft/world/level/LevelInfo.mapping @@ -16,6 +16,8 @@ CLASS net/minecraft/class_1940 net/minecraft/world/level/LevelInfo METHOD comp_1_135 name ()Ljava/lang/String; METHOD method_1_1689 withDifficultyLock (Z)Lnet/minecraft/class_1940; ARG 1 locked + METHOD method_1_6377 withAllowCommands (Z)Lnet/minecraft/class_1940; + ARG 1 allowCommands METHOD method_28381 withDifficulty (Lnet/minecraft/class_1267;)Lnet/minecraft/class_1940; ARG 1 difficulty METHOD method_28382 withGameMode (Lnet/minecraft/class_1934;)Lnet/minecraft/class_1940; diff --git a/mappings/net/minecraft/world/level/ServerWorldProperties.mapping b/mappings/net/minecraft/world/level/ServerWorldProperties.mapping index 3a9178c2f3..5b16311e07 100644 --- a/mappings/net/minecraft/world/level/ServerWorldProperties.mapping +++ b/mappings/net/minecraft/world/level/ServerWorldProperties.mapping @@ -1,4 +1,6 @@ CLASS net/minecraft/class_5268 net/minecraft/world/level/ServerWorldProperties + METHOD method_1_6379 setAllowCommands (Z)V + ARG 1 allowCommands METHOD method_150 getLevelName ()Ljava/lang/String; METHOD method_193 setGameMode (Lnet/minecraft/class_1934;)V ARG 1 gameMode