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 feg
  • 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 Lfeg;b:Lxp;
    • 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 Lfeg;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 Lfeg;d:Lxp;
    • 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 Lfeg;e:Lfbh;
    • 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 Lfeg;f:Lfnf;
  • 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> Lfeg;<init>(Lfnf;Lfbh;)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 Lfeg;a(Lfbh;)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 Lfeh;a()Lxp;
    • 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 Lfeg;f()Lfbi;
    • 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 Lfeg;a(Lfbi;)Lfcx;
    • createResourcePackConfirmationScreen

      private RealmsLongConfirmationScreen 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/realms/gui/screen/RealmsLongConfirmationScreen;
      intermediary method_32512 Lnet/minecraft/class_4439;method_32512(Lnet/minecraft/class_4878;Ljava/util/UUID;Ljava/util/function/Function;)Lnet/minecraft/class_4396;
      official a Lfeg;a(Lfbi;Ljava/util/UUID;Ljava/util/function/Function;)Lfcw;
    • 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 Lfeg;a(Lfbi;Ljava/util/UUID;)Ljava/util/concurrent/CompletableFuture;