Class Subscription

java.lang.Object
net.minecraft.client.realms.dto.ValueObject
net.minecraft.client.realms.dto.Subscription

@Environment(CLIENT)
public class Subscription
extends ValueObject
Mappings:
Namespace Name
official dnf
intermediary net/minecraft/class_4887
named net/minecraft/client/realms/dto/Subscription
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Ldnf;d:Lorg/apache/logging/log4j/Logger;
      intermediary field_22656 Lnet/minecraft/class_4887;field_22656:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/dto/Subscription;LOGGER:Lorg/apache/logging/log4j/Logger;
    • startDate

      public long startDate
      Mappings:
      Namespace Name Mixin selector
      official a Ldnf;a:J
      intermediary field_22653 Lnet/minecraft/class_4887;field_22653:J
      named startDate Lnet/minecraft/client/realms/dto/Subscription;startDate:J
    • daysLeft

      public int daysLeft
      Mappings:
      Namespace Name Mixin selector
      official b Ldnf;b:I
      intermediary field_22654 Lnet/minecraft/class_4887;field_22654:I
      named daysLeft Lnet/minecraft/client/realms/dto/Subscription;daysLeft:I
    • type

      Mappings:
      Namespace Name Mixin selector
      official c Ldnf;c:Ldnf$a;
      intermediary field_22655 Lnet/minecraft/class_4887;field_22655:Lnet/minecraft/class_4887$class_4322;
      named type Lnet/minecraft/client/realms/dto/Subscription;type:Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;
  • Constructor Details

    • Subscription

      public Subscription()
  • Method Details

    • parse

      public static Subscription parse​(String json)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnf;a(Ljava/lang/String;)Ldnf;
      intermediary method_25085 Lnet/minecraft/class_4887;method_25085(Ljava/lang/String;)Lnet/minecraft/class_4887;
      named parse Lnet/minecraft/client/realms/dto/Subscription;parse(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/Subscription;
    • typeFrom

      private static Subscription.SubscriptionType typeFrom​(String subscriptionType)
      Mappings:
      Namespace Name Mixin selector
      official b Ldnf;b(Ljava/lang/String;)Ldnf$a;
      intermediary method_25086 Lnet/minecraft/class_4887;method_25086(Ljava/lang/String;)Lnet/minecraft/class_4887$class_4322;
      named typeFrom Lnet/minecraft/client/realms/dto/Subscription;typeFrom(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;