Package net.minecraft.client.realms.dto
Enum Class Subscription.SubscriptionType
java.lang.Object
java.lang.Enum<Subscription.SubscriptionType>
net.minecraft.client.realms.dto.Subscription.SubscriptionType
- All Implemented Interfaces:
Serializable
,Comparable<Subscription.SubscriptionType>
,Constable
- Enclosing class:
Subscription
@Environment(CLIENT)
public static enum Subscription.SubscriptionType
extends Enum<Subscription.SubscriptionType>
- Mappings:
Namespace Name official erv$a
intermediary net/minecraft/class_4887$class_4322
named net/minecraft/client/realms/dto/Subscription$SubscriptionType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static Subscription.SubscriptionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector official a
Lerv$a;a:Lerv$a;
intermediary field_19443
Lnet/minecraft/class_4887$class_4322;field_19443:Lnet/minecraft/class_4887$class_4322;
named NORMAL
Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;NORMAL:Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;
-
RECURRING
- Mappings:
Namespace Name Mixin selector official b
Lerv$a;b:Lerv$a;
intermediary field_19444
Lnet/minecraft/class_4887$class_4322;field_19444:Lnet/minecraft/class_4887$class_4322;
named RECURRING
Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;RECURRING:Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;
-
-
Constructor Details
-
SubscriptionType
private SubscriptionType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-