Enum Class CreateWorldScreen.Mode

java.lang.Object
java.lang.Enum<CreateWorldScreen.Mode>
net.minecraft.client.gui.screen.world.CreateWorldScreen.Mode
All Implemented Interfaces:
Serializable, Comparable<CreateWorldScreen.Mode>, Constable
Enclosing class:
CreateWorldScreen

@Environment(CLIENT) private static enum CreateWorldScreen.Mode extends Enum<CreateWorldScreen.Mode>
Mappings:
Namespace Name
official eti$b
intermediary net/minecraft/class_525$class_4539
named net/minecraft/client/gui/screen/world/CreateWorldScreen$Mode
  • Enum Constant Details

    • SURVIVAL

      public static final CreateWorldScreen.Mode SURVIVAL
      Mappings:
      Namespace Name Mixin selector
      official a Leti$b;a:Leti$b;
      intermediary field_20624 Lnet/minecraft/class_525$class_4539;field_20624:Lnet/minecraft/class_525$class_4539;
      named SURVIVAL Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;SURVIVAL:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
    • HARDCORE

      public static final CreateWorldScreen.Mode HARDCORE
      Mappings:
      Namespace Name Mixin selector
      official b Leti$b;b:Leti$b;
      intermediary field_20625 Lnet/minecraft/class_525$class_4539;field_20625:Lnet/minecraft/class_525$class_4539;
      named HARDCORE Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;HARDCORE:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
    • CREATIVE

      public static final CreateWorldScreen.Mode CREATIVE
      Mappings:
      Namespace Name Mixin selector
      official c Leti$b;c:Leti$b;
      intermediary field_20626 Lnet/minecraft/class_525$class_4539;field_20626:Lnet/minecraft/class_525$class_4539;
      named CREATIVE Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;CREATIVE:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
    • DEBUG

      public static final CreateWorldScreen.Mode DEBUG
      Mappings:
      Namespace Name Mixin selector
      official d Leti$b;d:Leti$b;
      intermediary field_20627 Lnet/minecraft/class_525$class_4539;field_20627:Lnet/minecraft/class_525$class_4539;
      named DEBUG Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;DEBUG:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
  • Field Details

    • translationSuffix

      final String translationSuffix
      Mappings:
      Namespace Name Mixin selector
      official e Leti$b;e:Ljava/lang/String;
      intermediary field_20628 Lnet/minecraft/class_525$class_4539;field_20628:Ljava/lang/String;
      named translationSuffix Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;translationSuffix:Ljava/lang/String;
    • defaultGameMode

      final GameMode defaultGameMode
      Mappings:
      Namespace Name Mixin selector
      official f Leti$b;f:Lcjt;
      intermediary field_20629 Lnet/minecraft/class_525$class_4539;field_20629:Lnet/minecraft/class_1934;
      named defaultGameMode Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;defaultGameMode:Lnet/minecraft/world/GameMode;
    • text

      private final Text text
      Mappings:
      Namespace Name Mixin selector
      official g Leti$b;g:Lss;
      intermediary field_27999 Lnet/minecraft/class_525$class_4539;field_27999:Lnet/minecraft/class_2561;
      named text Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;text:Lnet/minecraft/text/Text;
  • Constructor Details

    • Mode

      private Mode(String translationSuffix, GameMode defaultGameMode)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leti$b;<init>(Ljava/lang/String;ILjava/lang/String;Lcjt;)V
      intermediary <init> Lnet/minecraft/class_525$class_4539;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_1934;)V
      named <init> Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/world/GameMode;)V
  • Method Details

    • values

      public static CreateWorldScreen.Mode[] 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 CreateWorldScreen.Mode 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
    • asText

      public Text asText()
      Mappings:
      Namespace Name Mixin selector
      official a Leti$b;a()Lss;
      intermediary method_32673 Lnet/minecraft/class_525$class_4539;method_32673()Lnet/minecraft/class_2561;
      named asText Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;asText()Lnet/minecraft/text/Text;