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
official dgy$a
intermediary net/minecraft/class_2893$class_2894
named net/minecraft/world/gen/GenerationStep$Carver
  • Enum Constant Details

    • AIR

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

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

    • CODEC

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

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

    • Carver

      private Carver(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldgy$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2893$class_2894;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/world/gen/GenerationStep$Carver;<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
      official a Ldgy$a;a()Ljava/lang/String;
      intermediary method_12581 Lnet/minecraft/class_2893$class_2894;method_12581()Ljava/lang/String;
      named getName Lnet/minecraft/world/gen/GenerationStep$Carver;getName()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
      official c Lapp;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;