Class RealmsNotification

java.lang.Object
net.minecraft.client.realms.dto.RealmsNotification
Direct Known Subclasses:
RealmsNotification.InfoPopup, RealmsNotification.VisitUrl

@Environment(CLIENT) public class RealmsNotification extends Object
Mappings:
Namespace Name
named net/minecraft/client/realms/dto/RealmsNotification
intermediary net/minecraft/class_8204
official fco
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/dto/RealmsNotification;LOGGER:Lorg/slf4j/Logger;
      intermediary field_43015 Lnet/minecraft/class_8204;field_43015:Lorg/slf4j/Logger;
      official a Lfco;a:Lorg/slf4j/Logger;
    • NOTIFICATION_UUID_KEY

      private static final String NOTIFICATION_UUID_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named NOTIFICATION_UUID_KEY Lnet/minecraft/client/realms/dto/RealmsNotification;NOTIFICATION_UUID_KEY:Ljava/lang/String;
      intermediary field_43016 Lnet/minecraft/class_8204;field_43016:Ljava/lang/String;
      official b Lfco;b:Ljava/lang/String;
    • DISMISSABLE_KEY

      private static final String DISMISSABLE_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DISMISSABLE_KEY Lnet/minecraft/client/realms/dto/RealmsNotification;DISMISSABLE_KEY:Ljava/lang/String;
      intermediary field_43017 Lnet/minecraft/class_8204;field_43017:Ljava/lang/String;
      official c Lfco;c:Ljava/lang/String;
    • SEEN_KEY

      private static final String SEEN_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SEEN_KEY Lnet/minecraft/client/realms/dto/RealmsNotification;SEEN_KEY:Ljava/lang/String;
      intermediary field_43018 Lnet/minecraft/class_8204;field_43018:Ljava/lang/String;
      official d Lfco;d:Ljava/lang/String;
    • TYPE_KEY

      private static final String TYPE_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named TYPE_KEY Lnet/minecraft/client/realms/dto/RealmsNotification;TYPE_KEY:Ljava/lang/String;
      intermediary field_43019 Lnet/minecraft/class_8204;field_43019:Ljava/lang/String;
      official e Lfco;e:Ljava/lang/String;
    • VISIT_URL_TYPE

      private static final String VISIT_URL_TYPE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named VISIT_URL_TYPE Lnet/minecraft/client/realms/dto/RealmsNotification;VISIT_URL_TYPE:Ljava/lang/String;
      intermediary field_43020 Lnet/minecraft/class_8204;field_43020:Ljava/lang/String;
      official f Lfco;f:Ljava/lang/String;
    • INFO_POPUP_TYPE

      private static final String INFO_POPUP_TYPE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named INFO_POPUP_TYPE Lnet/minecraft/client/realms/dto/RealmsNotification;INFO_POPUP_TYPE:Ljava/lang/String;
      intermediary field_46538 Lnet/minecraft/class_8204;field_46538:Ljava/lang/String;
      official g Lfco;g:Ljava/lang/String;
    • uuid

      final UUID uuid
      Mappings:
      Namespace Name Mixin selector
      named uuid Lnet/minecraft/client/realms/dto/RealmsNotification;uuid:Ljava/util/UUID;
      intermediary field_43021 Lnet/minecraft/class_8204;field_43021:Ljava/util/UUID;
      official i Lfco;i:Ljava/util/UUID;
    • dismissable

      final boolean dismissable
      Mappings:
      Namespace Name Mixin selector
      named dismissable Lnet/minecraft/client/realms/dto/RealmsNotification;dismissable:Z
      intermediary field_43022 Lnet/minecraft/class_8204;field_43022:Z
      official j Lfco;j:Z
    • seen

      final boolean seen
      Mappings:
      Namespace Name Mixin selector
      named seen Lnet/minecraft/client/realms/dto/RealmsNotification;seen:Z
      intermediary field_43023 Lnet/minecraft/class_8204;field_43023:Z
      official k Lfco;k:Z
    • type

      final String type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/client/realms/dto/RealmsNotification;type:Ljava/lang/String;
      intermediary field_43024 Lnet/minecraft/class_8204;field_43024:Ljava/lang/String;
      official l Lfco;l:Ljava/lang/String;
  • Constructor Details

    • RealmsNotification

      RealmsNotification(UUID uuid, boolean dismissable, boolean seen, String type)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/dto/RealmsNotification;<init>(Ljava/util/UUID;ZZLjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8204;<init>(Ljava/util/UUID;ZZLjava/lang/String;)V
      official <init> Lfco;<init>(Ljava/util/UUID;ZZLjava/lang/String;)V
  • Method Details

    • isSeen

      public boolean isSeen()
      Mappings:
      Namespace Name Mixin selector
      named isSeen Lnet/minecraft/client/realms/dto/RealmsNotification;isSeen()Z
      intermediary method_49574 Lnet/minecraft/class_8204;method_49574()Z
      official a Lfco;a()Z
    • isDismissable

      public boolean isDismissable()
      Mappings:
      Namespace Name Mixin selector
      named isDismissable Lnet/minecraft/client/realms/dto/RealmsNotification;isDismissable()Z
      intermediary method_49577 Lnet/minecraft/class_8204;method_49577()Z
      official b Lfco;b()Z
    • getUuid

      public UUID getUuid()
      Mappings:
      Namespace Name Mixin selector
      named getUuid Lnet/minecraft/client/realms/dto/RealmsNotification;getUuid()Ljava/util/UUID;
      intermediary method_49578 Lnet/minecraft/class_8204;method_49578()Ljava/util/UUID;
      official c Lfco;c()Ljava/util/UUID;
    • parse

      public static List<RealmsNotification> parse(String json)
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/client/realms/dto/RealmsNotification;parse(Ljava/lang/String;)Ljava/util/List;
      intermediary method_49576 Lnet/minecraft/class_8204;method_49576(Ljava/lang/String;)Ljava/util/List;
      official a Lfco;a(Ljava/lang/String;)Ljava/util/List;
    • fromJson

      private static RealmsNotification fromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      named fromJson Lnet/minecraft/client/realms/dto/RealmsNotification;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/realms/dto/RealmsNotification;
      intermediary method_49575 Lnet/minecraft/class_8204;method_49575(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_8204;
      official a Lfco;a(Lcom/google/gson/JsonObject;)Lfco;