Enum Class DensityFunctionTypes.WeirdScaledSampler.RarityValueMapper

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

public static enum DensityFunctionTypes.WeirdScaledSampler.RarityValueMapper extends Enum<DensityFunctionTypes.WeirdScaledSampler.RarityValueMapper> implements StringIdentifiable
Mappings:
Namespace Name
official ddv$z$a
intermediary net/minecraft/class_6916$class_6944$class_7048
named net/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper
  • Enum Constant Details

    • TYPE1

      Mappings:
      Namespace Name Mixin selector
      official a Lddv$z$a;a:Lddv$z$a;
      intermediary field_37066 Lnet/minecraft/class_6916$class_6944$class_7048;field_37066:Lnet/minecraft/class_6916$class_6944$class_7048;
      named TYPE1 Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper;TYPE1:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper;
    • TYPE2

      Mappings:
      Namespace Name Mixin selector
      official b Lddv$z$a;b:Lddv$z$a;
      intermediary field_37067 Lnet/minecraft/class_6916$class_6944$class_7048;field_37067:Lnet/minecraft/class_6916$class_6944$class_7048;
      named TYPE2 Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper;TYPE2:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper;
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      official c Lddv$z$a;c:Lcom/mojang/serialization/Codec;
      intermediary field_37068 Lnet/minecraft/class_6916$class_6944$class_7048;field_37068:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper;CODEC:Lcom/mojang/serialization/Codec;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official d Lddv$z$a;d:Ljava/lang/String;
      intermediary field_37070 Lnet/minecraft/class_6916$class_6944$class_7048;field_37070:Ljava/lang/String;
      named name Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper;name:Ljava/lang/String;
    • scaleFunction

      final Double2DoubleFunction scaleFunction
      Mappings:
      Namespace Name Mixin selector
      official e Lddv$z$a;e:Lit/unimi/dsi/fastutil/doubles/Double2DoubleFunction;
      intermediary field_37071 Lnet/minecraft/class_6916$class_6944$class_7048;field_37071:Lit/unimi/dsi/fastutil/doubles/Double2DoubleFunction;
      named scaleFunction Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper;scaleFunction:Lit/unimi/dsi/fastutil/doubles/Double2DoubleFunction;
    • maxValueMultiplier

      final double maxValueMultiplier
      Mappings:
      Namespace Name Mixin selector
      official f Lddv$z$a;f:D
      intermediary field_37072 Lnet/minecraft/class_6916$class_6944$class_7048;field_37072:D
      named maxValueMultiplier Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper;maxValueMultiplier:D
  • Constructor Details

    • RarityValueMapper

      private RarityValueMapper(String name, Double2DoubleFunction scaleFunction, double maxValueMultiplier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddv$z$a;<init>(Ljava/lang/String;ILjava/lang/String;Lit/unimi/dsi/fastutil/doubles/Double2DoubleFunction;D)V
      intermediary <init> Lnet/minecraft/class_6916$class_6944$class_7048;<init>(Ljava/lang/String;ILjava/lang/String;Lit/unimi/dsi/fastutil/doubles/Double2DoubleFunction;D)V
      named <init> Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper;<init>(Ljava/lang/String;ILjava/lang/String;Lit/unimi/dsi/fastutil/doubles/Double2DoubleFunction;D)V
  • Method Details

    • 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

      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 Laor;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;