Class RealmsNotification

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

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

    • LOGGER

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

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

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

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

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

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

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

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

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

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

    • RealmsNotification

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

    • isSeen

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

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

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

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

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