Class DensityFunctionTypes
java.lang.Object
net.minecraft.world.gen.densityfunction.DensityFunctionTypes
- Mappings:
Namespace Name official dok
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
Ldok;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
Ldok;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
Ldok;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
Ldok;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
Ldok;a(Lit;)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
Ldok;a(Lit;Ljava/lang/String;Laui;)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
Ldok;a(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;Ljava/util/function/Function;)Laui;
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
Ldok;a(Ljava/util/function/Function;Ljava/util/function/Function;)Laui;
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
Ldok;a(Ljava/util/function/BiFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Laui;
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
Ldok;a(Lcom/mojang/serialization/MapCodec;)Laui;
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
Ldok;a(Ldoj;)Ldoj;
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
Ldok;b(Ldoj;)Ldoj;
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
Ldok;c(Ldoj;)Ldoj;
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
Ldok;d(Ldoj;)Ldoj;
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
Ldok;e(Ldoj;)Ldoj;
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
Ldok;a(Lih;DDDD)Ldoj;
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
Ldok;a(Lih;DDD)Ldoj;
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
Ldok;a(Lih;DD)Ldoj;
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
Ldok;a(Ldoj;Ldoj;DLih;)Ldoj;
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
Ldok;a(Lih;)Ldoj;
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
Ldok;b(Lih;DD)Ldoj;
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
Ldok;a(Lih;D)Ldoj;
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
Ldok;a(Ldoj;DDLdoj;Ldoj;)Ldoj;
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
Ldok;b(Lih;)Ldoj;
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
Ldok;c(Lih;)Ldoj;
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
Ldok;d(Lih;)Ldoj;
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
Ldok;f(Ldoj;)Ldoj;
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
Ldok;a(J)Ldoj;
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
Ldok;a(Ldoj;Lih;Ldok$z$a;)Ldoj;
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
Ldok;a(Ldoj;Ldoj;)Ldoj;
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
Ldok;b(Ldoj;Ldoj;)Ldoj;
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
Ldok;c(Ldoj;Ldoj;)Ldoj;
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
Ldok;d(Ldoj;Ldoj;)Ldoj;
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
Ldok;a(Latq;)Ldoj;
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
Ldok;a()Ldoj;
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
Ldok;a(D)Ldoj;
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
Ldok;a(IIDD)Ldoj;
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
Ldok;a(Ldoj;Ldok$k$a;)Ldoj;
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
Ldok;a(Ldoj;DD)Ldoj;
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
Ldok;b()Ldoj;
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
Ldok;c()Ldoj;
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
Ldok;a(Ldoj;Ldoj;Ldoj;)Ldoj;
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
Ldok;a(Ldoj;DLdoj;)Ldoj;
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;
-