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

    • LOGGER

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

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

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

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

    • Subscription

      public Subscription()
  • Method Details

    • parse

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

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