Enum Class QuickPlayLogger.WorldType

java.lang.Object
java.lang.Enum<QuickPlayLogger.WorldType>
net.minecraft.client.QuickPlayLogger.WorldType
All Implemented Interfaces:
Serializable, Comparable<QuickPlayLogger.WorldType>, Constable, StringIdentifiable
Enclosing class:
QuickPlayLogger

@Environment(CLIENT) public static enum QuickPlayLogger.WorldType extends Enum<QuickPlayLogger.WorldType> implements StringIdentifiable
Mappings:
Namespace Name
official fno$c
intermediary net/minecraft/class_8497$class_8500
named net/minecraft/client/QuickPlayLogger$WorldType
  • Enum Constant Details

    • SINGLEPLAYER

      public static final QuickPlayLogger.WorldType SINGLEPLAYER
      Mappings:
      Namespace Name Mixin selector
      official a Lfno$c;a:Lfno$c;
      intermediary field_44568 Lnet/minecraft/class_8497$class_8500;field_44568:Lnet/minecraft/class_8497$class_8500;
      named SINGLEPLAYER Lnet/minecraft/client/QuickPlayLogger$WorldType;SINGLEPLAYER:Lnet/minecraft/client/QuickPlayLogger$WorldType;
    • MULTIPLAYER

      public static final QuickPlayLogger.WorldType MULTIPLAYER
      Mappings:
      Namespace Name Mixin selector
      official b Lfno$c;b:Lfno$c;
      intermediary field_44569 Lnet/minecraft/class_8497$class_8500;field_44569:Lnet/minecraft/class_8497$class_8500;
      named MULTIPLAYER Lnet/minecraft/client/QuickPlayLogger$WorldType;MULTIPLAYER:Lnet/minecraft/client/QuickPlayLogger$WorldType;
    • REALMS

      public static final QuickPlayLogger.WorldType REALMS
      Mappings:
      Namespace Name Mixin selector
      official c Lfno$c;c:Lfno$c;
      intermediary field_44570 Lnet/minecraft/class_8497$class_8500;field_44570:Lnet/minecraft/class_8497$class_8500;
      named REALMS Lnet/minecraft/client/QuickPlayLogger$WorldType;REALMS:Lnet/minecraft/client/QuickPlayLogger$WorldType;
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<QuickPlayLogger.WorldType> CODEC
      Mappings:
      Namespace Name Mixin selector
      official d Lfno$c;d:Lcom/mojang/serialization/Codec;
      intermediary field_44571 Lnet/minecraft/class_8497$class_8500;field_44571:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/client/QuickPlayLogger$WorldType;CODEC:Lcom/mojang/serialization/Codec;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official e Lfno$c;e:Ljava/lang/String;
      intermediary field_44572 Lnet/minecraft/class_8497$class_8500;field_44572:Ljava/lang/String;
      named id Lnet/minecraft/client/QuickPlayLogger$WorldType;id:Ljava/lang/String;
  • Constructor Details

    • WorldType

      private WorldType(String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfno$c;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8497$class_8500;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/client/QuickPlayLogger$WorldType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static QuickPlayLogger.WorldType[] 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 QuickPlayLogger.WorldType 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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Lasp;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;