Class RealmsPrepareConnectionTask

java.lang.Object
net.minecraft.client.realms.task.LongRunningTask
net.minecraft.client.realms.task.RealmsPrepareConnectionTask
All Implemented Interfaces:
Runnable

@Environment(CLIENT) public class RealmsPrepareConnectionTask extends LongRunningTask
Mappings:
Namespace Name
named net/minecraft/client/realms/task/RealmsPrepareConnectionTask
intermediary net/minecraft/class_4439
official ffg
  • Field Details

    • APPLYING_PACK_TEXT

      private static final Text APPLYING_PACK_TEXT
      Mappings:
      Namespace Name Mixin selector
      named APPLYING_PACK_TEXT Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;APPLYING_PACK_TEXT:Lnet/minecraft/text/Text;
      intermediary field_47580 Lnet/minecraft/class_4439;field_47580:Lnet/minecraft/class_2561;
      official b Lffg;b:Lwy;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;LOGGER:Lorg/slf4j/Logger;
      intermediary field_36356 Lnet/minecraft/class_4439;field_36356:Lorg/slf4j/Logger;
      official c Lffg;c:Lorg/slf4j/Logger;
    • TITLE

      private static final Text TITLE
      Mappings:
      Namespace Name Mixin selector
      named TITLE Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;TITLE:Lnet/minecraft/text/Text;
      intermediary field_46135 Lnet/minecraft/class_4439;field_46135:Lnet/minecraft/class_2561;
      official d Lffg;d:Lwy;
    • server

      private final RealmsServer server
      Mappings:
      Namespace Name Mixin selector
      named server Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;server:Lnet/minecraft/client/realms/dto/RealmsServer;
      intermediary field_20224 Lnet/minecraft/class_4439;field_20224:Lnet/minecraft/class_4877;
      official e Lffg;e:Lfcj;
    • lastScreen

      private final Screen lastScreen
      Mappings:
      Namespace Name Mixin selector
      named lastScreen Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;lastScreen:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_20225 Lnet/minecraft/class_4439;field_20225:Lnet/minecraft/class_437;
      official f Lffg;f:Lfnx;
  • Constructor Details

    • RealmsPrepareConnectionTask

      public RealmsPrepareConnectionTask(Screen lastScreen, RealmsServer server)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;)V
      intermediary <init> Lnet/minecraft/class_4439;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;)V
      official <init> Lffg;<init>(Lfnx;Lfcj;)V
  • Method Details

    • run

      public void run()
    • getResourcePackId

      private static UUID getResourcePackId(RealmsServer server)
      Mappings:
      Namespace Name Mixin selector
      named getResourcePackId Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;getResourcePackId(Lnet/minecraft/client/realms/dto/RealmsServer;)Ljava/util/UUID;
      intermediary method_55605 Lnet/minecraft/class_4439;method_55605(Lnet/minecraft/class_4877;)Ljava/util/UUID;
      official a Lffg;a(Lfcj;)Ljava/util/UUID;
    • getTitle

      public Text getTitle()
      Specified by:
      getTitle in class LongRunningTask
      Mappings:
      Namespace Name Mixin selector
      named getTitle Lnet/minecraft/client/realms/task/LongRunningTask;getTitle()Lnet/minecraft/text/Text;
      intermediary method_53808 Lnet/minecraft/class_4358;method_53808()Lnet/minecraft/class_2561;
      official a Lffh;a()Lwy;
    • join

      Throws:
      RealmsServiceException
      TimeoutException
      CancellationException
      Mappings:
      Namespace Name Mixin selector
      named join Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;join()Lnet/minecraft/client/realms/dto/RealmsServerAddress;
      intermediary method_32516 Lnet/minecraft/class_4439;method_32516()Lnet/minecraft/class_4878;
      official f Lffg;f()Lfck;
    • createConnectingScreen

      public RealmsLongRunningMcoTaskScreen createConnectingScreen(RealmsServerAddress address)
      Mappings:
      Namespace Name Mixin selector
      named createConnectingScreen Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;createConnectingScreen(Lnet/minecraft/client/realms/dto/RealmsServerAddress;)Lnet/minecraft/client/realms/gui/screen/RealmsLongRunningMcoTaskScreen;
      intermediary method_32511 Lnet/minecraft/class_4439;method_32511(Lnet/minecraft/class_4878;)Lnet/minecraft/class_4398;
      official a Lffg;a(Lfck;)Lfdx;
    • createResourcePackConfirmationScreen

      private PopupScreen createResourcePackConfirmationScreen(RealmsServerAddress address, UUID id, Function<RealmsServerAddress,Screen> connectingScreenCreator)
      Mappings:
      Namespace Name Mixin selector
      named createResourcePackConfirmationScreen Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;createResourcePackConfirmationScreen(Lnet/minecraft/client/realms/dto/RealmsServerAddress;Ljava/util/UUID;Ljava/util/function/Function;)Lnet/minecraft/client/gui/screen/PopupScreen;
      intermediary method_32512 Lnet/minecraft/class_4439;method_32512(Lnet/minecraft/class_4878;Ljava/util/UUID;Ljava/util/function/Function;)Lnet/minecraft/class_8816;
      official a Lffg;a(Lfck;Ljava/util/UUID;Ljava/util/function/Function;)Lfji;
    • downloadResourcePack

      private CompletableFuture<?> downloadResourcePack(RealmsServerAddress address, UUID id)
      Mappings:
      Namespace Name Mixin selector
      named downloadResourcePack Lnet/minecraft/client/realms/task/RealmsPrepareConnectionTask;downloadResourcePack(Lnet/minecraft/client/realms/dto/RealmsServerAddress;Ljava/util/UUID;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_32515 Lnet/minecraft/class_4439;method_32515(Lnet/minecraft/class_4878;Ljava/util/UUID;)Ljava/util/concurrent/CompletableFuture;
      official a Lffg;a(Lfck;Ljava/util/UUID;)Ljava/util/concurrent/CompletableFuture;