Package net.minecraft.client.realms
Enum Class RealmsAvailability.Type
- All Implemented Interfaces:
Serializable,Comparable<RealmsAvailability.Type>,Constable
- Enclosing class:
RealmsAvailability
@Environment(CLIENT)
public static enum RealmsAvailability.Type
extends Enum<RealmsAvailability.Type>
- Mappings:
Namespace Name official elr$bintermediary net/minecraft/class_8647$class_8649named net/minecraft/client/realms/RealmsAvailability$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RealmsAvailability.TypeReturns the enum constant of this class with the specified name.static RealmsAvailability.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
- Mappings:
Namespace Name Mixin selector official aLelr$b;a:Lelr$b;intermediary field_45185Lnet/minecraft/class_8647$class_8649;field_45185:Lnet/minecraft/class_8647$class_8649;named SUCCESSLnet/minecraft/client/realms/RealmsAvailability$Type;SUCCESS:Lnet/minecraft/client/realms/RealmsAvailability$Type;
-
INCOMPATIBLE_CLIENT
- Mappings:
Namespace Name Mixin selector official bLelr$b;b:Lelr$b;intermediary field_45186Lnet/minecraft/class_8647$class_8649;field_45186:Lnet/minecraft/class_8647$class_8649;named INCOMPATIBLE_CLIENTLnet/minecraft/client/realms/RealmsAvailability$Type;INCOMPATIBLE_CLIENT:Lnet/minecraft/client/realms/RealmsAvailability$Type;
-
NEEDS_PARENTAL_CONSENT
- Mappings:
Namespace Name Mixin selector official cLelr$b;c:Lelr$b;intermediary field_45187Lnet/minecraft/class_8647$class_8649;field_45187:Lnet/minecraft/class_8647$class_8649;named NEEDS_PARENTAL_CONSENTLnet/minecraft/client/realms/RealmsAvailability$Type;NEEDS_PARENTAL_CONSENT:Lnet/minecraft/client/realms/RealmsAvailability$Type;
-
AUTHENTICATION_ERROR
- Mappings:
Namespace Name Mixin selector official dLelr$b;d:Lelr$b;intermediary field_45188Lnet/minecraft/class_8647$class_8649;field_45188:Lnet/minecraft/class_8647$class_8649;named AUTHENTICATION_ERRORLnet/minecraft/client/realms/RealmsAvailability$Type;AUTHENTICATION_ERROR:Lnet/minecraft/client/realms/RealmsAvailability$Type;
-
UNEXPECTED_ERROR
- Mappings:
Namespace Name Mixin selector official eLelr$b;e:Lelr$b;intermediary field_45189Lnet/minecraft/class_8647$class_8649;field_45189:Lnet/minecraft/class_8647$class_8649;named UNEXPECTED_ERRORLnet/minecraft/client/realms/RealmsAvailability$Type;UNEXPECTED_ERROR:Lnet/minecraft/client/realms/RealmsAvailability$Type;
-
-
Constructor Details
-
Type
private Type()
-
-
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
-