Class RealmsUtil

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

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

    • NOW_TEXT

      private static final Text NOW_TEXT
      Mappings:
      Namespace Name Mixin selector
      official a Lepm;a:Ltl;
      intermediary field_44910 Lnet/minecraft/class_4448;field_44910:Lnet/minecraft/class_2561;
      named NOW_TEXT Lnet/minecraft/client/realms/util/RealmsUtil;NOW_TEXT:Lnet/minecraft/text/Text;
    • SECONDS_PER_MINUTE

      private static final int SECONDS_PER_MINUTE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lepm;b:I
      intermediary field_32129 Lnet/minecraft/class_4448;field_32129:I
      named SECONDS_PER_MINUTE Lnet/minecraft/client/realms/util/RealmsUtil;SECONDS_PER_MINUTE:I
    • SECONDS_PER_HOUR

      private static final int SECONDS_PER_HOUR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lepm;c:I
      intermediary field_32130 Lnet/minecraft/class_4448;field_32130:I
      named SECONDS_PER_HOUR Lnet/minecraft/client/realms/util/RealmsUtil;SECONDS_PER_HOUR:I
    • SECONDS_PER_DAY

      private static final int SECONDS_PER_DAY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lepm;d:I
      intermediary field_32131 Lnet/minecraft/class_4448;field_32131:I
      named SECONDS_PER_DAY Lnet/minecraft/client/realms/util/RealmsUtil;SECONDS_PER_DAY:I
  • Constructor Details

    • RealmsUtil

      public RealmsUtil()
  • Method Details

    • convertToAgePresentation

      public static Text convertToAgePresentation(long milliseconds)
      Mappings:
      Namespace Name Mixin selector
      official a Lepm;a(J)Ltl;
      intermediary method_21567 Lnet/minecraft/class_4448;method_21567(J)Lnet/minecraft/class_2561;
      named convertToAgePresentation Lnet/minecraft/client/realms/util/RealmsUtil;convertToAgePresentation(J)Lnet/minecraft/text/Text;
    • convertToAgePresentation

      public static Text convertToAgePresentation(Date date)
      Mappings:
      Namespace Name Mixin selector
      official a Lepm;a(Ljava/util/Date;)Ltl;
      intermediary method_25282 Lnet/minecraft/class_4448;method_25282(Ljava/util/Date;)Lnet/minecraft/class_2561;
      named convertToAgePresentation Lnet/minecraft/client/realms/util/RealmsUtil;convertToAgePresentation(Ljava/util/Date;)Lnet/minecraft/text/Text;
    • drawPlayerHead

      public static void drawPlayerHead(DrawContext context, int x, int y, int size, UUID playerUuid)
      Mappings:
      Namespace Name Mixin selector
      official a Lepm;a(Lesf;IIILjava/util/UUID;)V
      intermediary method_48972 Lnet/minecraft/class_4448;method_48972(Lnet/minecraft/class_332;IIILjava/util/UUID;)V
      named drawPlayerHead Lnet/minecraft/client/realms/util/RealmsUtil;drawPlayerHead(Lnet/minecraft/client/gui/DrawContext;IIILjava/util/UUID;)V