Enum Class WorldCreator.Mode

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

@Environment(CLIENT) public static enum WorldCreator.Mode extends Enum<WorldCreator.Mode>
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/world/WorldCreator$Mode
intermediary net/minecraft/class_8100$class_4539
official fsr$a
  • Enum Constant Details

    • SURVIVAL

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

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

      public static final WorldCreator.Mode CREATIVE
      Mappings:
      Namespace Name Mixin selector
      named CREATIVE Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;CREATIVE:Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;
      intermediary field_20626 Lnet/minecraft/class_8100$class_4539;field_20626:Lnet/minecraft/class_8100$class_4539;
      official c Lfsr$a;c:Lfsr$a;
    • DEBUG

      public static final WorldCreator.Mode DEBUG
      Mappings:
      Namespace Name Mixin selector
      named DEBUG Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;DEBUG:Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;
      intermediary field_20627 Lnet/minecraft/class_8100$class_4539;field_20627:Lnet/minecraft/class_8100$class_4539;
      official d Lfsr$a;d:Lfsr$a;
  • Field Details

    • defaultGameMode

      public final GameMode defaultGameMode
      Mappings:
      Namespace Name Mixin selector
      named defaultGameMode Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;defaultGameMode:Lnet/minecraft/world/GameMode;
      intermediary field_20629 Lnet/minecraft/class_8100$class_4539;field_20629:Lnet/minecraft/class_1934;
      official e Lfsr$a;e:Ldcd;
    • name

      public final Text name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;name:Lnet/minecraft/text/Text;
      intermediary field_42224 Lnet/minecraft/class_8100$class_4539;field_42224:Lnet/minecraft/class_2561;
      official f Lfsr$a;f:Lwu;
    • info

      private final Text info
      Mappings:
      Namespace Name Mixin selector
      named info Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;info:Lnet/minecraft/text/Text;
      intermediary field_42225 Lnet/minecraft/class_8100$class_4539;field_42225:Lnet/minecraft/class_2561;
      official g Lfsr$a;g:Lwu;
  • Constructor Details

    • Mode

      private Mode(String name, GameMode defaultGameMode)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/world/GameMode;)V
      intermediary <init> Lnet/minecraft/class_8100$class_4539;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_1934;)V
      official <init> Lfsr$a;<init>(Ljava/lang/String;ILjava/lang/String;Ldcd;)V
  • Method Details

    • values

      public static WorldCreator.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 WorldCreator.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
    • getInfo

      public Text getInfo()
      Mappings:
      Namespace Name Mixin selector
      named getInfo Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;getInfo()Lnet/minecraft/text/Text;
      intermediary method_48736 Lnet/minecraft/class_8100$class_4539;method_48736()Lnet/minecraft/class_2561;
      official a Lfsr$a;a()Lwu;