net.minecraft.world.level.levelgen

public interface DensityFunction

ecm
net.minecraft.world.level.levelgen.DensityFunction
net.minecraft.class_6910
net.minecraft.world.gen.densityfunction.DensityFunction
net.minecraft.world.level.levelgen.DensityFunction

Field summary

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

Method summary

Modifier and TypeMethod
double
a(ecm$b arg0)
compute(DensityFunction$FunctionContext arg0)
method_40464(class_6910$class_6912 arg0)
sample(DensityFunction$NoisePos pos)
void
a(double[] arg0, ecm$a arg1)
fillArray(double[] arg0, DensityFunction$ContextProvider arg1)
method_40470(double[] arg0, class_6910$class_6911 arg1)
fill(double[] densities, DensityFunction$EachApplier applier)
DensityFunction
a(ecm$f arg0)
mapAll(DensityFunction$Visitor arg0)
method_40469(class_6910$class_6915 arg0)
apply(DensityFunction$DensityFunctionVisitor visitor)
double
a()
minValue()
comp_377()
minValue()
double
b()
maxValue()
comp_378()
maxValue()
KeyDispatchDataCodec<? extends DensityFunction>
c()
codec()
method_41062()
getCodecHolder()
default DensityFunction
a(double arg0, double arg1)
clamp(double arg0, double arg1)
method_40468(double arg0, double arg1)
clamp(double min, double max)
default DensityFunction
d()
abs()
method_40471()
abs()
default DensityFunction
e()
square()
method_40472()
square()
default DensityFunction
f()
cube()
method_40473()
cube()
default DensityFunction
g()
halfNegative()
method_40474()
halfNegative()
default DensityFunction
h()
quarterNegative()
method_40475()
quarterNegative()
default DensityFunction
i()
squeeze()
method_40476()
squeeze()