Skip to content

Commit

Permalink
23w35a realms (#3648)
Browse files Browse the repository at this point in the history
  • Loading branch information
apple502j authored Sep 2, 2023
1 parent d2ec05c commit db49164
Show file tree
Hide file tree
Showing 17 changed files with 127 additions and 46 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
CLASS net/minecraft/class_4410 net/minecraft/client/realms/gui/screen/RealmsCreateWorldScreen
FIELD field_19998 slot I
FIELD field_19999 LOGGER Lorg/slf4j/Logger;
FIELD field_20000 parent Lnet/minecraft/class_437;
FIELD field_20001 serverData Lnet/minecraft/class_4877;
FIELD field_20006 subtitle Lnet/minecraft/class_2561;
FIELD field_20008 subtitleColor I
FIELD field_20495 normalWorldTemplates Lnet/minecraft/class_4891;
FIELD field_20496 adventureWorldTemplates Lnet/minecraft/class_4891;
FIELD field_20497 experienceWorldTemplates Lnet/minecraft/class_4891;
FIELD field_20498 inspirationWorldTemplates Lnet/minecraft/class_4891;
FIELD field_20501 taskTitle Lnet/minecraft/class_2561;
FIELD field_22708 NEW_WORLD_TEXTURE Lnet/minecraft/class_2960;
FIELD field_22709 EXPERIENCE_TEXTURE Lnet/minecraft/class_2960;
FIELD field_22710 INSPIRATION_TEXTURE Lnet/minecraft/class_2960;
FIELD field_22711 callback Ljava/lang/Runnable;
FIELD field_22713 SLOT_FRAME_TEXTURE Lnet/minecraft/class_2960;
FIELD field_22714 UPLOAD_TEXTURE Lnet/minecraft/class_2960;
FIELD field_22715 ADVENTURE_TEXTURE Lnet/minecraft/class_2960;
FIELD field_22716 SURVIVAL_SPAWN_TEXTURE Lnet/minecraft/class_2960;
FIELD field_46115 CREATE_REALM_SUBTITLE Lnet/minecraft/class_2561;
FIELD field_46116 CREATE_WORLD_TITLE Lnet/minecraft/class_2561;
FIELD field_46117 CREATE_WORLD_SUBTITLE Lnet/minecraft/class_2561;
FIELD field_46118 RESET_WORLD_TITLE Lnet/minecraft/class_2561;
FIELD field_46119 RESET_WORLD_SUBTITLE Lnet/minecraft/class_2561;
FIELD field_46120 RESETTING_TEXT Lnet/minecraft/class_2561;
FIELD field_46121 TEMPLATE_TEXT Lnet/minecraft/class_2561;
FIELD field_46122 ADVENTURE_TEXT Lnet/minecraft/class_2561;
FIELD field_46123 EXPERIENCE_TEXT Lnet/minecraft/class_2561;
FIELD field_46124 INSPIRATION_TEXT Lnet/minecraft/class_2561;
FIELD field_46125 CREATING_TEXT Lnet/minecraft/class_2561;
FIELD field_46126 layout Lnet/minecraft/class_8132;
FIELD field_46127 CREATE_REALM_TITLE Lnet/minecraft/class_2561;
METHOD <init> (Lnet/minecraft/class_437;Lnet/minecraft/class_4877;ILnet/minecraft/class_2561;Lnet/minecraft/class_2561;ILnet/minecraft/class_2561;Ljava/lang/Runnable;)V
ARG 1 parent
ARG 2 serverData
ARG 3 slot
ARG 4 title
ARG 5 subtitle
ARG 6 subtitleColor
ARG 7 taskTitle
ARG 8 callback
METHOD method_21377 switchSlot (Ljava/lang/Runnable;)V
ARG 1 callback
METHOD method_21384 frame (I)I
ARG 1 i
METHOD method_25211 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_25212 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_25213 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_32488 onSelectWorldTemplate (Lnet/minecraft/class_4890;)V
ARG 1 template
METHOD method_32489 onResetNormalWorld (Lnet/minecraft/class_4413;)V
ARG 1 info
METHOD method_32490 executeLongRunningTask (Lnet/minecraft/class_4358;)V
ARG 1 task
METHOD method_32493 switchSlotAndResetWorld (Ljava/lang/Runnable;)V
ARG 1 resetter
METHOD method_53799 (Lnet/minecraft/class_4410;Lnet/minecraft/class_364;)V
ARG 1 child
METHOD method_53800 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_53801 newWorld (Lnet/minecraft/class_437;ILnet/minecraft/class_4877;Ljava/lang/Runnable;)Lnet/minecraft/class_4410;
ARG 0 parent
ARG 1 slot
ARG 2 serverData
ARG 3 callback
METHOD method_53802 newRealm (Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Ljava/lang/Runnable;)Lnet/minecraft/class_4410;
ARG 0 parent
ARG 1 serverData
ARG 2 callback
METHOD method_53804 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_53805 resetWorld (Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Ljava/lang/Runnable;)Lnet/minecraft/class_4410;
ARG 0 parent
ARG 1 serverData
ARG 2 callback
METHOD method_53806 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_53807 (Lnet/minecraft/class_4185;)V
ARG 1 button
CLASS class_4411 FrameButton
FIELD field_20032 image Lnet/minecraft/class_2960;
METHOD <init> (Lnet/minecraft/class_4410;IILnet/minecraft/class_2561;Lnet/minecraft/class_2960;Lnet/minecraft/class_4185$class_4241;)V
ARG 2 x
ARG 3 y
ARG 4 message
ARG 5 image
ARG 6 onPress
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@ CLASS net/minecraft/class_4398 net/minecraft/client/realms/gui/screen/RealmsLong
FIELD field_19914 title Lnet/minecraft/class_2561;
FIELD field_19919 task Lnet/minecraft/class_4358;
FIELD field_33779 NARRATOR Lnet/minecraft/class_4907;
FIELD field_46111 layout Lnet/minecraft/class_8667;
FIELD field_46112 loading Lnet/minecraft/class_8661;
METHOD <init> (Lnet/minecraft/class_437;Lnet/minecraft/class_4358;)V
ARG 1 parent
ARG 2 task
METHOD method_25168 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_53795 (Lnet/minecraft/class_4398;Lnet/minecraft/class_364;)V
ARG 1 child
METHOD method_53796 (Lnet/minecraft/class_7847;)V
ARG 0 positioner
METHOD method_53797 setTitle (Lnet/minecraft/class_2561;)V
ARG 1 title
METHOD method_53798 onCancel ()V
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CLASS net/minecraft/class_8789 net/minecraft/client/realms/gui/screen/RealmsLongRunningTickableTaskScreen
FIELD field_46113 tickableTask Lnet/minecraft/class_4358;
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ CLASS net/minecraft/class_4325 net/minecraft/client/realms/gui/screen/RealmsMain
ARG 1 button
METHOD method_52649 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_53791 showBuyRealmsScreen ()V
METHOD method_53792 resetPendingInvitesCount ()V
METHOD method_53793 resetServerList ()V
CLASS class_4329 RealmSelectionList
CLASS class_4330 RealmSelectionListEntry
FIELD field_19518 server Lnet/minecraft/class_4877;
Expand Down Expand Up @@ -231,3 +234,4 @@ CLASS net/minecraft/class_4325 net/minecraft/client/realms/gui/screen/RealmsMain
ARG 1 notificationCount
METHOD method_52652 render (Lnet/minecraft/class_332;)V
ARG 1 context
METHOD method_53794 getNotificationCount ()I
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CLASS net/minecraft/class_4409 net/minecraft/client/realms/gui/screen/RealmsRese
FIELD field_27939 generatorType Lnet/minecraft/class_5672;
FIELD field_27940 mapFeatures Z
FIELD field_45280 layout Lnet/minecraft/class_8132;
FIELD field_46114 TITLE Lnet/minecraft/class_2561;
METHOD <init> (Ljava/util/function/Consumer;Lnet/minecraft/class_2561;)V
ARG 1 callback
ARG 2 parentTitle
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ CLASS net/minecraft/class_4416 net/minecraft/client/realms/gui/screen/RealmsSele
FIELD field_26507 HARDCORE_TEXT Lnet/minecraft/class_2561;
FIELD field_26508 CHEATS_TEXT Lnet/minecraft/class_2561;
FIELD field_44909 LOADING_ERROR_TEXT Lnet/minecraft/class_2561;
FIELD field_46131 TITLE Lnet/minecraft/class_2561;
METHOD <init> (JILnet/minecraft/class_4410;)V
ARG 1 worldId
ARG 3 slotId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CLASS net/minecraft/class_4435 net/minecraft/client/realms/task/CloseServerTask
FIELD field_20212 serverData Lnet/minecraft/class_4877;
FIELD field_20213 configureScreen Lnet/minecraft/class_4388;
FIELD field_36354 LOGGER Lorg/slf4j/Logger;
FIELD field_46132 TITLE Lnet/minecraft/class_2561;
METHOD <init> (Lnet/minecraft/class_4877;Lnet/minecraft/class_4388;)V
ARG 1 realmsServer
ARG 2 configureWorldScreen
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CLASS net/minecraft/class_4436 net/minecraft/client/realms/task/DownloadTask
FIELD field_20216 lastScreen Lnet/minecraft/class_437;
FIELD field_20217 downloadName Ljava/lang/String;
FIELD field_36355 LOGGER Lorg/slf4j/Logger;
FIELD field_46134 TITLE Lnet/minecraft/class_2561;
METHOD <init> (JILjava/lang/String;Lnet/minecraft/class_437;)V
ARG 1 worldId
ARG 3 slot
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
CLASS net/minecraft/class_4358 net/minecraft/client/realms/task/LongRunningTask
FIELD field_22731 LOGGER Lorg/slf4j/Logger;
FIELD field_32132 MAX_RETRIES I
FIELD field_46136 aborted Z
METHOD method_21065 aborted ()Z
METHOD method_21067 error (Lnet/minecraft/class_2561;)V
ARG 1 message
METHOD method_21068 tick ()V
METHOD method_21070 init ()V
METHOD method_21071 abortTask ()V
Expand All @@ -12,3 +14,8 @@ CLASS net/minecraft/class_4358 net/minecraft/client/realms/task/LongRunningTask
METHOD method_25289 setScreen (Lnet/minecraft/class_437;)V
COMMENT Moved from Realms in 20w10a.
ARG 0 screen
METHOD method_53808 getTitle ()Lnet/minecraft/class_2561;
METHOD method_53809 error (Lnet/minecraft/class_4355;)V
ARG 1 exception
METHOD method_53811 error (Ljava/lang/Exception;)V
ARG 1 exception
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ CLASS net/minecraft/class_4437 net/minecraft/client/realms/task/OpenServerTask
FIELD field_20221 mainScreen Lnet/minecraft/class_4325;
FIELD field_34016 client Lnet/minecraft/class_310;
FIELD field_36357 LOGGER Lorg/slf4j/Logger;
FIELD field_46137 TITLE Lnet/minecraft/class_2561;
METHOD <init> (Lnet/minecraft/class_4877;Lnet/minecraft/class_437;Lnet/minecraft/class_4325;ZLnet/minecraft/class_310;)V
ARG 1 realmsServer
ARG 2 returnScreen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CLASS net/minecraft/class_4438 net/minecraft/client/realms/task/RealmsConnectTas
FIELD field_20222 realmsConnect Lnet/minecraft/class_4902;
FIELD field_20223 address Lnet/minecraft/class_4878;
FIELD field_26922 server Lnet/minecraft/class_4877;
FIELD field_46133 TITLE Lnet/minecraft/class_2561;
METHOD <init> (Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Lnet/minecraft/class_4878;)V
ARG 1 lastScreen
ARG 2 server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ CLASS net/minecraft/class_4439 net/minecraft/client/realms/task/RealmsGetServerD
FIELD field_20226 mainScreen Lnet/minecraft/class_4325;
FIELD field_20227 connectLock Ljava/util/concurrent/locks/ReentrantLock;
FIELD field_36356 LOGGER Lorg/slf4j/Logger;
FIELD field_46135 TITLE Lnet/minecraft/class_2561;
METHOD <init> (Lnet/minecraft/class_4325;Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Ljava/util/concurrent/locks/ReentrantLock;)V
ARG 1 mainScreen
ARG 2 lastScreen
ARG 3 server
ARG 4 connectLock
METHOD method_25286 (Lnet/minecraft/class_4878;Ljava/lang/Throwable;)Ljava/lang/Void;
ARG 2 throwable
METHOD method_32511 createConnectingScreen (Lnet/minecraft/class_4878;)Lnet/minecraft/class_4398;
ARG 1 address
METHOD method_32512 createResourcePackConfirmationScreen (Lnet/minecraft/class_4878;Ljava/util/function/Function;)Lnet/minecraft/class_4396;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CLASS net/minecraft/class_4441 net/minecraft/client/realms/task/RestoreTask
FIELD field_20237 worldId J
FIELD field_20238 lastScreen Lnet/minecraft/class_4388;
FIELD field_36359 LOGGER Lorg/slf4j/Logger;
FIELD field_46138 TITLE Lnet/minecraft/class_2561;
METHOD <init> (Lnet/minecraft/class_4867;JLnet/minecraft/class_4388;)V
ARG 1 backup
ARG 2 worldId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CLASS net/minecraft/class_4442 net/minecraft/client/realms/task/SwitchMinigameTa
FIELD field_20240 worldTemplate Lnet/minecraft/class_4890;
FIELD field_20241 lastScreen Lnet/minecraft/class_4388;
FIELD field_36360 LOGGER Lorg/slf4j/Logger;
FIELD field_46139 TITLE Lnet/minecraft/class_2561;
METHOD <init> (JLnet/minecraft/class_4890;Lnet/minecraft/class_4388;)V
ARG 1 worldId
ARG 3 worldTemplate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CLASS net/minecraft/class_4443 net/minecraft/client/realms/task/SwitchSlotTask
FIELD field_20243 slot I
FIELD field_22733 callback Ljava/lang/Runnable;
FIELD field_36361 LOGGER Lorg/slf4j/Logger;
FIELD field_46140 TITLE Lnet/minecraft/class_2561;
METHOD <init> (JILjava/lang/Runnable;)V
ARG 1 worldId
ARG 3 slot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CLASS net/minecraft/class_4445 net/minecraft/client/realms/task/WorldCreationTas
FIELD field_20251 worldId J
FIELD field_20252 lastScreen Lnet/minecraft/class_437;
FIELD field_36362 LOGGER Lorg/slf4j/Logger;
FIELD field_46141 TITLE Lnet/minecraft/class_2561;
METHOD <init> (JLjava/lang/String;Ljava/lang/String;Lnet/minecraft/class_437;)V
ARG 1 worldId
ARG 3 name
Expand Down

0 comments on commit db49164

Please sign in to comment.