Enum Class GenerationStep.Carver

java.lang.Object
java.lang.Enum<GenerationStep.Carver>
net.minecraft.world.gen.GenerationStep.Carver
All Implemented Interfaces:
Serializable, Comparable<GenerationStep.Carver>, Constable, StringIdentifiable
Enclosing class:
GenerationStep

public static enum GenerationStep.Carver extends Enum<GenerationStep.Carver> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/world/gen/GenerationStep$Carver
intermediary net/minecraft/class_2893$class_2894
official dxr$a
  • Enum Constant Details

    • AIR

      public static final GenerationStep.Carver AIR
      Mappings:
      Namespace Name Mixin selector
      named AIR Lnet/minecraft/world/gen/GenerationStep$Carver;AIR:Lnet/minecraft/world/gen/GenerationStep$Carver;
      intermediary field_13169 Lnet/minecraft/class_2893$class_2894;field_13169:Lnet/minecraft/class_2893$class_2894;
      official a Ldxr$a;a:Ldxr$a;
    • LIQUID

      public static final GenerationStep.Carver LIQUID
      Mappings:
      Namespace Name Mixin selector
      named LIQUID Lnet/minecraft/world/gen/GenerationStep$Carver;LIQUID:Lnet/minecraft/world/gen/GenerationStep$Carver;
      intermediary field_13166 Lnet/minecraft/class_2893$class_2894;field_13166:Lnet/minecraft/class_2893$class_2894;
      official b Ldxr$a;b:Ldxr$a;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<GenerationStep.Carver> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/GenerationStep$Carver;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_24770 Lnet/minecraft/class_2893$class_2894;field_24770:Lcom/mojang/serialization/Codec;
      official c Ldxr$a;c:Lcom/mojang/serialization/Codec;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/world/gen/GenerationStep$Carver;name:Ljava/lang/String;
      intermediary field_13167 Lnet/minecraft/class_2893$class_2894;field_13167:Ljava/lang/String;
      official d Ldxr$a;d:Ljava/lang/String;
  • Constructor Details

    • Carver

      private Carver(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/GenerationStep$Carver;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2893$class_2894;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Ldxr$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static GenerationStep.Carver[] 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 GenerationStep.Carver 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
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/world/gen/GenerationStep$Carver;getName()Ljava/lang/String;
      intermediary method_12581 Lnet/minecraft/class_2893$class_2894;method_12581()Ljava/lang/String;
      official a Ldxr$a;a()Ljava/lang/String;
    • 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
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazu;c()Ljava/lang/String;