Class DensityFunctionTypes

java.lang.Object
net.minecraft.world.gen.densityfunction.DensityFunctionTypes

public final class DensityFunctionTypes extends Object
Mappings:
Namespace Name
official ddv
intermediary net/minecraft/class_6916
named net/minecraft/world/gen/densityfunction/DensityFunctionTypes
  • Field Details

    • DYNAMIC_RANGE

      private static final com.mojang.serialization.Codec<DensityFunction> DYNAMIC_RANGE
      Mappings:
      Namespace Name Mixin selector
      official c Lddv;c:Lcom/mojang/serialization/Codec;
      intermediary field_37062 Lnet/minecraft/class_6916;field_37062:Lcom/mojang/serialization/Codec;
      named DYNAMIC_RANGE Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;DYNAMIC_RANGE:Lcom/mojang/serialization/Codec;
    • MAX_CONSTANT_VALUE

      protected static final double MAX_CONSTANT_VALUE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a:D
      intermediary field_37060 Lnet/minecraft/class_6916;field_37060:D
      named MAX_CONSTANT_VALUE Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;MAX_CONSTANT_VALUE:D
    • CONSTANT_RANGE

      static final com.mojang.serialization.Codec<Double> CONSTANT_RANGE
      Mappings:
      Namespace Name Mixin selector
      official d Lddv;d:Lcom/mojang/serialization/Codec;
      intermediary field_37063 Lnet/minecraft/class_6916;field_37063:Lcom/mojang/serialization/Codec;
      named CONSTANT_RANGE Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;CONSTANT_RANGE:Lcom/mojang/serialization/Codec;
    • CODEC

      public static final com.mojang.serialization.Codec<DensityFunction> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lddv;b:Lcom/mojang/serialization/Codec;
      intermediary field_37061 Lnet/minecraft/class_6916;field_37061:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;CODEC:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • DensityFunctionTypes

      private DensityFunctionTypes()
  • Method Details

    • registerAndGetDefault

      public static com.mojang.serialization.Codec<? extends DensityFunction> registerAndGetDefault(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lhm;)Lcom/mojang/serialization/Codec;
      intermediary method_41066 Lnet/minecraft/class_6916;method_41066(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/Codec;
      named registerAndGetDefault Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lcom/mojang/serialization/Codec;
    • register

      private static com.mojang.serialization.Codec<? extends DensityFunction> register(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> registry, String id, CodecHolder<? extends DensityFunction> codecHolder)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lhm;Ljava/lang/String;Lanw;)Lcom/mojang/serialization/Codec;
      intermediary method_41067 Lnet/minecraft/class_6916;method_41067(Lnet/minecraft/class_2378;Ljava/lang/String;Lnet/minecraft/class_7243;)Lcom/mojang/serialization/Codec;
      named register Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;register(Lnet/minecraft/registry/Registry;Ljava/lang/String;Lnet/minecraft/util/dynamic/CodecHolder;)Lcom/mojang/serialization/Codec;
    • holderOf

      static <A, O> CodecHolder<O> holderOf(com.mojang.serialization.Codec<A> codec, Function<A,O> creator, Function<O,A> argumentGetter)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;Ljava/util/function/Function;)Lanw;
      intermediary method_41064 Lnet/minecraft/class_6916;method_41064(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/class_7243;
      named holderOf Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;holderOf(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/util/dynamic/CodecHolder;
    • holderOf

      static <O> CodecHolder<O> holderOf(Function<DensityFunction,O> creator, Function<O,DensityFunction> argumentGetter)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Ljava/util/function/Function;Ljava/util/function/Function;)Lanw;
      intermediary method_41069 Lnet/minecraft/class_6916;method_41069(Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/class_7243;
      named holderOf Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;holderOf(Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/util/dynamic/CodecHolder;
    • holderOf

      static <O> CodecHolder<O> holderOf(BiFunction<DensityFunction,DensityFunction,O> creator, Function<O,DensityFunction> argument1Getter, Function<O,DensityFunction> argument2Getter)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Ljava/util/function/BiFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Lanw;
      intermediary method_41068 Lnet/minecraft/class_6916;method_41068(Ljava/util/function/BiFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/class_7243;
      named holderOf Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;holderOf(Ljava/util/function/BiFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/util/dynamic/CodecHolder;
    • holderOf

      static <O> CodecHolder<O> holderOf(com.mojang.serialization.MapCodec<O> mapCodec)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lcom/mojang/serialization/MapCodec;)Lanw;
      intermediary method_41065 Lnet/minecraft/class_6916;method_41065(Lcom/mojang/serialization/MapCodec;)Lnet/minecraft/class_7243;
      named holderOf Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;holderOf(Lcom/mojang/serialization/MapCodec;)Lnet/minecraft/util/dynamic/CodecHolder;
    • interpolated

      public static DensityFunction interpolated(DensityFunction inputFunction)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lddu;)Lddu;
      intermediary method_40483 Lnet/minecraft/class_6916;method_40483(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named interpolated Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;interpolated(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • flatCache

      public static DensityFunction flatCache(DensityFunction inputFunction)
      Mappings:
      Namespace Name Mixin selector
      official b Lddv;b(Lddu;)Lddu;
      intermediary method_40499 Lnet/minecraft/class_6916;method_40499(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named flatCache Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;flatCache(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • cache2d

      public static DensityFunction cache2d(DensityFunction inputFunction)
      Mappings:
      Namespace Name Mixin selector
      official c Lddv;c(Lddu;)Lddu;
      intermediary method_40504 Lnet/minecraft/class_6916;method_40504(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named cache2d Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;cache2d(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • cacheOnce

      public static DensityFunction cacheOnce(DensityFunction inputFunction)
      Mappings:
      Namespace Name Mixin selector
      official d Lddv;d(Lddu;)Lddu;
      intermediary method_40507 Lnet/minecraft/class_6916;method_40507(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named cacheOnce Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;cacheOnce(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • cacheAllInCell

      public static DensityFunction cacheAllInCell(DensityFunction inputFunction)
      Mappings:
      Namespace Name Mixin selector
      official e Lddv;e(Lddu;)Lddu;
      intermediary method_40510 Lnet/minecraft/class_6916;method_40510(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named cacheAllInCell Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;cacheAllInCell(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • noiseInRange

      public static DensityFunction noiseInRange(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, @Deprecated double scaleXz, double scaleY, double min, double max)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lgz;DDDD)Lddu;
      intermediary method_40496 Lnet/minecraft/class_6916;method_40496(Lnet/minecraft/class_6880;DDDD)Lnet/minecraft/class_6910;
      named noiseInRange Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noiseInRange(Lnet/minecraft/registry/entry/RegistryEntry;DDDD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • noiseInRange

      public static DensityFunction noiseInRange(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleY, double min, double max)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lgz;DDD)Lddu;
      intermediary method_40497 Lnet/minecraft/class_6916;method_40497(Lnet/minecraft/class_6880;DDD)Lnet/minecraft/class_6910;
      named noiseInRange Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noiseInRange(Lnet/minecraft/registry/entry/RegistryEntry;DDD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • noiseInRange

      public static DensityFunction noiseInRange(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double min, double max)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lgz;DD)Lddu;
      intermediary method_40495 Lnet/minecraft/class_6916;method_40495(Lnet/minecraft/class_6880;DD)Lnet/minecraft/class_6910;
      named noiseInRange Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noiseInRange(Lnet/minecraft/registry/entry/RegistryEntry;DD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • shiftedNoise

      public static DensityFunction shiftedNoise(DensityFunction shiftX, DensityFunction shiftZ, double xzScale, RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lddu;Lddu;DLgz;)Lddu;
      intermediary method_40487 Lnet/minecraft/class_6916;method_40487(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;DLnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
      named shiftedNoise Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;shiftedNoise(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;DLnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • noise

      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lgz;)Lddu;
      intermediary method_40493 Lnet/minecraft/class_6916;method_40493(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
      named noise Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noise(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • noise

      public static DensityFunction noise(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleXz, double scaleY)
      Mappings:
      Namespace Name Mixin selector
      official b Lddv;b(Lgz;DD)Lddu;
      intermediary method_40502 Lnet/minecraft/class_6916;method_40502(Lnet/minecraft/class_6880;DD)Lnet/minecraft/class_6910;
      named noise Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noise(Lnet/minecraft/registry/entry/RegistryEntry;DD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • noise

      public static DensityFunction noise(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleY)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lgz;D)Lddu;
      intermediary method_40494 Lnet/minecraft/class_6916;method_40494(Lnet/minecraft/class_6880;D)Lnet/minecraft/class_6910;
      named noise Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noise(Lnet/minecraft/registry/entry/RegistryEntry;D)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • rangeChoice

      public static DensityFunction rangeChoice(DensityFunction input, double minInclusive, double maxExclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lddu;DDLddu;Lddu;)Lddu;
      intermediary method_40485 Lnet/minecraft/class_6916;method_40485(Lnet/minecraft/class_6910;DDLnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named rangeChoice Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;rangeChoice(Lnet/minecraft/world/gen/densityfunction/DensityFunction;DDLnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • shiftA

      Mappings:
      Namespace Name Mixin selector
      official b Lddv;b(Lgz;)Lddu;
      intermediary method_40501 Lnet/minecraft/class_6916;method_40501(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
      named shiftA Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;shiftA(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • shiftB

      Mappings:
      Namespace Name Mixin selector
      official c Lddv;c(Lgz;)Lddu;
      intermediary method_40506 Lnet/minecraft/class_6916;method_40506(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
      named shiftB Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;shiftB(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • shift

      Mappings:
      Namespace Name Mixin selector
      official d Lddv;d(Lgz;)Lddu;
      intermediary method_40509 Lnet/minecraft/class_6916;method_40509(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
      named shift Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;shift(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • blendDensity

      public static DensityFunction blendDensity(DensityFunction input)
      Mappings:
      Namespace Name Mixin selector
      official f Lddv;f(Lddu;)Lddu;
      intermediary method_40512 Lnet/minecraft/class_6916;method_40512(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named blendDensity Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;blendDensity(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • endIslands

      public static DensityFunction endIslands(long seed)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(J)Lddu;
      intermediary method_40482 Lnet/minecraft/class_6916;method_40482(J)Lnet/minecraft/class_6910;
      named endIslands Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;endIslands(J)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • weirdScaledSampler

      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lddu;Lgz;Lddv$z$a;)Lddu;
      intermediary method_40491 Lnet/minecraft/class_6916;method_40491(Lnet/minecraft/class_6910;Lnet/minecraft/class_6880;Lnet/minecraft/class_6916$class_6944$class_7048;)Lnet/minecraft/class_6910;
      named weirdScaledSampler Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;weirdScaledSampler(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • add

      public static DensityFunction add(DensityFunction a, DensityFunction b)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lddu;Lddu;)Lddu;
      intermediary method_40486 Lnet/minecraft/class_6916;method_40486(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named add Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;add(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • mul

      public static DensityFunction mul(DensityFunction a, DensityFunction b)
      Mappings:
      Namespace Name Mixin selector
      official b Lddv;b(Lddu;Lddu;)Lddu;
      intermediary method_40500 Lnet/minecraft/class_6916;method_40500(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named mul Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;mul(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • min

      public static DensityFunction min(DensityFunction a, DensityFunction b)
      Mappings:
      Namespace Name Mixin selector
      official c Lddv;c(Lddu;Lddu;)Lddu;
      intermediary method_40505 Lnet/minecraft/class_6916;method_40505(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named min Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;min(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • max

      public static DensityFunction max(DensityFunction a, DensityFunction b)
      Mappings:
      Namespace Name Mixin selector
      official d Lddv;d(Lddu;Lddu;)Lddu;
      intermediary method_40508 Lnet/minecraft/class_6916;method_40508(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named max Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;max(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • spline

      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lang;)Lddu;
      intermediary method_41528 Lnet/minecraft/class_6916;method_41528(Lnet/minecraft/class_6492;)Lnet/minecraft/class_6910;
      named spline Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;spline(Lnet/minecraft/util/math/Spline;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • zero

      public static DensityFunction zero()
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a()Lddu;
      intermediary method_40479 Lnet/minecraft/class_6916;method_40479()Lnet/minecraft/class_6910;
      named zero Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;zero()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • constant

      public static DensityFunction constant(double density)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(D)Lddu;
      intermediary method_40480 Lnet/minecraft/class_6916;method_40480(D)Lnet/minecraft/class_6910;
      named constant Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;constant(D)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • yClampedGradient

      public static DensityFunction yClampedGradient(int fromY, int toY, double fromValue, double toValue)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(IIDD)Lddu;
      intermediary method_40481 Lnet/minecraft/class_6916;method_40481(IIDD)Lnet/minecraft/class_6910;
      named yClampedGradient Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;yClampedGradient(IIDD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • unary

      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lddu;Lddv$k$a;)Lddu;
      intermediary method_40490 Lnet/minecraft/class_6916;method_40490(Lnet/minecraft/class_6910;Lnet/minecraft/class_6916$class_6925$class_6926;)Lnet/minecraft/class_6910;
      named unary Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;unary(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$UnaryOperation$Type;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • mapRange

      private static DensityFunction mapRange(DensityFunction function, double min, double max)
      Creates a new density function based on function, but with a different range. function is assumed to be in the range -1.0 to 1.0, while the new function will be in the range min to max.
      Parameters:
      min - the new minimum value
      max - the new maximum value
      Returns:
      the created density function
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lddu;DD)Lddu;
      intermediary method_40484 Lnet/minecraft/class_6916;method_40484(Lnet/minecraft/class_6910;DD)Lnet/minecraft/class_6910;
      named mapRange Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;mapRange(Lnet/minecraft/world/gen/densityfunction/DensityFunction;DD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • blendAlpha

      public static DensityFunction blendAlpha()
      Mappings:
      Namespace Name Mixin selector
      official b Lddv;b()Lddu;
      intermediary method_40498 Lnet/minecraft/class_6916;method_40498()Lnet/minecraft/class_6910;
      named blendAlpha Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;blendAlpha()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • blendOffset

      public static DensityFunction blendOffset()
      Mappings:
      Namespace Name Mixin selector
      official c Lddv;c()Lddu;
      intermediary method_40503 Lnet/minecraft/class_6916;method_40503()Lnet/minecraft/class_6910;
      named blendOffset Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;blendOffset()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • lerp

      public static DensityFunction lerp(DensityFunction delta, DensityFunction start, DensityFunction end)
      Creates a new density function which interpolates between the values of start and end, based on delta.
      Parameters:
      delta - the function used for the delta value
      start - the function used for the start value, for the delta value 0.0
      end - the function used for the end value, for the delta value 1.0
      Returns:
      the created density function
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lddu;Lddu;Lddu;)Lddu;
      intermediary method_40488 Lnet/minecraft/class_6916;method_40488(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named lerp Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;lerp(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
    • lerp

      public static DensityFunction lerp(DensityFunction delta, double start, DensityFunction end)
      Creates a new density function which interpolates between the values of start and end, based on delta.
      Parameters:
      start - the start value, for the delta value 0.0
      end - the function used for the end value, for the delta value 1.0
      Returns:
      the created density function
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(Lddu;DLddu;)Lddu;
      intermediary method_42359 Lnet/minecraft/class_6916;method_42359(Lnet/minecraft/class_6910;DLnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
      named lerp Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;lerp(Lnet/minecraft/world/gen/densityfunction/DensityFunction;DLnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;