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 ebk
intermediary net/minecraft/class_4887
named net/minecraft/client/realms/dto/Subscription
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Lebk;d:Lorg/slf4j/Logger;
      intermediary field_22656 Lnet/minecraft/class_4887;field_22656:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/dto/Subscription;LOGGER:Lorg/slf4j/Logger;
    • startDate

      public long startDate
      Mappings:
      Namespace Name Mixin selector
      official a Lebk;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 Lebk;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 Lebk;c:Lebk$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 Lebk;a(Ljava/lang/String;)Lebk;
      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 Lebk;b(Ljava/lang/String;)Lebk$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;