Class RealmsUtil

java.lang.Object
net.minecraft.client.realms.util.RealmsUtil

@Environment(CLIENT) public class RealmsUtil extends Object
Mappings:
Namespace Name
named net/minecraft/client/realms/util/RealmsUtil
intermediary net/minecraft/class_4448
official fex
  • Field Details

    • NOW_TEXT

      private static final Text 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 a Lfex;a:Lwy;
    • 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 b Lfex;b: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 c Lfex;c: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 d Lfex;d:I
  • Constructor Details

    • RealmsUtil

      public RealmsUtil()
  • Method Details

    • convertToAgePresentation

      public static Text convertToAgePresentation(long milliseconds)
      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 Lfex;a(J)Lwy;
    • convertToAgePresentation

      public static Text convertToAgePresentation(Date date)
      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 Lfex;a(Ljava/util/Date;)Lwy;
    • drawPlayerHead

      public static void drawPlayerHead(DrawContext context, int x, int y, int size, UUID playerUuid)
      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 Lfex;a(Lfht;IIILjava/util/UUID;)V