net.minecraft.world.level.levelgen

record DensityFunctions$Constant

implements DensityFunction$SimpleFunction

ecn$h
net.minecraft.world.level.levelgen.DensityFunctions$Constant
net.minecraft.class_6916$class_6923
net.minecraft.world.gen.densityfunction.DensityFunctionTypes$Constant
net.minecraft.world.level.levelgen.DensityFunctions$h

Field summary

Modifier and TypeField
final double
a
value
comp_381
value
static final KeyDispatchDataCodec<DensityFunctions$Constant>
e
CODEC
field_37084
CODEC_HOLDER
static final DensityFunctions$Constant
f
ZERO
field_36553
ZERO

Constructor summary

ModifierConstructor
(double arg0)

Method summary

Modifier and TypeMethod
public double
a(ecm$b arg0)
compute(DensityFunction$FunctionContext arg0)
method_40464(class_6910$class_6912 arg0)
sample(DensityFunction$NoisePos arg0)
public void
a(double[] arg0, ecm$a arg1)
fillArray(double[] arg0, DensityFunction$ContextProvider arg1)
method_40470(double[] arg0, class_6910$class_6911 arg1)
fill(double[] arg0, DensityFunction$EachApplier arg1)
public double
a()
minValue()
comp_377()
minValue()
public double
b()
maxValue()
comp_378()
maxValue()
public KeyDispatchDataCodec<? extends DensityFunction>
c()
codec()
method_41062()
getCodecHolder()
public double
j()
value()
comp_381()
value()