Package net.minecraft.client.realms.task
Class RealmsGetServerDetailsTask
java.lang.Object
net.minecraft.client.realms.task.LongRunningTask
net.minecraft.client.realms.task.RealmsGetServerDetailsTask
- Mappings:
Namespace Name official ees
intermediary net/minecraft/class_4439
named net/minecraft/client/realms/task/RealmsGetServerDetailsTask
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ReentrantLock
private static final org.slf4j.Logger
private final Screen
private final RealmsMainScreen
private final RealmsServer
Fields inherited from class net.minecraft.client.realms.task.LongRunningTask
MAX_RETRIES, screen
-
Constructor Summary
ConstructorDescriptionRealmsGetServerDetailsTask
(RealmsMainScreen mainScreen, Screen lastScreen, RealmsServer server, ReentrantLock connectLock) -
Method Summary
Modifier and TypeMethodDescriptionprivate RealmsLongConfirmationScreen
createResourcePackConfirmationScreen
(RealmsServerAddress address, Function<RealmsServerAddress, Screen> connectingScreenCreator) private CompletableFuture<?>
downloadResourcePack
(RealmsServerAddress address) private RealmsServerAddress
join()
void
run()
Methods inherited from class net.minecraft.client.realms.task.LongRunningTask
aborted, abortTask, error, init, pause, setScreen, setScreen, setTitle, tick
-
Field Details
-
field_36356
private static final org.slf4j.Logger field_36356- Mappings:
Namespace Name Mixin selector official c
Lees;c:Lorg/slf4j/Logger;
intermediary field_36356
Lnet/minecraft/class_4439;field_36356:Lorg/slf4j/Logger;
named field_36356
Lnet/minecraft/client/realms/task/RealmsGetServerDetailsTask;field_36356:Lorg/slf4j/Logger;
-
server
- Mappings:
Namespace Name Mixin selector official d
Lees;d:Lebv;
intermediary field_20224
Lnet/minecraft/class_4439;field_20224:Lnet/minecraft/class_4877;
named server
Lnet/minecraft/client/realms/task/RealmsGetServerDetailsTask;server:Lnet/minecraft/client/realms/dto/RealmsServer;
-
lastScreen
- Mappings:
Namespace Name Mixin selector official e
Lees;e:Lelm;
intermediary field_20225
Lnet/minecraft/class_4439;field_20225:Lnet/minecraft/class_437;
named lastScreen
Lnet/minecraft/client/realms/task/RealmsGetServerDetailsTask;lastScreen:Lnet/minecraft/client/gui/screen/Screen;
-
mainScreen
- Mappings:
Namespace Name Mixin selector official f
Lees;f:Leba;
intermediary field_20226
Lnet/minecraft/class_4439;field_20226:Lnet/minecraft/class_4325;
named mainScreen
Lnet/minecraft/client/realms/task/RealmsGetServerDetailsTask;mainScreen:Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;
-
connectLock
- Mappings:
Namespace Name Mixin selector official g
Lees;g:Ljava/util/concurrent/locks/ReentrantLock;
intermediary field_20227
Lnet/minecraft/class_4439;field_20227:Ljava/util/concurrent/locks/ReentrantLock;
named connectLock
Lnet/minecraft/client/realms/task/RealmsGetServerDetailsTask;connectLock:Ljava/util/concurrent/locks/ReentrantLock;
-
-
Constructor Details
-
RealmsGetServerDetailsTask
public RealmsGetServerDetailsTask(RealmsMainScreen mainScreen, Screen lastScreen, RealmsServer server, ReentrantLock connectLock) - Mappings:
Namespace Name Mixin selector official <init>
Lees;<init>(Leba;Lelm;Lebv;Ljava/util/concurrent/locks/ReentrantLock;)V
intermediary <init>
Lnet/minecraft/class_4439;<init>(Lnet/minecraft/class_4325;Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Ljava/util/concurrent/locks/ReentrantLock;)V
named <init>
Lnet/minecraft/client/realms/task/RealmsGetServerDetailsTask;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;Ljava/util/concurrent/locks/ReentrantLock;)V
-
-
Method Details
-
run
public void run() -
join
private RealmsServerAddress join() throws RealmsServiceException, TimeoutException, CancellationException- Throws:
RealmsServiceException
TimeoutException
CancellationException
- Mappings:
Namespace Name Mixin selector official e
Lees;e()Lebw;
intermediary method_32516
Lnet/minecraft/class_4439;method_32516()Lnet/minecraft/class_4878;
named join
Lnet/minecraft/client/realms/task/RealmsGetServerDetailsTask;join()Lnet/minecraft/client/realms/dto/RealmsServerAddress;
-
createConnectingScreen
- Mappings:
Namespace Name Mixin selector official a
Lees;a(Lebw;)Ledl;
intermediary method_32511
Lnet/minecraft/class_4439;method_32511(Lnet/minecraft/class_4878;)Lnet/minecraft/class_4398;
named createConnectingScreen
Lnet/minecraft/client/realms/task/RealmsGetServerDetailsTask;createConnectingScreen(Lnet/minecraft/client/realms/dto/RealmsServerAddress;)Lnet/minecraft/client/realms/gui/screen/RealmsLongRunningMcoTaskScreen;
-
createResourcePackConfirmationScreen
private RealmsLongConfirmationScreen createResourcePackConfirmationScreen(RealmsServerAddress address, Function<RealmsServerAddress, Screen> connectingScreenCreator) - Mappings:
Namespace Name Mixin selector official a
Lees;a(Lebw;Ljava/util/function/Function;)Ledk;
intermediary method_32512
Lnet/minecraft/class_4439;method_32512(Lnet/minecraft/class_4878;Ljava/util/function/Function;)Lnet/minecraft/class_4396;
named createResourcePackConfirmationScreen
Lnet/minecraft/client/realms/task/RealmsGetServerDetailsTask;createResourcePackConfirmationScreen(Lnet/minecraft/client/realms/dto/RealmsServerAddress;Ljava/util/function/Function;)Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen;
-
downloadResourcePack
- Mappings:
Namespace Name Mixin selector official b
Lees;b(Lebw;)Ljava/util/concurrent/CompletableFuture;
intermediary method_32515
Lnet/minecraft/class_4439;method_32515(Lnet/minecraft/class_4878;)Ljava/util/concurrent/CompletableFuture;
named downloadResourcePack
Lnet/minecraft/client/realms/task/RealmsGetServerDetailsTask;downloadResourcePack(Lnet/minecraft/client/realms/dto/RealmsServerAddress;)Ljava/util/concurrent/CompletableFuture;
-