Package net.minecraft.client.realms
Enum Class RealmsClient.Environment
- All Implemented Interfaces:
Serializable,Comparable<RealmsClient.Environment>,Constable
- Enclosing class:
RealmsClient
@Environment(CLIENT)
public static enum RealmsClient.Environment
extends Enum<RealmsClient.Environment>
- Mappings:
Namespace Name named net/minecraft/client/realms/RealmsClient$Environmentintermediary net/minecraft/class_4341$class_4343official fby$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<RealmsClient.Environment> static RealmsClient.EnvironmentReturns the enum constant of this class with the specified name.static RealmsClient.Environment[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRODUCTION
- Mappings:
Namespace Name Mixin selector named PRODUCTIONLnet/minecraft/client/realms/RealmsClient$Environment;PRODUCTION:Lnet/minecraft/client/realms/RealmsClient$Environment;intermediary field_19586Lnet/minecraft/class_4341$class_4343;field_19586:Lnet/minecraft/class_4341$class_4343;official aLfby$b;a:Lfby$b;
-
STAGE
- Mappings:
Namespace Name Mixin selector named STAGELnet/minecraft/client/realms/RealmsClient$Environment;STAGE:Lnet/minecraft/client/realms/RealmsClient$Environment;intermediary field_19587Lnet/minecraft/class_4341$class_4343;field_19587:Lnet/minecraft/class_4341$class_4343;official bLfby$b;b:Lfby$b;
-
LOCAL
- Mappings:
Namespace Name Mixin selector named LOCALLnet/minecraft/client/realms/RealmsClient$Environment;LOCAL:Lnet/minecraft/client/realms/RealmsClient$Environment;intermediary field_19588Lnet/minecraft/class_4341$class_4343;field_19588:Lnet/minecraft/class_4341$class_4343;official cLfby$b;c:Lfby$b;
-
-
Field Details
-
baseUrl
- Mappings:
Namespace Name Mixin selector named baseUrlLnet/minecraft/client/realms/RealmsClient$Environment;baseUrl:Ljava/lang/String;intermediary field_19589Lnet/minecraft/class_4341$class_4343;field_19589:Ljava/lang/String;official dLfby$b;d:Ljava/lang/String;
-
protocol
- Mappings:
Namespace Name Mixin selector named protocolLnet/minecraft/client/realms/RealmsClient$Environment;protocol:Ljava/lang/String;intermediary field_19590Lnet/minecraft/class_4341$class_4343;field_19590:Ljava/lang/String;official eLfby$b;e:Ljava/lang/String;
-
-
Constructor Details
-
Environment
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/realms/RealmsClient$Environment;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_4341$class_4343;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Vofficial <init>Lfby$b;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
-
-
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
-
fromName
- Mappings:
Namespace Name Mixin selector named fromNameLnet/minecraft/client/realms/RealmsClient$Environment;fromName(Ljava/lang/String;)Ljava/util/Optional;intermediary method_52215Lnet/minecraft/class_4341$class_4343;method_52215(Ljava/lang/String;)Ljava/util/Optional;official aLfby$b;a(Ljava/lang/String;)Ljava/util/Optional;
-