net.minecraft.world.gen.chunk

public class ChunkNoiseSampler$DensityInterpolator

implements ChunkNoiseSampler$ParentedNoiseType

net.minecraft.world.level.levelgen.NoiseChunk$NoiseInterpolator
net.minecraft.class_6568$class_5917
net.minecraft.world.gen.chunk.ChunkNoiseSampler$DensityInterpolator

Field summary

Modifier and TypeField
private float[][]
slice0
field_29227
startDensityBuffer
private float[][]
slice1
field_29228
endDensityBuffer
private final DensityFunction
noiseFiller
field_34623
delegate
private float
noise000
field_29233
x0y0z0
private float
noise001
field_29234
x0y0z1
private float
noise100
field_29235
x1y0z0
private float
noise101
field_29236
x1y0z1
private float
noise010
field_29237
x0y1z0
private float
noise011
field_29238
x0y1z1
private float
noise110
field_29239
x1y1z0
private float
noise111
field_29240
x1y1z1
private float
valueXZ00
field_29241
x0z0
private float
valueXZ10
field_29242
x1z0
private float
valueXZ01
field_29243
x0z1
private float
valueXZ11
field_29244
x1z1
private float
valueZ0
field_29245
z0
private float
valueZ1
field_29246
z1
private float
value
field_34624
result
final ChunkNoiseSampler
this$0
field_34622
field_34622

Constructor summary

ModifierConstructor
private (ChunkNoiseSampler this$0, DensityFunction delegate)

Method summary

Modifier and TypeMethod
private float[][]
allocateSlice(int cellCountY, int cellCountZ)
method_34293(int arg0, int arg1)
createBuffer(int sizeZ, int sizeX)
private void
selectCellYZ(int cellYIndex, int cellZIndex)
method_34289(int arg0, int arg1)
onSampledCellCorners(int cellY, int cellZ)
private void
updateForY(float factorY)
method_34287(float arg0)
interpolateY(float deltaY)
private void
updateForX(float factorX)
method_34292(float arg0)
interpolateX(float deltaX)
private void
updateForZ(float factorZ)
method_38363(float arg0)
interpolateZ(float deltaZ)
public float
compute(DensityFunction$FunctionContext context)
method_40464(class_6910$class_6912 arg0)
sample(DensityFunction$NoisePos arg0)
public void
fillArray(float[] output, DensityFunction$ContextProvider contextProvider)
method_40470(float[] arg0, class_6910$class_6911 arg1)
fill(float[] arg0, DensityFunction$EachApplier arg1)
public DensityFunction
mapChildren(DensityFunction$Visitor visitor)
method_40469(class_6910$class_6915 arg0)
applyInternal(DensityFunction$DensityFunctionVisitor arg0)
public int
domainAxes()
method_1_9213()
getVariantAxes()
public DensityFunction
wrapped()
method_1_9444()
getDelegate()
private void
swapSlices()
method_34291()
swapBuffers()