Package net.minecraft.client.realms.util
Class RealmsUtil
java.lang.Object
net.minecraft.client.realms.util.RealmsUtil
- Mappings:
Namespace Name named net/minecraft/client/realms/util/RealmsUtil
intermediary net/minecraft/class_4448
official fst
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Text
convertToAgePresentation
(long milliseconds) static Text
convertToAgePresentation
(Date date) static void
drawPlayerHead
(DrawContext context, int x, int y, int size, UUID playerUuid) static CompletableFuture
<Void> method_72216
(RealmsUtil.class_11538 class_11538, @Nullable Consumer<RealmsServiceException> consumer) static <T> CompletableFuture
<T> method_72217
(RealmsUtil.class_11539<T> class_11539, @Nullable Consumer<RealmsServiceException> consumer) static Consumer
<RealmsServiceException> method_72220
(Function<RealmsServiceException, Screen> function) static Consumer
<RealmsServiceException> method_72221
(Function<RealmsServiceException, Screen> function, String string)
-
Field Details
-
field_61054
- Mappings:
Namespace Name Mixin selector named field_61054
Lnet/minecraft/client/realms/util/RealmsUtil;field_61054:Lorg/slf4j/Logger;
intermediary field_61054
Lnet/minecraft/class_4448;field_61054:Lorg/slf4j/Logger;
official a
Lfst;a:Lorg/slf4j/Logger;
-
NOW_TEXT
- Mappings:
Namespace Name Mixin selector named NOW_TEXT
Lnet/minecraft/client/realms/util/RealmsUtil;NOW_TEXT:Lnet/minecraft/text/Text;
intermediary field_44910
Lnet/minecraft/class_4448;field_44910:Lnet/minecraft/class_2561;
official b
Lfst;b:Lxo;
-
SECONDS_PER_MINUTE
private static final int SECONDS_PER_MINUTE- See Also:
- Mappings:
Namespace Name Mixin selector named SECONDS_PER_MINUTE
Lnet/minecraft/client/realms/util/RealmsUtil;SECONDS_PER_MINUTE:I
intermediary field_32129
Lnet/minecraft/class_4448;field_32129:I
official c
Lfst;c:I
-
SECONDS_PER_HOUR
private static final int SECONDS_PER_HOUR- See Also:
- Mappings:
Namespace Name Mixin selector named SECONDS_PER_HOUR
Lnet/minecraft/client/realms/util/RealmsUtil;SECONDS_PER_HOUR:I
intermediary field_32130
Lnet/minecraft/class_4448;field_32130:I
official d
Lfst;d:I
-
SECONDS_PER_DAY
private static final int SECONDS_PER_DAY- See Also:
- Mappings:
Namespace Name Mixin selector named SECONDS_PER_DAY
Lnet/minecraft/client/realms/util/RealmsUtil;SECONDS_PER_DAY:I
intermediary field_32131
Lnet/minecraft/class_4448;field_32131:I
official e
Lfst;e:I
-
-
Constructor Details
-
RealmsUtil
public RealmsUtil()
-
-
Method Details
-
convertToAgePresentation
- Mappings:
Namespace Name Mixin selector named convertToAgePresentation
Lnet/minecraft/client/realms/util/RealmsUtil;convertToAgePresentation(J)Lnet/minecraft/text/Text;
intermediary method_21567
Lnet/minecraft/class_4448;method_21567(J)Lnet/minecraft/class_2561;
official a
Lfst;a(J)Lxo;
-
convertToAgePresentation
- Mappings:
Namespace Name Mixin selector named convertToAgePresentation
Lnet/minecraft/client/realms/util/RealmsUtil;convertToAgePresentation(Ljava/util/Date;)Lnet/minecraft/text/Text;
intermediary method_25282
Lnet/minecraft/class_4448;method_25282(Ljava/util/Date;)Lnet/minecraft/class_2561;
official a
Lfst;a(Ljava/util/Date;)Lxo;
-
drawPlayerHead
- Mappings:
Namespace Name Mixin selector named drawPlayerHead
Lnet/minecraft/client/realms/util/RealmsUtil;drawPlayerHead(Lnet/minecraft/client/gui/DrawContext;IIILjava/util/UUID;)V
intermediary method_48972
Lnet/minecraft/class_4448;method_48972(Lnet/minecraft/class_332;IIILjava/util/UUID;)V
official a
Lfst;a(Lfxa;IIILjava/util/UUID;)V
-
method_72217
public static <T> CompletableFuture<T> method_72217(RealmsUtil.class_11539<T> class_11539, @Nullable @Nullable Consumer<RealmsServiceException> consumer) - Mappings:
Namespace Name Mixin selector named method_72217
Lnet/minecraft/client/realms/util/RealmsUtil;method_72217(Lnet/minecraft/client/realms/util/RealmsUtil$class_11539;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
intermediary method_72217
Lnet/minecraft/class_4448;method_72217(Lnet/minecraft/class_4448$class_11539;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
official a
Lfst;a(Lfst$b;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
-
method_72216
public static CompletableFuture<Void> method_72216(RealmsUtil.class_11538 class_11538, @Nullable @Nullable Consumer<RealmsServiceException> consumer) - Mappings:
Namespace Name Mixin selector named method_72216
Lnet/minecraft/client/realms/util/RealmsUtil;method_72216(Lnet/minecraft/client/realms/util/RealmsUtil$class_11538;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
intermediary method_72216
Lnet/minecraft/class_4448;method_72216(Lnet/minecraft/class_4448$class_11538;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
official a
Lfst;a(Lfst$a;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
-
method_72220
public static Consumer<RealmsServiceException> method_72220(Function<RealmsServiceException, Screen> function) - Mappings:
Namespace Name Mixin selector named method_72220
Lnet/minecraft/client/realms/util/RealmsUtil;method_72220(Ljava/util/function/Function;)Ljava/util/function/Consumer;
intermediary method_72220
Lnet/minecraft/class_4448;method_72220(Ljava/util/function/Function;)Ljava/util/function/Consumer;
official a
Lfst;a(Ljava/util/function/Function;)Ljava/util/function/Consumer;
-
method_72221
public static Consumer<RealmsServiceException> method_72221(Function<RealmsServiceException, Screen> function, String string) - Mappings:
Namespace Name Mixin selector named method_72221
Lnet/minecraft/client/realms/util/RealmsUtil;method_72221(Ljava/util/function/Function;Ljava/lang/String;)Ljava/util/function/Consumer;
intermediary method_72221
Lnet/minecraft/class_4448;method_72221(Ljava/util/function/Function;Ljava/lang/String;)Ljava/util/function/Consumer;
official a
Lfst;a(Ljava/util/function/Function;Ljava/lang/String;)Ljava/util/function/Consumer;
-