Enum 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>, java.lang.constant.Constable
Enclosing class:
CreateWorldScreen

@Environment(CLIENT)
static enum CreateWorldScreen.Mode
extends Enum<CreateWorldScreen.Mode>
Mappings:
Namespace Name
official dyt$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 Ldyt$b;a:Ldyt$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 Ldyt$b;b:Ldyt$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 Ldyt$b;c:Ldyt$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 Ldyt$b;d:Ldyt$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

      private final String translationSuffix
      Mappings:
      Namespace Name Mixin selector
      official e Ldyt$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

      private final GameMode defaultGameMode
      Mappings:
      Namespace Name Mixin selector
      official f Ldyt$b;f:Lbts;
      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 Ldyt$b;g:Loi;
      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> Ldyt$b;<init>(Ljava/lang/String;ILjava/lang/String;Lbts;)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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CreateWorldScreen.Mode valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • asText

      public Text asText()
      Mappings:
      Namespace Name Mixin selector
      official a Ldyt$b;a()Loi;
      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;