Class RealmsUtil

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

@Environment(CLIENT) public class RealmsUtil extends Object
Mappings:
Namespace Name
official ety
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 Lety;a:Lvf;
      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 Lety;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 Lety;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 Lety;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 Lety;a(J)Lvf;
      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 Lety;a(Ljava/util/Date;)Lvf;
      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 Lety;a(Lewu;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