Enum Class RealmsClient.Environment

java.lang.Object
java.lang.Enum<RealmsClient.Environment>
net.minecraft.client.realms.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$Environment
intermediary net/minecraft/class_4341$class_4343
official fap$b
  • Enum Constant Details

    • PRODUCTION

      public static final RealmsClient.Environment PRODUCTION
      Mappings:
      Namespace Name Mixin selector
      named PRODUCTION Lnet/minecraft/client/realms/RealmsClient$Environment;PRODUCTION:Lnet/minecraft/client/realms/RealmsClient$Environment;
      intermediary field_19586 Lnet/minecraft/class_4341$class_4343;field_19586:Lnet/minecraft/class_4341$class_4343;
      official a Lfap$b;a:Lfap$b;
    • STAGE

      public static final RealmsClient.Environment STAGE
      Mappings:
      Namespace Name Mixin selector
      named STAGE Lnet/minecraft/client/realms/RealmsClient$Environment;STAGE:Lnet/minecraft/client/realms/RealmsClient$Environment;
      intermediary field_19587 Lnet/minecraft/class_4341$class_4343;field_19587:Lnet/minecraft/class_4341$class_4343;
      official b Lfap$b;b:Lfap$b;
    • LOCAL

      public static final RealmsClient.Environment LOCAL
      Mappings:
      Namespace Name Mixin selector
      named LOCAL Lnet/minecraft/client/realms/RealmsClient$Environment;LOCAL:Lnet/minecraft/client/realms/RealmsClient$Environment;
      intermediary field_19588 Lnet/minecraft/class_4341$class_4343;field_19588:Lnet/minecraft/class_4341$class_4343;
      official c Lfap$b;c:Lfap$b;
  • Field Details

    • baseUrl

      public final String baseUrl
      Mappings:
      Namespace Name Mixin selector
      named baseUrl Lnet/minecraft/client/realms/RealmsClient$Environment;baseUrl:Ljava/lang/String;
      intermediary field_19589 Lnet/minecraft/class_4341$class_4343;field_19589:Ljava/lang/String;
      official d Lfap$b;d:Ljava/lang/String;
    • protocol

      public final String protocol
      Mappings:
      Namespace Name Mixin selector
      named protocol Lnet/minecraft/client/realms/RealmsClient$Environment;protocol:Ljava/lang/String;
      intermediary field_19590 Lnet/minecraft/class_4341$class_4343;field_19590:Ljava/lang/String;
      official e Lfap$b;e:Ljava/lang/String;
  • Constructor Details

    • Environment

      private Environment(String baseUrl, String protocol)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/RealmsClient$Environment;<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
      official <init> Lfap$b;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static RealmsClient.Environment[] 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

      public static RealmsClient.Environment valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromName

      public static Optional<RealmsClient.Environment> fromName(String name)
      Mappings:
      Namespace Name Mixin selector
      named fromName Lnet/minecraft/client/realms/RealmsClient$Environment;fromName(Ljava/lang/String;)Ljava/util/Optional;
      intermediary method_52215 Lnet/minecraft/class_4341$class_4343;method_52215(Ljava/lang/String;)Ljava/util/Optional;
      official a Lfap$b;a(Ljava/lang/String;)Ljava/util/Optional;