net.minecraft.world.level.levelgen

public interface DensityFunction

ctp
net.minecraft.world.level.levelgen.DensityFunction
net.minecraft.class_6910
net.minecraft.world.gen.densityfunction.DensityFunction
net.minecraft.src.C_206962_
net.minecraft.world.level.levelgen.DensityFunction

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<DensityFunction>
b
DIRECT_CODEC
field_37057
field_37057
f_208216_
com.mojang.serialization.Codec<Holder<DensityFunction>>
c
CODEC
field_37058
REGISTRY_ENTRY_CODEC
f_208217_
com.mojang.serialization.Codec<DensityFunction>
d
HOLDER_HELPER_CODEC
field_37059
field_37059
f_208218_

Method summary

Modifier and TypeMethod
double
a(ctp$b arg0)
compute(DensityFunction$FunctionContext arg0)
method_40464(class_6910$class_6912 arg0)
sample(DensityFunction$NoisePos pos)
m_207386_(C_206962_$C_206964_ arg0)
void
a(double[] arg0, ctp$a arg1)
fillArray(double[] arg0, DensityFunction$ContextProvider arg1)
method_40470(double[] arg0, class_6910$class_6911 arg1)
method_40470(double[] arg0, DensityFunction$class_6911 arg1)
m_207362_(double[] p_208228_, C_206962_$C_206963_ arg1)
DensityFunction
a(ctp$e arg0)
mapAll(DensityFunction$Visitor arg0)
method_40469(class_6910$class_6915 arg0)
apply(DensityFunction$DensityFunctionVisitor visitor)
m_207456_(C_206962_$C_206967_ arg0)
double
a()
minValue()
comp_377()
minValue()
m_207402_()
double
b()
maxValue()
comp_378()
maxValue()
m_207401_()
com.mojang.serialization.Codec<? extends DensityFunction>
c()
codec()
method_41062()
getCodec()
m_207500_()
default DensityFunction
a(double arg0, double arg1)
clamp(double arg0, double arg1)
method_40468(double arg0, double arg1)
clamp(double min, double max)
m_208220_(double p_208222_, double arg1)
default DensityFunction
d()
abs()
method_40471()
abs()
m_208229_()
default DensityFunction
e()
square()
method_40472()
square()
m_208230_()
default DensityFunction
f()
cube()
method_40473()
cube()
m_208231_()
default DensityFunction
g()
halfNegative()
method_40474()
halfNegative()
m_208232_()
default DensityFunction
h()
quarterNegative()
method_40475()
quarterNegative()
m_208233_()
default DensityFunction
i()
squeeze()
method_40476()
squeeze()
m_208234_()