net.minecraft.world.level.levelgen

public class NoiseChunk

implements DensityFunction$ContextProvider, DensityFunction$FunctionContext

dho
net.minecraft.world.level.levelgen.NoiseChunk
net.minecraft.class_6568
net.minecraft.world.gen.chunk.ChunkNoiseSampler
net.minecraft.src.C_182895_
net.minecraft.world.level.levelgen.NoiseChunk

Field summary

Modifier and TypeField
private final NoiseSettings
a
noiseSettings
field_35674
generationShapeConfig
f_188717_
final int
b
cellCountXZ
field_34599
horizontalCellCount
f_188718_
final int
c
cellCountY
field_34598
verticalCellCount
f_188719_
final int
d
cellNoiseMinY
field_34600
minimumCellY
f_188720_
private final int
e
firstCellX
field_34601
startCellX
f_188721_
private final int
f
firstCellZ
field_34602
startCellZ
f_188722_
final int
g
firstNoiseX
field_34603
startBiomeX
f_188723_
final int
h
firstNoiseZ
field_34604
startBiomeZ
f_188724_
final List<NoiseChunk$NoiseInterpolator>
i
interpolators
field_34605
interpolators
f_188725_
final List<NoiseChunk$CacheAllInCell>
j
cellCaches
field_36581
caches
f_209160_
private final Map<DensityFunction, DensityFunction>
k
wrapped
field_36582
actualDensityFunctionCache
f_209161_
private final it.unimi.dsi.fastutil.longs.Long2IntMap
l
preliminarySurfaceLevel
field_36273
surfaceHeightEstimateCache
f_198238_
private final Aquifer
m
aquifer
field_34613
aquiferSampler
f_188728_
private final DensityFunction
n
initialDensityNoJaggedness
field_36583
initialDensityWithoutJaggedness
f_209162_
private final NoiseChunk$BlockStateFiller
o
blockStateRule
field_36584
blockStateSampler
f_209163_
private final Blender
p
blender
field_35487
blender
f_188731_
private final NoiseChunk$FlatCache
q
blendAlpha
field_36585
cachedBlendAlphaDensityFunction
f_209164_
private final NoiseChunk$FlatCache
r
blendOffset
field_36586
cachedBlendOffsetDensityFunction
f_209165_
private final DensityFunctions$BeardifierOrMarker
s
beardifier
field_37113
beardifying
f_209166_
private long
t
lastBlendingDataPos
field_36587
lastBlendingColumnPos
f_209167_
private Blender$BlendingOutput
u
lastBlendingOutput
field_36588
lastBlendingResult
f_209168_
final int
v
noiseSizeXZ
field_36589
horizontalBiomeEnd
f_209169_
final int
w
cellWidth
field_36590
horizontalCellBlockCount
f_209170_
final int
x
cellHeight
field_36591
verticalCellBlockCount
f_209171_
boolean
y
interpolating
field_36592
isInInterpolationLoop
f_209172_
boolean
z
fillingCell
field_36593
isSamplingForCaches
f_209173_
private int
A
cellStartBlockX
field_36594
startBlockX
f_209150_
int
B
cellStartBlockY
field_36572
startBlockY
f_209151_
private int
C
cellStartBlockZ
field_36573
startBlockZ
f_209152_
int
D
inCellX
field_36574
cellBlockX
f_209153_
int
E
inCellY
field_36575
cellBlockY
f_209154_
int
F
inCellZ
field_36576
cellBlockZ
f_209155_
long
G
interpolationCounter
field_36577
sampleUniqueIndex
f_209156_
long
H
arrayInterpolationCounter
field_36578
cacheOnceUniqueIndex
f_209157_
int
I
arrayIndex
field_36579
index
f_209158_
private final DensityFunction$ContextProvider
J
sliceFillingContextProvider
field_36580
interpolationEachApplier
f_209159_

Constructor summary

ModifierConstructor
public (int horizontalCellCount, RandomState noiseConfig, int startBlockX, int startBlockZ, NoiseSettings generationShapeConfig, DensityFunctions$BeardifierOrMarker beardifying, NoiseGeneratorSettings chunkGeneratorSettings, Aquifer$FluidPicker fluidLevelSampler, Blender blender)

Method summary

Modifier and TypeMethod
public static NoiseChunk
a(ddx arg0, dhy arg1, dhe$c arg2, dhp arg3, dgw$a arg4, dim arg5)
forChunk(ChunkAccess arg0, RandomState arg1, DensityFunctions$BeardifierOrMarker arg2, NoiseGeneratorSettings arg3, Aquifer$FluidPicker arg4, Blender arg5)
method_39543(class_2791 arg0, class_7138 arg1, class_6916$class_7050 arg2, class_5284 arg3, class_6350$class_6565 arg4, class_6748 arg5)
create(Chunk chunk, NoiseConfig noiseConfig, DensityFunctionTypes$Beardifying beardifying, ChunkGeneratorSettings chunkGeneratorSettings, AquiferSampler$FluidLevelSampler fluidLevelSampler, Blender blender)
m_224352_(C_2116_ p_224353_, C_213138_ p_224354_, C_206968_$C_206975_ p_224355_, C_2194_ p_224356_, C_141319_$C_182886_ p_224357_, C_182955_ p_224358_)
protected Climate$Sampler
a(dhq arg0, List<cnt$d> arg1)
cachedClimateSampler(NoiseRouter arg0, List<Climate$ParameterPoint> arg1)
method_40531(class_6953 arg0, List<class_6544$class_4762> arg1)
createMultiNoiseSampler(NoiseRouter noiseRouter, List<MultiNoiseUtil$NoiseHypercube> spawnTarget)
m_224359_(C_207014_ p_224361_, List<C_182857_$C_182861_> arg1)
protected BlockState
e()
getInterpolatedState()
method_40536()
sampleBlockState()
m_209247_()
public int
a()
blockX()
comp_371()
blockX()
m_207115_()
public int
b()
blockY()
comp_372()
blockY()
m_207114_()
public int
c()
blockZ()
comp_373()
blockZ()
m_207113_()
public int
a(int arg0, int arg1)
preliminarySurfaceLevel(int arg0, int arg1)
method_39900(int arg0, int arg1)
estimateSurfaceHeight(int blockX, int blockZ)
m_198256_(int p_198258_, int arg1)
private int
a(long arg0)
computePreliminarySurfaceLevel(long arg0)
method_39899(long arg0)
calculateSurfaceHeightEstimate(long columnPos)
m_198249_(long arg0)
public Blender
d()
getBlender()
method_39327()
getBlender()
m_188743_()
private void
a(boolean arg0, int arg1)
fillSlice(boolean arg0, int arg1)
method_40532(boolean arg0, int arg1)
sampleDensity(boolean start, int cellX)
m_209220_(boolean p_209222_, int arg1)
public void
f()
initializeForFirstCellX()
method_38336()
sampleStartDensity()
m_188791_()
public void
b(int arg0)
advanceCellX(int arg0)
method_38339(int arg0)
sampleEndDensity(int cellX)
m_188749_(int arg0)
public NoiseChunk
c(int arg0)
forIndex(int arg0)
method_40534(int arg0)
at(int arg0)
m_207263_(int arg0)
public void
a(double[] arg0, dhd arg1)
fillAllDirectly(double[] arg0, DensityFunction arg1)
method_40478(double[] arg0, class_6910 arg1)
fill(double[] arg0, DensityFunction arg1)
m_207207_(double[] p_209225_, C_206962_ arg1)
public void
b(int arg0, int arg1)
selectCellYZ(int arg0, int arg1)
method_38362(int arg0, int arg1)
onSampledCellCorners(int cellY, int cellZ)
m_188810_(int p_188812_, int arg1)
public void
a(int arg0, double arg1)
updateForY(int arg0, double arg1)
method_38337(int arg0, double arg1)
interpolateY(int blockY, double deltaY)
m_209191_(int p_209193_, double arg1)
public void
b(int arg0, double arg1)
updateForX(int arg0, double arg1)
method_38349(int arg0, double arg1)
interpolateX(int blockX, double deltaX)
m_209230_(int p_209232_, double arg1)
public void
c(int arg0, double arg1)
updateForZ(int arg0, double arg1)
method_38355(int arg0, double arg1)
interpolateZ(int blockZ, double deltaZ)
m_209241_(int p_209243_, double arg1)
public void
g()
stopInterpolation()
method_40537()
stopInterpolation()
m_209248_()
public void
h()
swapSlices()
method_38348()
swapBuffers()
m_188804_()
public Aquifer
i()
aquifer()
method_38354()
getAquiferSampler()
m_188817_()
protected int
j()
cellWidth()
method_42361()
getHorizontalCellBlockCount()
m_224362_()
protected int
k()
cellHeight()
method_42362()
getVerticalCellBlockCount()
m_224363_()
Blender$BlendingOutput
c(int arg0, int arg1)
getOrComputeBlendingOutput(int arg0, int arg1)
method_40535(int arg0, int arg1)
calculateBlendResult(int blockX, int blockZ)
m_209244_(int p_209246_, int arg1)
protected DensityFunction
a(dhd arg0)
wrap(DensityFunction arg0)
method_40529(class_6910 arg0)
getActualDensityFunction(DensityFunction function)
m_209213_(C_206962_ arg0)
private DensityFunction
b(dhd arg0)
wrapNew(DensityFunction arg0)
method_40533(class_6910 arg0)
getActualDensityFunctionImpl(DensityFunction function)
m_209233_(C_206962_ arg0)