net.minecraft.world.level.levelgen

public final class DensityFunctions

edk
net.minecraft.world.level.levelgen.DensityFunctions
net.minecraft.class_6916
net.minecraft.unmapped.C_mdkmcezi
net.minecraft.world.gen.densityfunction.DensityFunctionTypes
net.minecraft.world.gen.DensityFunctions
net.minecraft.src.C_206968_
net.minecraft.world.level.levelgen.DensityFunctions

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<DensityFunction>
c
CODEC
field_37062
f_ofybcvpy
DYNAMIC_RANGE
CODEC
f_208259_
protected static final double
a
MAX_REASONABLE_NOISE_VALUE
field_37060
f_ikpluaeq
MAX_CONSTANT_VALUE
MAX_REASONABLE_NOISE_VALUE
f_208257_
static final com.mojang.serialization.Codec<Double>
d
NOISE_VALUE_CODEC
field_37063
f_zreaxxak
CONSTANT_RANGE
NOISE_VALUE_CODEC
f_208260_
public static final com.mojang.serialization.Codec<DensityFunction>
b
DIRECT_CODEC
field_37061
f_ezohebie
CODEC
DIRECT_CODEC
f_208258_

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.MapCodec<? extends DensityFunction>
a(kd<com.mojang.serialization.MapCodec<? extends edj>> arg0)
bootstrap(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> arg0)
method_41066(class_2378<com.mojang.serialization.MapCodec<? extends class_6910>> arg0)
m_nsnpgtzo(C_tqxyjqsk<com.mojang.serialization.MapCodec<? extends C_kzwapyud>> arg0)
registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> registry)
bootstrap(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> registry)
m_208342_(C_4705_<com.mojang.serialization.MapCodec<? extends C_206962_>> p_208343_)
private static com.mojang.serialization.MapCodec<? extends DensityFunction>
a(kd<com.mojang.serialization.MapCodec<? extends edj>> arg0, String arg1, azx<? extends edj> arg2)
register(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> arg0, String arg1, KeyDispatchDataCodec<? extends DensityFunction> arg2)
method_41067(class_2378<com.mojang.serialization.MapCodec<? extends class_6910>> arg0, String arg1, class_7243<? extends class_6910> arg2)
m_yhzayeyi(C_tqxyjqsk<com.mojang.serialization.MapCodec<? extends C_kzwapyud>> arg0, String arg1, C_ircwepir<? extends C_kzwapyud> arg2)
register(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> registry, String id, CodecHolder<? extends DensityFunction> codecHolder)
register(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> registry, String id, CodecHolder<? extends DensityFunction> functionCodec)
m_224034_(C_4705_<com.mojang.serialization.MapCodec<? extends C_206962_>> p_224035_, String p_224036_, C_212972_<? extends C_206962_> p_224037_)
static <A, O> KeyDispatchDataCodec<O>
a(com.mojang.serialization.Codec<A> arg0, Function<A, O> arg1, Function<O, A> arg2)
singleArgumentCodec(com.mojang.serialization.Codec<A> arg0, Function<A, O> arg1, Function<O, A> arg2)
method_41064(com.mojang.serialization.Codec<A> arg0, Function<A, O> arg1, Function<O, A> arg2)
m_irznzryl(com.mojang.serialization.Codec<A> arg0, Function<A, O> arg1, Function<O, A> arg2)
holderOf(com.mojang.serialization.Codec<A> codec, Function<A, O> creator, Function<O, A> argumentGetter)
singleArgumentCodec(com.mojang.serialization.Codec<A> codec, Function<A, O> to, Function<O, A> from)
m_224024_(com.mojang.serialization.Codec<A> p_224025_, Function<A, O> p_224026_, Function<O, A> p_224027_)
static <O> KeyDispatchDataCodec<O>
a(Function<edj, O> arg0, Function<O, edj> arg1)
singleFunctionArgumentCodec(Function<DensityFunction, O> arg0, Function<O, DensityFunction> arg1)
method_41069(Function<class_6910, O> arg0, Function<O, class_6910> arg1)
m_zbjmzdyp(Function<C_kzwapyud, O> arg0, Function<O, C_kzwapyud> arg1)
holderOf(Function<DensityFunction, O> creator, Function<O, DensityFunction> argumentGetter)
singleFunctionArgumentCodec(Function<DensityFunction, O> to, Function<O, DensityFunction> from)
m_224042_(Function<C_206962_, O> p_224043_, Function<O, C_206962_> p_224044_)
static <O> KeyDispatchDataCodec<O>
a(BiFunction<edj, edj, O> arg0, Function<O, edj> arg1, Function<O, edj> arg2)
doubleFunctionArgumentCodec(BiFunction<DensityFunction, DensityFunction, O> arg0, Function<O, DensityFunction> arg1, Function<O, DensityFunction> arg2)
method_41068(BiFunction<class_6910, class_6910, O> arg0, Function<O, class_6910> arg1, Function<O, class_6910> arg2)
m_ewjecyar(BiFunction<C_kzwapyud, C_kzwapyud, O> arg0, Function<O, C_kzwapyud> arg1, Function<O, C_kzwapyud> arg2)
holderOf(BiFunction<DensityFunction, DensityFunction, O> creator, Function<O, DensityFunction> argument1Getter, Function<O, DensityFunction> argument2Getter)
doubleFunctionArgumentCodec(BiFunction<DensityFunction, DensityFunction, O> constructor, Function<O, DensityFunction> argument1, Function<O, DensityFunction> argument2)
m_224038_(BiFunction<C_206962_, C_206962_, O> p_224039_, Function<O, C_206962_> p_224040_, Function<O, C_206962_> p_224041_)
static <O> KeyDispatchDataCodec<O>
a(com.mojang.serialization.MapCodec<O> arg0)
makeCodec(com.mojang.serialization.MapCodec<O> arg0)
method_41065(com.mojang.serialization.MapCodec<O> arg0)
m_pvonorqa(com.mojang.serialization.MapCodec<O> arg0)
holderOf(com.mojang.serialization.MapCodec<O> mapCodec)
makeCodec(com.mojang.serialization.MapCodec<O> codec)
m_224028_(com.mojang.serialization.MapCodec<O> p_224029_)
public static DensityFunction
a(edj arg0)
interpolated(DensityFunction arg0)
method_40483(class_6910 arg0)
m_tykuysov(C_kzwapyud arg0)
interpolated(DensityFunction inputFunction)
interpolated(DensityFunction function)
m_208281_(C_206962_ p_208282_)
public static DensityFunction
b(edj arg0)
flatCache(DensityFunction arg0)
method_40499(class_6910 arg0)
m_mhoauvtb(C_kzwapyud arg0)
flatCache(DensityFunction inputFunction)
flatCache(DensityFunction function)
m_208361_(C_206962_ p_208362_)
public static DensityFunction
c(edj arg0)
cache2d(DensityFunction arg0)
method_40504(class_6910 arg0)
m_kjuqbsgg(C_kzwapyud arg0)
cache2d(DensityFunction inputFunction)
cache2D(DensityFunction function)
m_208373_(C_206962_ p_208374_)
public static DensityFunction
d(edj arg0)
cacheOnce(DensityFunction arg0)
method_40507(class_6910 arg0)
m_nqecyxgz(C_kzwapyud arg0)
cacheOnce(DensityFunction inputFunction)
cacheOnce(DensityFunction function)
m_208380_(C_206962_ p_208381_)
public static DensityFunction
e(edj arg0)
cacheAllInCell(DensityFunction arg0)
method_40510(class_6910 arg0)
m_skodlkvx(C_kzwapyud arg0)
cacheAllInCell(DensityFunction inputFunction)
cacheAllInCell(DensityFunction function)
m_208387_(C_206962_ p_208388_)
public static DensityFunction
a(jq<eta$a> arg0, double arg1, double arg2, double arg3, double arg4)
mappedNoise(Holder<NormalNoise$NoiseParameters> arg0, double arg1, double arg2, double arg3, double arg4)
method_40496(class_6880<class_5216$class_5487> arg0, double arg1, double arg2, double arg3, double arg4)
m_qwccqgbn(C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg0, double arg1, double arg2, double arg3, double arg4)
noiseInRange(RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters, double scaleXz, double scaleY, double min, double max)
mappedNoise(Holder<DoublePerlinNoiseSampler$NoiseParameters> noise, double horizontalScale, double verticalScale, double min, double max)
m_208336_(C_203228_<C_2663_$C_183032_> p_208337_, double p_208338_, double p_208340_, double arg3, double arg4)
public static DensityFunction
a(jq<eta$a> arg0, double arg1, double arg2, double arg3)
mappedNoise(Holder<NormalNoise$NoiseParameters> arg0, double arg1, double arg2, double arg3)
method_40497(class_6880<class_5216$class_5487> arg0, double arg1, double arg2, double arg3)
m_lwuiythu(C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg0, double arg1, double arg2, double arg3)
noiseInRange(RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters, double scaleY, double min, double max)
mappedNoise(Holder<DoublePerlinNoiseSampler$NoiseParameters> noise, double verticalScale, double min, double max)
m_208331_(C_203228_<C_2663_$C_183032_> p_208332_, double p_208333_, double p_208335_, double arg3)
public static DensityFunction
a(jq<eta$a> arg0, double arg1, double arg2)
mappedNoise(Holder<NormalNoise$NoiseParameters> arg0, double arg1, double arg2)
method_40495(class_6880<class_5216$class_5487> arg0, double arg1, double arg2)
m_icmhodbz(C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg0, double arg1, double arg2)
noiseInRange(RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters, double min, double max)
mappedNoise(Holder<DoublePerlinNoiseSampler$NoiseParameters> noise, double min, double max)
m_208327_(C_203228_<C_2663_$C_183032_> p_208328_, double p_208329_, double arg2)
public static DensityFunction
a(edj arg0, edj arg1, double arg2, jq<eta$a> arg3)
shiftedNoise2d(DensityFunction arg0, DensityFunction arg1, double arg2, Holder<NormalNoise$NoiseParameters> arg3)
method_40487(class_6910 arg0, class_6910 arg1, double arg2, class_6880<class_5216$class_5487> arg3)
m_diiubzxc(C_kzwapyud arg0, C_kzwapyud arg1, double arg2, C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg3)
shiftedNoise(DensityFunction shiftX, DensityFunction shiftZ, double xzScale, RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters)
shiftedNoise2d(DensityFunction shiftX, DensityFunction shiftZ, double scale, Holder<DoublePerlinNoiseSampler$NoiseParameters> noise)
m_208296_(C_206962_ p_208297_, C_206962_ p_208298_, double p_208299_, C_203228_<C_2663_$C_183032_> arg3)
public static DensityFunction
a(jq<eta$a> arg0)
noise(Holder<NormalNoise$NoiseParameters> arg0)
method_40493(class_6880<class_5216$class_5487> arg0)
m_qjocdzol(C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg0)
noise(RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters)
noise(Holder<DoublePerlinNoiseSampler$NoiseParameters> noise)
m_208322_(C_203228_<C_2663_$C_183032_> p_208323_)
public static DensityFunction
b(jq<eta$a> arg0, double arg1, double arg2)
noise(Holder<NormalNoise$NoiseParameters> arg0, double arg1, double arg2)
method_40502(class_6880<class_5216$class_5487> arg0, double arg1, double arg2)
m_okrngdwc(C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg0, double arg1, double arg2)
noise(RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters, double scaleXz, double scaleY)
noise(Holder<DoublePerlinNoiseSampler$NoiseParameters> noise, double horizontalScale, double verticalScale)
m_208368_(C_203228_<C_2663_$C_183032_> p_208369_, double p_208370_, double arg2)
public static DensityFunction
a(jq<eta$a> arg0, double arg1)
noise(Holder<NormalNoise$NoiseParameters> arg0, double arg1)
method_40494(class_6880<class_5216$class_5487> arg0, double arg1)
m_klpakgay(C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg0, double arg1)
noise(RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters, double scaleY)
noise(Holder<DoublePerlinNoiseSampler$NoiseParameters> noise, double verticalScale)
m_208324_(C_203228_<C_2663_$C_183032_> p_208325_, double p_208326_)
public static DensityFunction
a(edj arg0, double arg1, double arg2, edj arg3, edj arg4)
rangeChoice(DensityFunction arg0, double arg1, double arg2, DensityFunction arg3, DensityFunction arg4)
method_40485(class_6910 arg0, double arg1, double arg2, class_6910 arg3, class_6910 arg4)
m_nnktiwfj(C_kzwapyud arg0, double arg1, double arg2, C_kzwapyud arg3, C_kzwapyud arg4)
rangeChoice(DensityFunction input, double minInclusive, double maxExclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange)
rangeChoice(DensityFunction input, double minInclusive, double maxInclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange)
m_208287_(C_206962_ p_208288_, double p_208289_, double p_208291_, C_206962_ arg3, C_206962_ arg4)
public static DensityFunction
b(jq<eta$a> arg0)
shiftA(Holder<NormalNoise$NoiseParameters> arg0)
method_40501(class_6880<class_5216$class_5487> arg0)
m_khwsifkt(C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg0)
shiftA(RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters)
shiftX(Holder<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters)
m_208366_(C_203228_<C_2663_$C_183032_> p_208367_)
public static DensityFunction
c(jq<eta$a> arg0)
shiftB(Holder<NormalNoise$NoiseParameters> arg0)
method_40506(class_6880<class_5216$class_5487> arg0)
m_fezycrnr(C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg0)
shiftB(RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters)
shiftZ(Holder<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters)
m_208378_(C_203228_<C_2663_$C_183032_> p_208379_)
public static DensityFunction
d(jq<eta$a> arg0)
shift(Holder<NormalNoise$NoiseParameters> arg0)
method_40509(class_6880<class_5216$class_5487> arg0)
m_bnrcnkgf(C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg0)
shift(RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters)
shift(Holder<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters)
m_208385_(C_203228_<C_2663_$C_183032_> p_208386_)
public static DensityFunction
f(edj arg0)
blendDensity(DensityFunction arg0)
method_40512(class_6910 arg0)
m_akixioyj(C_kzwapyud arg0)
blendDensity(DensityFunction input)
blendDensity(DensityFunction input)
m_208389_(C_206962_ p_208390_)
public static DensityFunction
a(long arg0)
endIslands(long arg0)
method_40482(long arg0)
m_tofdnidr(long arg0)
endIslands(long seed)
endIslands(long random)
m_208271_(long p_208272_)
public static DensityFunction
a(edj arg0, jq<eta$a> arg1, edk$z$a arg2)
weirdScaledSampler(DensityFunction arg0, Holder<NormalNoise$NoiseParameters> arg1, DensityFunctions$WeirdScaledSampler$RarityValueMapper arg2)
method_40491(class_6910 arg0, class_6880<class_5216$class_5487> arg1, class_6916$class_6944$class_7048 arg2)
m_mbnvilep(C_kzwapyud arg0, C_cjzoxshv<C_rxrtfjrt$C_aldnfufr> arg1, C_mdkmcezi$C_ufxlyrzf$C_edgplzwm arg2)
weirdScaledSampler(DensityFunction input, RegistryEntry<DoublePerlinNoiseSampler$NoiseParameters> parameters, DensityFunctionTypes$WeirdScaledSampler$RarityValueMapper mapper)
weirdScaledSampler(DensityFunction function, Holder<DoublePerlinNoiseSampler$NoiseParameters> noiseParameters, DensityFunctions$WeirdScaledSampler$Type samplerType)
m_208315_(C_206962_ p_208316_, C_203228_<C_2663_$C_183032_> p_208317_, C_206968_$C_206971_$C_206972_ p_208318_)
public static DensityFunction
a(edj arg0, edj arg1)
add(DensityFunction arg0, DensityFunction arg1)
method_40486(class_6910 arg0, class_6910 arg1)
m_ovaexbma(C_kzwapyud arg0, C_kzwapyud arg1)
add(DensityFunction a, DensityFunction b)
add(DensityFunction function1, DensityFunction function2)
m_208293_(C_206962_ p_208294_, C_206962_ p_208295_)
public static DensityFunction
b(edj arg0, edj arg1)
mul(DensityFunction arg0, DensityFunction arg1)
method_40500(class_6910 arg0, class_6910 arg1)
m_mifrqffk(C_kzwapyud arg0, C_kzwapyud arg1)
mul(DensityFunction a, DensityFunction b)
multiply(DensityFunction function1, DensityFunction function2)
m_208363_(C_206962_ p_208364_, C_206962_ p_208365_)
public static DensityFunction
c(edj arg0, edj arg1)
min(DensityFunction arg0, DensityFunction arg1)
method_40505(class_6910 arg0, class_6910 arg1)
m_hpogshhq(C_kzwapyud arg0, C_kzwapyud arg1)
min(DensityFunction a, DensityFunction b)
min(DensityFunction function1, DensityFunction function2)
m_208375_(C_206962_ p_208376_, C_206962_ p_208377_)
public static DensityFunction
d(edj arg0, edj arg1)
max(DensityFunction arg0, DensityFunction arg1)
method_40508(class_6910 arg0, class_6910 arg1)
m_vgtncips(C_kzwapyud arg0, C_kzwapyud arg1)
max(DensityFunction a, DensityFunction b)
max(DensityFunction function1, DensityFunction function2)
m_208382_(C_206962_ p_208383_, C_206962_ p_208384_)
public static DensityFunction
a(azg<edk$w$b, edk$w$a> arg0)
spline(CubicSpline<DensityFunctions$Spline$Point, DensityFunctions$Spline$Coordinate> arg0)
method_41528(class_6492<class_6916$class_7076$class_7136, class_6916$class_7076$class_7135> arg0)
m_qomtwyfo(C_cjntsjzo<C_mdkmcezi$C_reffwscv$C_igtkgmnu, C_mdkmcezi$C_reffwscv$C_eljbykfw> arg0)
spline(Spline<DensityFunctionTypes$Spline$SplinePos, DensityFunctionTypes$Spline$DensityFunctionWrapper> spline)
copySpline(Spline<DensityFunctions$Spline$Point, DensityFunctions$Spline$FunctionWrapper> spline)
m_224020_(C_182769_<C_206968_$C_211142_$C_213137_, C_206968_$C_211142_$C_213136_> p_224021_)
public static DensityFunction
a()
zero()
method_40479()
m_harrkprv()
zero()
zero()
m_208263_()
public static DensityFunction
a(double arg0)
constant(double arg0)
method_40480(double arg0)
m_pfuzzaai(double arg0)
constant(double density)
constant(double value)
m_208264_(double p_208265_)
public static DensityFunction
a(int arg0, int arg1, double arg2, double arg3)
yClampedGradient(int arg0, int arg1, double arg2, double arg3)
method_40481(int arg0, int arg1, double arg2, double arg3)
m_gswmyjbd(int arg0, int arg1, double arg2, double arg3)
yClampedGradient(int fromY, int toY, double fromValue, double toValue)
clampedGradientY(int fromY, int toY, double fromValue, double toValue)
m_208266_(int p_208267_, int p_208268_, double p_208269_, double arg3)
public static DensityFunction
a(edj arg0, edk$k$a arg1)
map(DensityFunction arg0, DensityFunctions$Mapped$Type arg1)
method_40490(class_6910 arg0, class_6916$class_6925$class_6926 arg1)
m_qwpxedjm(C_kzwapyud arg0, C_mdkmcezi$C_ucbebgzr$C_vgrinicv arg1)
unary(DensityFunction input, DensityFunctionTypes$UnaryOperation$Type type)
mapped(DensityFunction input, DensityFunctions$Mapped$Type type)
m_208312_(C_206962_ p_208313_, C_206968_$C_206983_$C_206984_ p_208314_)
private static DensityFunction
a(edj arg0, double arg1, double arg2)
mapFromUnitTo(DensityFunction arg0, double arg1, double arg2)
method_40484(class_6910 arg0, double arg1, double arg2)
m_sswjlstj(C_kzwapyud arg0, double arg1, double arg2)
mapRange(DensityFunction function, double min, double max)
mapFromUnitToValue(DensityFunction value, double min, double max)
m_208283_(C_206962_ p_208284_, double p_208285_, double arg2)
public static DensityFunction
b()
blendAlpha()
method_40498()
m_nhcwyrbz()
blendAlpha()
blendAlpha()
m_208360_()
public static DensityFunction
c()
blendOffset()
method_40503()
m_ajxltzce()
blendOffset()
getBlendOffset()
m_208372_()
public static DensityFunction
a(edj arg0, edj arg1, edj arg2)
lerp(DensityFunction arg0, DensityFunction arg1, DensityFunction arg2)
method_40488(class_6910 arg0, class_6910 arg1, class_6910 arg2)
m_buzepfpr(C_kzwapyud arg0, C_kzwapyud arg1, C_kzwapyud arg2)
lerp(DensityFunction delta, DensityFunction start, DensityFunction end)
lerp(DensityFunction delta, DensityFunction start, DensityFunction end)
m_208301_(C_206962_ p_208302_, C_206962_ p_208303_, C_206962_ p_208304_)
public static DensityFunction
a(edj arg0, double arg1, edj arg2)
lerp(DensityFunction arg0, double arg1, DensityFunction arg2)
method_42359(class_6910 arg0, double arg1, class_6910 arg2)
m_grskizmk(C_kzwapyud arg0, double arg1, C_kzwapyud arg2)
lerp(DensityFunction delta, double start, DensityFunction end)
lerp(DensityFunction delta, double start, DensityFunction end)
m_224030_(C_206962_ p_224031_, double p_224032_, C_206962_ arg2)