Class DensityFunctionTypes
java.lang.Object
net.minecraft.world.gen.densityfunction.DensityFunctionTypes
- Mappings:
Namespace Name named net/minecraft/world/gen/densityfunction/DensityFunctionTypes
intermediary net/minecraft/class_6916
official dxq
-
Nested Class Summary
Nested ClassesModifier 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
FieldsModifier 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
Constructors -
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.MapCodec
<? extends DensityFunction> register
(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> registry, String id, CodecHolder<? extends DensityFunction> codecHolder) static com.mojang.serialization.MapCodec
<? extends DensityFunction> registerAndGetDefault
(Registry<com.mojang.serialization.MapCodec<? 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 named DYNAMIC_RANGE
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;DYNAMIC_RANGE:Lcom/mojang/serialization/Codec;
intermediary field_37062
Lnet/minecraft/class_6916;field_37062:Lcom/mojang/serialization/Codec;
official c
Ldxq;c:Lcom/mojang/serialization/Codec;
-
MAX_CONSTANT_VALUE
protected static final double MAX_CONSTANT_VALUE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_CONSTANT_VALUE
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;MAX_CONSTANT_VALUE:D
intermediary field_37060
Lnet/minecraft/class_6916;field_37060:D
official a
Ldxq;a:D
-
CONSTANT_RANGE
- Mappings:
Namespace Name Mixin selector named CONSTANT_RANGE
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;CONSTANT_RANGE:Lcom/mojang/serialization/Codec;
intermediary field_37063
Lnet/minecraft/class_6916;field_37063:Lcom/mojang/serialization/Codec;
official d
Ldxq;d:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_37061
Lnet/minecraft/class_6916;field_37061:Lcom/mojang/serialization/Codec;
official b
Ldxq;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
DensityFunctionTypes
private DensityFunctionTypes()
-
-
Method Details
-
registerAndGetDefault
public static com.mojang.serialization.MapCodec<? extends DensityFunction> registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> registry) - Mappings:
Namespace Name Mixin selector named registerAndGetDefault
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lcom/mojang/serialization/MapCodec;
intermediary method_41066
Lnet/minecraft/class_6916;method_41066(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/MapCodec;
official a
Ldxq;a(Ljv;)Lcom/mojang/serialization/MapCodec;
-
register
private static com.mojang.serialization.MapCodec<? extends DensityFunction> register(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> registry, String id, CodecHolder<? extends DensityFunction> codecHolder) - Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;register(Lnet/minecraft/registry/Registry;Ljava/lang/String;Lnet/minecraft/util/dynamic/CodecHolder;)Lcom/mojang/serialization/MapCodec;
intermediary method_41067
Lnet/minecraft/class_6916;method_41067(Lnet/minecraft/class_2378;Ljava/lang/String;Lnet/minecraft/class_7243;)Lcom/mojang/serialization/MapCodec;
official a
Ldxq;a(Ljv;Ljava/lang/String;Lays;)Lcom/mojang/serialization/MapCodec;
-
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 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;
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;
official a
Ldxq;a(Lcom/mojang/serialization/Codec;Ljava/util/function/Function;Ljava/util/function/Function;)Lays;
-
holderOf
static <O> CodecHolder<O> holderOf(Function<DensityFunction, O> creator, Function<O, DensityFunction> argumentGetter) - Mappings:
Namespace Name Mixin selector named holderOf
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;holderOf(Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/util/dynamic/CodecHolder;
intermediary method_41069
Lnet/minecraft/class_6916;method_41069(Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/class_7243;
official a
Ldxq;a(Ljava/util/function/Function;Ljava/util/function/Function;)Lays;
-
holderOf
static <O> CodecHolder<O> holderOf(BiFunction<DensityFunction, DensityFunction, O> creator, Function<O, DensityFunction> argument1Getter, Function<O, DensityFunction> argument2Getter) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Ldxq;a(Ljava/util/function/BiFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Lays;
-
holderOf
- Mappings:
Namespace Name Mixin selector named holderOf
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;holderOf(Lcom/mojang/serialization/MapCodec;)Lnet/minecraft/util/dynamic/CodecHolder;
intermediary method_41065
Lnet/minecraft/class_6916;method_41065(Lcom/mojang/serialization/MapCodec;)Lnet/minecraft/class_7243;
official a
Ldxq;a(Lcom/mojang/serialization/MapCodec;)Lays;
-
interpolated
- Mappings:
Namespace Name Mixin selector named interpolated
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;interpolated(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40483
Lnet/minecraft/class_6916;method_40483(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official a
Ldxq;a(Ldxp;)Ldxp;
-
flatCache
- Mappings:
Namespace Name Mixin selector named flatCache
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;flatCache(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40499
Lnet/minecraft/class_6916;method_40499(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official b
Ldxq;b(Ldxp;)Ldxp;
-
cache2d
- Mappings:
Namespace Name Mixin selector named cache2d
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;cache2d(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40504
Lnet/minecraft/class_6916;method_40504(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official c
Ldxq;c(Ldxp;)Ldxp;
-
cacheOnce
- Mappings:
Namespace Name Mixin selector named cacheOnce
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;cacheOnce(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40507
Lnet/minecraft/class_6916;method_40507(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official d
Ldxq;d(Ldxp;)Ldxp;
-
cacheAllInCell
- Mappings:
Namespace Name Mixin selector named cacheAllInCell
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;cacheAllInCell(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40510
Lnet/minecraft/class_6916;method_40510(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official e
Ldxq;e(Ldxp;)Ldxp;
-
noiseInRange
public static DensityFunction noiseInRange(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, @Deprecated double scaleXz, double scaleY, double min, double max) - Mappings:
Namespace Name Mixin selector named noiseInRange
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noiseInRange(Lnet/minecraft/registry/entry/RegistryEntry;DDDD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40496
Lnet/minecraft/class_6916;method_40496(Lnet/minecraft/class_6880;DDDD)Lnet/minecraft/class_6910;
official a
Ldxq;a(Lji;DDDD)Ldxp;
-
noiseInRange
public static DensityFunction noiseInRange(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleY, double min, double max) - Mappings:
Namespace Name Mixin selector named noiseInRange
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noiseInRange(Lnet/minecraft/registry/entry/RegistryEntry;DDD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40497
Lnet/minecraft/class_6916;method_40497(Lnet/minecraft/class_6880;DDD)Lnet/minecraft/class_6910;
official a
Ldxq;a(Lji;DDD)Ldxp;
-
noiseInRange
public static DensityFunction noiseInRange(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double min, double max) - Mappings:
Namespace Name Mixin selector named noiseInRange
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noiseInRange(Lnet/minecraft/registry/entry/RegistryEntry;DD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40495
Lnet/minecraft/class_6916;method_40495(Lnet/minecraft/class_6880;DD)Lnet/minecraft/class_6910;
official a
Ldxq;a(Lji;DD)Ldxp;
-
shiftedNoise
public static DensityFunction shiftedNoise(DensityFunction shiftX, DensityFunction shiftZ, double xzScale, RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Ldxq;a(Ldxp;Ldxp;DLji;)Ldxp;
-
noise
public static DensityFunction noise(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) - Mappings:
Namespace Name Mixin selector named noise
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noise(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40493
Lnet/minecraft/class_6916;method_40493(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
official a
Ldxq;a(Lji;)Ldxp;
-
noise
public static DensityFunction noise(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleXz, double scaleY) - Mappings:
Namespace Name Mixin selector named noise
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noise(Lnet/minecraft/registry/entry/RegistryEntry;DD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40502
Lnet/minecraft/class_6916;method_40502(Lnet/minecraft/class_6880;DD)Lnet/minecraft/class_6910;
official b
Ldxq;b(Lji;DD)Ldxp;
-
noise
public static DensityFunction noise(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleY) - Mappings:
Namespace Name Mixin selector named noise
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;noise(Lnet/minecraft/registry/entry/RegistryEntry;D)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40494
Lnet/minecraft/class_6916;method_40494(Lnet/minecraft/class_6880;D)Lnet/minecraft/class_6910;
official a
Ldxq;a(Lji;D)Ldxp;
-
rangeChoice
public static DensityFunction rangeChoice(DensityFunction input, double minInclusive, double maxExclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Ldxq;a(Ldxp;DDLdxp;Ldxp;)Ldxp;
-
shiftA
public static DensityFunction shiftA(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) - Mappings:
Namespace Name Mixin selector named shiftA
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;shiftA(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40501
Lnet/minecraft/class_6916;method_40501(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
official b
Ldxq;b(Lji;)Ldxp;
-
shiftB
public static DensityFunction shiftB(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) - Mappings:
Namespace Name Mixin selector named shiftB
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;shiftB(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40506
Lnet/minecraft/class_6916;method_40506(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
official c
Ldxq;c(Lji;)Ldxp;
-
shift
public static DensityFunction shift(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) - Mappings:
Namespace Name Mixin selector named shift
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;shift(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40509
Lnet/minecraft/class_6916;method_40509(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
official d
Ldxq;d(Lji;)Ldxp;
-
blendDensity
- Mappings:
Namespace Name Mixin selector named blendDensity
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;blendDensity(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40512
Lnet/minecraft/class_6916;method_40512(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official f
Ldxq;f(Ldxp;)Ldxp;
-
endIslands
- Mappings:
Namespace Name Mixin selector named endIslands
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;endIslands(J)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40482
Lnet/minecraft/class_6916;method_40482(J)Lnet/minecraft/class_6910;
official a
Ldxq;a(J)Ldxp;
-
weirdScaledSampler
public static DensityFunction weirdScaledSampler(DensityFunction input, RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> parameters, DensityFunctionTypes.WeirdScaledSampler.RarityValueMapper mapper) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Ldxq;a(Ldxp;Lji;Ldxq$z$a;)Ldxp;
-
add
- Mappings:
Namespace Name Mixin selector 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;
intermediary method_40486
Lnet/minecraft/class_6916;method_40486(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official a
Ldxq;a(Ldxp;Ldxp;)Ldxp;
-
mul
- Mappings:
Namespace Name Mixin selector 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;
intermediary method_40500
Lnet/minecraft/class_6916;method_40500(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official b
Ldxq;b(Ldxp;Ldxp;)Ldxp;
-
min
- Mappings:
Namespace Name Mixin selector 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;
intermediary method_40505
Lnet/minecraft/class_6916;method_40505(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official c
Ldxq;c(Ldxp;Ldxp;)Ldxp;
-
max
- Mappings:
Namespace Name Mixin selector 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;
intermediary method_40508
Lnet/minecraft/class_6916;method_40508(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official d
Ldxq;d(Ldxp;Ldxp;)Ldxp;
-
spline
public static DensityFunction spline(Spline<DensityFunctionTypes.Spline.SplinePos, DensityFunctionTypes.Spline.DensityFunctionWrapper> spline) - Mappings:
Namespace Name Mixin selector named spline
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;spline(Lnet/minecraft/util/math/Spline;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41528
Lnet/minecraft/class_6916;method_41528(Lnet/minecraft/class_6492;)Lnet/minecraft/class_6910;
official a
Ldxq;a(Laya;)Ldxp;
-
zero
- Mappings:
Namespace Name Mixin selector named zero
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;zero()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40479
Lnet/minecraft/class_6916;method_40479()Lnet/minecraft/class_6910;
official a
Ldxq;a()Ldxp;
-
constant
- Mappings:
Namespace Name Mixin selector named constant
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;constant(D)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40480
Lnet/minecraft/class_6916;method_40480(D)Lnet/minecraft/class_6910;
official a
Ldxq;a(D)Ldxp;
-
yClampedGradient
public static DensityFunction yClampedGradient(int fromY, int toY, double fromValue, double toValue) - Mappings:
Namespace Name Mixin selector named yClampedGradient
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;yClampedGradient(IIDD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40481
Lnet/minecraft/class_6916;method_40481(IIDD)Lnet/minecraft/class_6910;
official a
Ldxq;a(IIDD)Ldxp;
-
unary
public static DensityFunction unary(DensityFunction input, DensityFunctionTypes.UnaryOperation.Type type) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Ldxq;a(Ldxp;Ldxq$k$a;)Ldxp;
-
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 named mapRange
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;mapRange(Lnet/minecraft/world/gen/densityfunction/DensityFunction;DD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40484
Lnet/minecraft/class_6916;method_40484(Lnet/minecraft/class_6910;DD)Lnet/minecraft/class_6910;
official a
Ldxq;a(Ldxp;DD)Ldxp;
-
blendAlpha
- Mappings:
Namespace Name Mixin selector named blendAlpha
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;blendAlpha()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40498
Lnet/minecraft/class_6916;method_40498()Lnet/minecraft/class_6910;
official b
Ldxq;b()Ldxp;
-
blendOffset
- Mappings:
Namespace Name Mixin selector named blendOffset
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes;blendOffset()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40503
Lnet/minecraft/class_6916;method_40503()Lnet/minecraft/class_6910;
official c
Ldxq;c()Ldxp;
-
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 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;
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;
official a
Ldxq;a(Ldxp;Ldxp;Ldxp;)Ldxp;
-
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 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;
intermediary method_42359
Lnet/minecraft/class_6916;method_42359(Lnet/minecraft/class_6910;DLnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official a
Ldxq;a(Ldxp;DLdxp;)Ldxp;
-