Class DensityFunctionTypes
java.lang.Object
net.minecraft.world.gen.densityfunction.DensityFunctionTypes
- Mappings:
Namespace Name official dgt
intermediary net/minecraft/class_6916
named net/minecraft/world/gen/densityfunction/DensityFunctionTypes
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static enum
static interface
private static final record
(package private) static interface
protected static enum
private static final record
protected static enum
protected static final record
private static final record
protected static final class
private static final record
protected static final record
(package private) static interface
private static interface
private static final record
static final record
protected static final record
protected static final record
protected static final record
protected static final record
static final record
private static interface
protected static final record
protected static final record
static interface
protected static final record
private static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DensityFunction>
(package private) static final com.mojang.serialization.Codec<Double>
private static final com.mojang.serialization.Codec<DensityFunction>
protected static final double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DensityFunction
static DensityFunction
static DensityFunction
blendDensity
(DensityFunction input) static DensityFunction
static DensityFunction
cache2d
(DensityFunction inputFunction) static DensityFunction
cacheAllInCell
(DensityFunction inputFunction) static DensityFunction
cacheOnce
(DensityFunction inputFunction) static DensityFunction
constant
(double density) static DensityFunction
endIslands
(long seed) static DensityFunction
flatCache
(DensityFunction inputFunction) (package private) static <A,
O> CodecHolder<O> holderOf
(com.mojang.serialization.Codec<A> codec, Function<A, O> creator, Function<O, A> argumentGetter) (package private) static <O> CodecHolder<O>
holderOf
(com.mojang.serialization.MapCodec<O> mapCodec) (package private) static <O> CodecHolder<O>
holderOf
(BiFunction<DensityFunction, DensityFunction, O> creator, Function<O, DensityFunction> argument1Getter, Function<O, DensityFunction> argument2Getter) (package private) static <O> CodecHolder<O>
holderOf
(Function<DensityFunction, O> creator, Function<O, DensityFunction> argumentGetter) static DensityFunction
interpolated
(DensityFunction inputFunction) static DensityFunction
lerp
(DensityFunction delta, double start, DensityFunction end) Creates a new density function which interpolates between the values ofstart
andend
, based ondelta
.static DensityFunction
lerp
(DensityFunction delta, DensityFunction start, DensityFunction end) Creates a new density function which interpolates between the values ofstart
andend
, based ondelta
.private static DensityFunction
mapRange
(DensityFunction function, double min, double max) Creates a new density function based onfunction
, but with a different range.static DensityFunction
static DensityFunction
static DensityFunction
static DensityFunction
noise
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) static DensityFunction
noise
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleY) static DensityFunction
noise
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleXz, double scaleY) static DensityFunction
noiseInRange
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double min, double max) static DensityFunction
noiseInRange
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleY, double min, double max) static DensityFunction
noiseInRange
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleXz, double scaleY, double min, double max) static DensityFunction
rangeChoice
(DensityFunction input, double minInclusive, double maxExclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange) private static com.mojang.serialization.Codec<? extends DensityFunction>
register
(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> registry, String id, CodecHolder<? extends DensityFunction> codecHolder) static com.mojang.serialization.Codec<? extends DensityFunction>
registerAndGetDefault
(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> registry) static DensityFunction
shift
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) static DensityFunction
shiftA
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) static DensityFunction
shiftB
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) static DensityFunction
shiftedNoise
(DensityFunction shiftX, DensityFunction shiftZ, double xzScale, RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) static DensityFunction
spline
(Spline<DensityFunctionTypes.Spline.SplinePos, DensityFunctionTypes.Spline.DensityFunctionWrapper> spline) static DensityFunction
unary
(DensityFunction input, DensityFunctionTypes.UnaryOperation.Type type) static DensityFunction
weirdScaledSampler
(DensityFunction input, RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> parameters, DensityFunctionTypes.WeirdScaledSampler.RarityValueMapper mapper) static DensityFunction
yClampedGradient
(int fromY, int toY, double fromValue, double toValue) static DensityFunction
zero()
-
Field Details
-
DYNAMIC_RANGE
- Mappings:
Namespace Name Mixin selector official c
Ldgt;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
Ldgt;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
- Mappings:
Namespace Name Mixin selector official d
Ldgt;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
- Mappings:
Namespace Name Mixin selector official b
Ldgt;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
Ldgt;a(Lhq;)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
Ldgt;a(Lhq;Ljava/lang/String;Lapd;)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
Ldgt;a(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;Ljava/util/function/Function;)Lapd;
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
Ldgt;a(Ljava/util/function/Function;Ljava/util/function/Function;)Lapd;
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
Ldgt;a(Ljava/util/function/BiFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Lapd;
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
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Lcom/mojang/serialization/MapCodec;)Lapd;
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
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Ldgs;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official b
Ldgt;b(Ldgs;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official c
Ldgt;c(Ldgs;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official d
Ldgt;d(Ldgs;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official e
Ldgt;e(Ldgs;)Ldgs;
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
Ldgt;a(Lhd;DDDD)Ldgs;
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
Ldgt;a(Lhd;DDD)Ldgs;
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
Ldgt;a(Lhd;DD)Ldgs;
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
Ldgt;a(Ldgs;Ldgs;DLhd;)Ldgs;
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
public static DensityFunction noise(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) - Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Lhd;)Ldgs;
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
Ldgt;b(Lhd;DD)Ldgs;
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
Ldgt;a(Lhd;D)Ldgs;
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
Ldgt;a(Ldgs;DDLdgs;Ldgs;)Ldgs;
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
public static DensityFunction shiftA(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) - Mappings:
Namespace Name Mixin selector official b
Ldgt;b(Lhd;)Ldgs;
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
public static DensityFunction shiftB(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) - Mappings:
Namespace Name Mixin selector official c
Ldgt;c(Lhd;)Ldgs;
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
public static DensityFunction shift(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) - Mappings:
Namespace Name Mixin selector official d
Ldgt;d(Lhd;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official f
Ldgt;f(Ldgs;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a(J)Ldgs;
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
public static DensityFunction weirdScaledSampler(DensityFunction input, RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> parameters, DensityFunctionTypes.WeirdScaledSampler.RarityValueMapper mapper) - Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Ldgs;Lhd;Ldgt$z$a;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Ldgs;Ldgs;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official b
Ldgt;b(Ldgs;Ldgs;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official c
Ldgt;c(Ldgs;Ldgs;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official d
Ldgt;d(Ldgs;Ldgs;)Ldgs;
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
public static DensityFunction spline(Spline<DensityFunctionTypes.Spline.SplinePos, DensityFunctionTypes.Spline.DensityFunctionWrapper> spline) - Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Laon;)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a()Ldgs;
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
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a(D)Ldgs;
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
Ldgt;a(IIDD)Ldgs;
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
public static DensityFunction unary(DensityFunction input, DensityFunctionTypes.UnaryOperation.Type type) - Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Ldgs;Ldgt$k$a;)Ldgs;
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
Creates a new density function based onfunction
, but with a different range.function
is assumed to be in the range-1.0
to1.0
, while the new function will be in the rangemin
tomax
.- Parameters:
min
- the new minimum valuemax
- the new maximum value- Returns:
- the created density function
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Ldgs;DD)Ldgs;
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
- Mappings:
Namespace Name Mixin selector official b
Ldgt;b()Ldgs;
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
- Mappings:
Namespace Name Mixin selector official c
Ldgt;c()Ldgs;
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 ofstart
andend
, based ondelta
.- Parameters:
delta
- the function used for the delta valuestart
- the function used for the start value, for thedelta
value0.0
end
- the function used for the end value, for thedelta
value1.0
- Returns:
- the created density function
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Ldgs;Ldgs;Ldgs;)Ldgs;
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
Creates a new density function which interpolates between the values ofstart
andend
, based ondelta
.- Parameters:
start
- the start value, for thedelta
value0.0
end
- the function used for the end value, for thedelta
value1.0
- Returns:
- the created density function
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Ldgs;DLdgs;)Ldgs;
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;
-