Enum Class DensityFunctionTypes.UnaryOperation.Type

java.lang.Object
java.lang.Enum<DensityFunctionTypes.UnaryOperation.Type>
net.minecraft.world.gen.densityfunction.DensityFunctionTypes.UnaryOperation.Type
All Implemented Interfaces:
Serializable, Comparable<DensityFunctionTypes.UnaryOperation.Type>, Constable, StringIdentifiable
Enclosing class:
DensityFunctionTypes.UnaryOperation

static enum DensityFunctionTypes.UnaryOperation.Type extends Enum<DensityFunctionTypes.UnaryOperation.Type> implements StringIdentifiable
Mappings:
Namespace Name
official dhe$k$a
intermediary net/minecraft/class_6916$class_6925$class_6926
named net/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type
  • Enum Constant Details

    • ABS

      Mappings:
      Namespace Name Mixin selector
      official a Ldhe$k$a;a:Ldhe$k$a;
      intermediary field_36555 Lnet/minecraft/class_6916$class_6925$class_6926;field_36555:Lnet/minecraft/class_6916$class_6925$class_6926;
      named ABS Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;ABS:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;
    • SQUARE

      public static final DensityFunctionTypes.UnaryOperation.Type SQUARE
      Mappings:
      Namespace Name Mixin selector
      official b Ldhe$k$a;b:Ldhe$k$a;
      intermediary field_36556 Lnet/minecraft/class_6916$class_6925$class_6926;field_36556:Lnet/minecraft/class_6916$class_6925$class_6926;
      named SQUARE Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;SQUARE:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;
    • CUBE

      public static final DensityFunctionTypes.UnaryOperation.Type CUBE
      Mappings:
      Namespace Name Mixin selector
      official c Ldhe$k$a;c:Ldhe$k$a;
      intermediary field_36557 Lnet/minecraft/class_6916$class_6925$class_6926;field_36557:Lnet/minecraft/class_6916$class_6925$class_6926;
      named CUBE Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;CUBE:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;
    • HALF_NEGATIVE

      public static final DensityFunctionTypes.UnaryOperation.Type HALF_NEGATIVE
      Mappings:
      Namespace Name Mixin selector
      official d Ldhe$k$a;d:Ldhe$k$a;
      intermediary field_36558 Lnet/minecraft/class_6916$class_6925$class_6926;field_36558:Lnet/minecraft/class_6916$class_6925$class_6926;
      named HALF_NEGATIVE Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;HALF_NEGATIVE:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;
    • QUARTER_NEGATIVE

      public static final DensityFunctionTypes.UnaryOperation.Type QUARTER_NEGATIVE
      Mappings:
      Namespace Name Mixin selector
      official e Ldhe$k$a;e:Ldhe$k$a;
      intermediary field_36559 Lnet/minecraft/class_6916$class_6925$class_6926;field_36559:Lnet/minecraft/class_6916$class_6925$class_6926;
      named QUARTER_NEGATIVE Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;QUARTER_NEGATIVE:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;
    • SQUEEZE

      public static final DensityFunctionTypes.UnaryOperation.Type SQUEEZE
      Mappings:
      Namespace Name Mixin selector
      official f Ldhe$k$a;f:Ldhe$k$a;
      intermediary field_36560 Lnet/minecraft/class_6916$class_6925$class_6926;field_36560:Lnet/minecraft/class_6916$class_6925$class_6926;
      named SQUEEZE Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;SQUEEZE:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official g Ldhe$k$a;g:Ljava/lang/String;
      intermediary field_37086 Lnet/minecraft/class_6916$class_6925$class_6926;field_37086:Ljava/lang/String;
      named name Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;name:Ljava/lang/String;
    • codecHolder

      Mappings:
      Namespace Name Mixin selector
      official h Ldhe$k$a;h:Laou;
      intermediary field_37087 Lnet/minecraft/class_6916$class_6925$class_6926;field_37087:Lnet/minecraft/class_7243;
      named codecHolder Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;codecHolder:Lnet/minecraft/util/dynamic/CodecHolder;
  • Constructor Details

    • Type

      private Type(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldhe$k$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_6916$class_6925$class_6926;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static DensityFunctionTypes.UnaryOperation.Type[] 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 DensityFunctionTypes.UnaryOperation.Type 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
    • 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 Lapr;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;