Package net.minecraft.client.realms
Enum RealmsClient.Environment
- All Implemented Interfaces:
Serializable
,Comparable<RealmsClient.Environment>
,java.lang.constant.Constable
- Enclosing class:
- RealmsClient
@Environment(CLIENT) public static enum RealmsClient.Environment extends Enum<RealmsClient.Environment>
- Mappings:
Namespace Name official dmg$b
intermediary net/minecraft/class_4341$class_4343
named net/minecraft/client/realms/RealmsClient$Environment
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCAL
PRODUCTION
STAGE
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
Environment(String baseUrl, String protocol)
-
Method Summary
Modifier and Type Method Description static RealmsClient.Environment
valueOf(String name)
Returns the enum constant of this type with the specified name.static RealmsClient.Environment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRODUCTION
- Mappings:
Namespace Name Mixin selector official a
Ldmg$b;a:Ldmg$b;
intermediary field_19586
Lnet/minecraft/class_4341$class_4343;field_19586:Lnet/minecraft/class_4341$class_4343;
named PRODUCTION
Lnet/minecraft/client/realms/RealmsClient$Environment;PRODUCTION:Lnet/minecraft/client/realms/RealmsClient$Environment;
-
STAGE
- Mappings:
Namespace Name Mixin selector official b
Ldmg$b;b:Ldmg$b;
intermediary field_19587
Lnet/minecraft/class_4341$class_4343;field_19587:Lnet/minecraft/class_4341$class_4343;
named STAGE
Lnet/minecraft/client/realms/RealmsClient$Environment;STAGE:Lnet/minecraft/client/realms/RealmsClient$Environment;
-
LOCAL
- Mappings:
Namespace Name Mixin selector official c
Ldmg$b;c:Ldmg$b;
intermediary field_19588
Lnet/minecraft/class_4341$class_4343;field_19588:Lnet/minecraft/class_4341$class_4343;
named LOCAL
Lnet/minecraft/client/realms/RealmsClient$Environment;LOCAL:Lnet/minecraft/client/realms/RealmsClient$Environment;
-
-
Field Details
-
baseUrl
- Mappings:
Namespace Name Mixin selector official d
Ldmg$b;d:Ljava/lang/String;
intermediary field_19589
Lnet/minecraft/class_4341$class_4343;field_19589:Ljava/lang/String;
named baseUrl
Lnet/minecraft/client/realms/RealmsClient$Environment;baseUrl:Ljava/lang/String;
-
protocol
- Mappings:
Namespace Name Mixin selector official e
Ldmg$b;e:Ljava/lang/String;
intermediary field_19590
Lnet/minecraft/class_4341$class_4343;field_19590:Ljava/lang/String;
named protocol
Lnet/minecraft/client/realms/RealmsClient$Environment;protocol:Ljava/lang/String;
-
-
Constructor Details
-
Environment
- Mappings:
Namespace Name Mixin selector official <init>
Ldmg$b;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_4341$class_4343;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
named <init>
Lnet/minecraft/client/realms/RealmsClient$Environment;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
-
-
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
-