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
official eys$a
intermediary net/minecraft/class_8100$class_4539
named net/minecraft/client/gui/screen/world/WorldCreator$Mode
  • Enum Constant Details

    • SURVIVAL

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

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

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

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

    • defaultGameMode

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

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

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

    • Mode

      private Mode(String name, GameMode defaultGameMode)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leys$a;<init>(Ljava/lang/String;ILjava/lang/String;Lcmc;)V
      intermediary <init> Lnet/minecraft/class_8100$class_4539;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_1934;)V
      named <init> Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/world/GameMode;)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
      official a Leys$a;a()Lsw;
      intermediary method_48736 Lnet/minecraft/class_8100$class_4539;method_48736()Lnet/minecraft/class_2561;
      named getInfo Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;getInfo()Lnet/minecraft/text/Text;