Package net.minecraft.client.realms.dto
Enum Subscription.SubscriptionType
java.lang.Object
java.lang.Enum<Subscription.SubscriptionType>
net.minecraft.client.realms.dto.Subscription.SubscriptionType
- All Implemented Interfaces:
Serializable,Comparable<Subscription.SubscriptionType>,java.lang.constant.Constable
- Enclosing class:
- Subscription
@Environment(CLIENT) public static enum Subscription.SubscriptionType extends Enum<Subscription.SubscriptionType>
- Mappings:
Namespace Name official dnf$aintermediary net/minecraft/class_4887$class_4322named 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
-
Constructor Summary
Constructors Modifier Constructor Description privateSubscriptionType() -
Method Summary
Modifier and Type Method Description static Subscription.SubscriptionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Subscription.SubscriptionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector official aLdnf$a;a:Ldnf$a;intermediary field_19443Lnet/minecraft/class_4887$class_4322;field_19443:Lnet/minecraft/class_4887$class_4322;named NORMALLnet/minecraft/client/realms/dto/Subscription$SubscriptionType;NORMAL:Lnet/minecraft/client/realms/dto/Subscription$SubscriptionType;
-
RECURRING
- Mappings:
Namespace Name Mixin selector official bLdnf$a;b:Ldnf$a;intermediary field_19444Lnet/minecraft/class_4887$class_4322;field_19444:Lnet/minecraft/class_4887$class_4322;named RECURRINGLnet/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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-