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 fel
  • 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 Lfel;a:Lwu;
    • 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 Lfel;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 Lfel;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 Lfel;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 Lfel;a(J)Lwu;
    • 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 Lfel;a(Ljava/util/Date;)Lwu;
    • 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 Lfel;a(Lfhh;IIILjava/util/UUID;)V