net.minecraft.world.level.levelgen

public class NoiseSampler

implements Climate$Sampler

cti
net.minecraft.world.level.levelgen.NoiseSampler
net.minecraft.class_5818
net.minecraft.world.gen.NoiseColumnSampler
net.minecraft.src.C_141340_
net.minecraft.world.level.levelgen.NoiseSampler

Field summary

Modifier and TypeField
private static final float
a
ORE_VEIN_RARITY
field_34658
field_34658
f_188920_
private static final float
b
ORE_THICKNESS
field_34668
field_34668
f_188927_
private static final float
c
VEININESS_THRESHOLD
field_34669
field_34669
f_188928_
private static final double
d
VEININESS_FREQUENCY
field_34670
field_34670
f_188929_
private static final int
e
EDGE_ROUNDOFF_BEGIN
field_34671
field_34671
f_188930_
private static final double
f
MAX_EDGE_ROUNDOFF
field_34672
field_34672
f_188931_
private static final float
g
VEIN_SOLIDNESS
field_34673
field_34673
f_188932_
private static final float
h
MIN_RICHNESS
field_34674
field_34674
f_188933_
private static final float
i
MAX_RICHNESS
field_34675
field_34675
f_188934_
private static final float
j
MAX_RICHNESS_THRESHOLD
field_34676
field_34676
f_188935_
private static final float
k
CHANCE_OF_RAW_ORE_BLOCK
field_34677
field_34677
f_188936_
private static final float
l
SKIP_ORE_IF_GAP_NOISE_IS_BELOW
field_34678
field_34678
f_188937_
private static final double
m
NOODLE_SPACING_AND_STRAIGHTNESS
field_34679
field_34679
f_188938_
private final NoiseSettings
n
noiseSettings
field_28754
config
f_158643_
private final boolean
o
isNoiseCavesEnabled
field_34667
hasNoiseCaves
f_188939_
private final NoiseChunk$InterpolatableNoise
p
baseNoise
field_34657
initialNoiseSampler
f_188940_
private final BlendedNoise
q
blendedNoise
field_34680
terrainNoise
f_158644_
private final SimplexNoise
r
islandNoise
field_28756
islandNoise
f_158645_
private final NormalNoise
s
jaggedNoise
field_34681
jaggedNoise
f_188941_
private final NormalNoise
t
barrierNoise
field_34683
aquiferBarrierNoise
f_188942_
private final NormalNoise
u
fluidLevelFloodednessNoise
field_35131
aquiferFluidLevelFloodednessNoise
f_188943_
private final NormalNoise
v
fluidLevelSpreadNoise
field_35132
aquiferFluidLevelSpreadNoise
f_188944_
private final NormalNoise
w
lavaNoise
field_34685
aquiferLavaNoise
f_188945_
private final NormalNoise
x
layerNoiseSource
field_34633
caveLayerNoise
f_188946_
private final NormalNoise
y
pillarNoiseSource
field_34634
pillarNoise
f_188947_
private final NormalNoise
z
pillarRarenessModulator
field_34635
pillarRarenessNoise
f_188948_
private final NormalNoise
A
pillarThicknessModulator
field_34636
pillarThicknessNoise
f_188894_
private final NormalNoise
B
spaghetti2DNoiseSource
field_34637
spaghetti2dNoise
f_188895_
private final NormalNoise
C
spaghetti2DElevationModulator
field_34638
spaghetti2dElevationNoise
f_188896_
private final NormalNoise
D
spaghetti2DRarityModulator
field_34639
spaghetti2dModulatorNoise
f_188897_
private final NormalNoise
E
spaghetti2DThicknessModulator
field_34640
spaghetti2dThicknessNoise
f_188898_
private final NormalNoise
F
spaghetti3DNoiseSource1
field_34641
spaghetti3dFirstNoise
f_188899_
private final NormalNoise
G
spaghetti3DNoiseSource2
field_34642
spaghetti3dSecondNoise
f_188900_
private final NormalNoise
H
spaghetti3DRarityModulator
field_34643
spaghetti3dRarityNoise
f_188901_
private final NormalNoise
I
spaghetti3DThicknessModulator
field_34644
spaghetti3dThicknessNoise
f_188902_
private final NormalNoise
J
spaghettiRoughnessNoise
field_34645
spaghettiRoughnessNoise
f_188903_
private final NormalNoise
K
spaghettiRoughnessModulator
field_34646
spaghettiRoughnessModulatorNoise
f_188904_
private final NormalNoise
L
bigEntranceNoiseSource
field_34647
caveEntranceNoise
f_188905_
private final NormalNoise
M
cheeseNoiseSource
field_34648
caveCheeseNoise
f_188906_
private final NormalNoise
N
temperatureNoise
field_34649
temperatureNoise
f_188907_
private final NormalNoise
O
humidityNoise
field_34650
humidityNoise
f_188908_
private final NormalNoise
P
continentalnessNoise
field_34651
continentalnessNoise
f_188909_
private final NormalNoise
Q
erosionNoise
field_34652
erosionNoise
f_188910_
private final NormalNoise
R
weirdnessNoise
field_34653
weirdnessNoise
f_188911_
private final NormalNoise
S
offsetNoise
field_34654
shiftNoise
f_188912_
private final NormalNoise
T
gapNoise
field_34656
oreGapNoise
f_188913_
private final NoiseChunk$InterpolatableNoise
U
veininess
field_34659
oreFrequencyNoiseSamplerFactory
f_188914_
private final NoiseChunk$InterpolatableNoise
V
veinA
field_34660
firstOrePlacementNoiseFactory
f_188915_
private final NoiseChunk$InterpolatableNoise
W
veinB
field_34661
secondOrePlacementNoiseFactory
f_188916_
private final NoiseChunk$InterpolatableNoise
X
noodleToggle
field_34663
noodleNoiseFactory
f_188917_
private final NoiseChunk$InterpolatableNoise
Y
noodleThickness
field_34664
noodleThicknessNoiseFactory
f_188918_
private final NoiseChunk$InterpolatableNoise
Z
noodleRidgeA
field_34665
noodleRidgeFirstNoiseFactory
f_188919_
private final NoiseChunk$InterpolatableNoise
aa
noodleRidgeB
field_34666
noodleRidgeSecondNoiseFactory
f_188921_
private final PositionalRandomFactory
ab
aquiferPositionalRandomFactory
field_34686
aquiferRandomDeriver
f_188922_
private final PositionalRandomFactory
ac
oreVeinsPositionalRandomFactory
field_34662
oreRandomDeriver
f_188923_
private final PositionalRandomFactory
ad
depthBasedLayerPositionalRandomFactory
field_35208
depthBasedLayerRandomDeriver
f_188924_
private final List<Climate$ParameterPoint>
ae
spawnTarget
field_35362
spawnSuitabilityNoises
f_188925_
private final boolean
af
amplified
field_35592
amplified
f_188926_

Constructor summary

ModifierConstructor
public (NoiseSettings config, boolean hasNoiseCaves, long seed, Registry<NormalNoise$NoiseParameters> noiseRegistry, WorldgenRandom$Algorithm randomProvider)

Method summary

Modifier and TypeMethod
private static NoiseChunk$InterpolatableNoise
a(dha arg0, int arg1, int arg2, int arg3, double arg4)
yLimitedInterpolatableNoise(NormalNoise arg0, int arg1, int arg2, int arg3, double arg4)
method_38379(class_5216 arg0, int arg1, int arg2, int arg3, double arg4)
createNoiseSamplerFactory(DoublePerlinNoiseSampler noiseSampler, int minY, int maxY, int alternative, double scale)
m_189068_(C_2663_ p_189069_, int p_189070_, int p_189071_, int p_189072_, double p_189073_)
private double
a(int arg0, int arg1, int arg2, ctw arg3, cud arg4)
calculateBaseNoise(int arg0, int arg1, int arg2, TerrainInfo arg3, Blender arg4)
method_38380(int arg0, int arg1, int arg2, class_6576 arg3, class_6748 arg4)
sampleNoiseColumn(int x, int y, int z, TerrainNoisePoint point, Blender blender)
m_188990_(int p_188992_, int p_188993_, int p_188994_, C_182950_ p_188995_, C_182955_ arg4)
private double
a(int arg0, int arg1, int arg2, ctw arg3, double arg4, boolean arg5, boolean arg6, cud arg7)
calculateBaseNoise(int arg0, int arg1, int arg2, TerrainInfo arg3, double arg4, boolean arg5, boolean arg6, Blender arg7)
method_38381(int arg0, int arg1, int arg2, class_6576 arg3, double arg4, boolean arg5, boolean arg6, class_6748 arg7)
sampleNoiseColumn(int x, int y, int z, TerrainNoisePoint point, double noise, boolean hasNoNoiseCaves, boolean arg6, Blender blender)
m_188981_(int p_188983_, int p_188984_, int p_188985_, C_182950_ p_188986_, double p_188987_, boolean p_188989_, boolean arg6, C_182955_ arg7)
private double
d(double arg0, double arg1, double arg2)
sampleJaggedNoise(double arg0, double arg1, double arg2)
method_38409(double arg0, double arg1, double arg2)
method_38409(double arg0, double arg1, double arg2)
m_189098_(double p_189100_, double arg1, double arg2)
private double
a(int arg0, ctw arg1)
computeBaseDensity(int arg0, TerrainInfo arg1)
method_39331(int arg0, class_6576 arg1)
method_39331(int arg0, TerrainNoisePoint arg1)
m_189013_(int p_189015_, C_182950_ arg1)
private double
a(double arg0, int arg1)
applySlide(double arg0, int arg1)
method_33645(double arg0, int arg1)
applySlides(double noise, int y)
m_158667_(double p_158669_, int arg1)
protected NoiseChunk$BlockStateFiller
a(ctg arg0, ctg$c arg1, boolean arg2)
makeBaseNoiseFiller(NoiseChunk arg0, NoiseChunk$NoiseFiller arg1, boolean arg2)
method_38390(class_6568 arg0, class_6568$class_6572 arg1, boolean arg2)
createInitialNoiseBlockStateSampler(ChunkNoiseSampler chunkNoiseSampler, ChunkNoiseSampler$ColumnSampler columnSampler, boolean hasNoodleCaves)
m_189053_(C_182895_ p_189055_, C_182895_$C_182898_ p_189056_, boolean arg2)
protected NoiseChunk$BlockStateFiller
a(ctg arg0, boolean arg1)
makeOreVeinifier(NoiseChunk arg0, boolean arg1)
method_38391(class_6568 arg0, boolean arg1)
createOreVeinSampler(ChunkNoiseSampler chunkNoiseSampler, boolean hasOreVeins)
m_189057_(C_182895_ p_189059_, boolean arg1)
protected int
a(int arg0, int arg1, ctw arg2)
getPreliminarySurfaceLevel(int arg0, int arg1, TerrainInfo arg2)
method_38383(int arg0, int arg1, class_6576 arg2)
method_38383(int x, int z, TerrainNoisePoint point)
m_189005_(int p_189007_, int p_189008_, C_182950_ arg2)
protected Aquifer
a(ctg arg0, int arg1, int arg2, int arg3, int arg4, csq$a arg5, boolean arg6)
createAquifer(NoiseChunk arg0, int arg1, int arg2, int arg3, int arg4, Aquifer$FluidPicker arg5, boolean arg6)
method_38389(class_6568 arg0, int arg1, int arg2, int arg3, int arg4, class_6350$class_6565 arg5, boolean arg6)
createAquiferSampler(ChunkNoiseSampler chunkNoiseSampler, int x, int z, int minimumY, int height, AquiferSampler$FluidLevelSampler fluidLevelSampler, boolean hasAquifers)
m_189045_(C_182895_ p_189047_, int p_189048_, int p_189049_, int p_189050_, int p_189051_, C_141319_$C_182886_ p_189052_, boolean arg6)
public NoiseSampler$FlatNoiseData
a(int arg0, int arg1, cud arg2)
noiseData(int arg0, int arg1, Blender arg2)
method_39330(int arg0, int arg1, class_6748 arg2)
method_39330(int arg0, int arg1, Blender arg2)
m_189009_(int p_189011_, int p_189012_, C_182955_ arg2)
public Climate$TargetPoint
sample(int arg0, int arg1, int arg2)
sample(int arg0, int arg1, int arg2)
sample(int arg0, int arg1, int arg2)
sample(int arg0, int arg1, int arg2)
m_183445_(int p_189134_, int p_189135_, int arg2)
public Climate$TargetPoint
a(int arg0, int arg1, int arg2, cti$a arg3)
target(int arg0, int arg1, int arg2, NoiseSampler$FlatNoiseData arg3)
method_39329(int arg0, int arg1, int arg2, class_5818$class_6747 arg3)
method_39329(int arg0, int arg1, int arg2, NoiseColumnSampler$class_6747 arg3)
m_188976_(int p_188978_, int p_188979_, int p_188980_, C_141340_$C_182901_ arg3)
public TerrainInfo
a(int arg0, int arg1, float arg2, float arg3, float arg4, cud arg5)
terrainInfo(int arg0, int arg1, float arg2, float arg3, float arg4, Blender arg5)
method_38376(int arg0, int arg1, float arg2, float arg3, float arg4, class_6748 arg5)
createTerrainNoisePoint(int x, int z, float continentalness, float weirdness, float erosion, Blender arg5)
m_188965_(int p_188967_, int p_188968_, float p_188969_, float p_188970_, float p_188971_, C_182955_ arg5)
public BlockPos
a()
findSpawnPosition()
method_39165()
findBestSpawnPosition()
m_183230_()
public double
a(int arg0, int arg1, int arg2)
getOffset(int arg0, int arg1, int arg2)
method_38377(int arg0, int arg1, int arg2)
sampleShiftNoise(int x, int y, int z)
m_188972_(int p_188974_, int p_188975_, int arg2)
private double
e(double arg0, double arg1, double arg2)
getTemperature(double arg0, double arg1, double arg2)
method_38375(double arg0, double arg1, double arg2)
sampleTemperatureNoise(double x, double y, double z)
m_189107_(double p_189109_, double arg1, double arg2)
private double
f(double arg0, double arg1, double arg2)
getHumidity(double arg0, double arg1, double arg2)
method_38396(double arg0, double arg1, double arg2)
sampleHumidityNoise(double x, double y, double z)
m_189116_(double p_189118_, double arg1, double arg2)
public double
a(double arg0, double arg1, double arg2)
getContinentalness(double arg0, double arg1, double arg2)
method_38401(double arg0, double arg1, double arg2)
sampleContinentalnessNoise(double x, double y, double z)
m_188961_(double p_188963_, double arg1, double arg2)
public double
b(double arg0, double arg1, double arg2)
getErosion(double arg0, double arg1, double arg2)
method_38404(double arg0, double arg1, double arg2)
sampleErosionNoise(double x, double y, double z)
m_189075_(double p_189077_, double arg1, double arg2)
public double
c(double arg0, double arg1, double arg2)
getWeirdness(double arg0, double arg1, double arg2)
method_38407(double arg0, double arg1, double arg2)
sampleWeirdnessNoise(double x, double y, double z)
m_189089_(double p_189091_, double arg1, double arg2)
private double
b(int arg0, int arg1, int arg2)
getBigEntrances(int arg0, int arg1, int arg2)
method_38398(int arg0, int arg1, int arg2)
sampleCaveEntranceNoise(int x, int y, int z)
m_189082_(int p_189084_, int p_189085_, int arg2)
private double
c(int arg0, int arg1, int arg2)
getPillars(int arg0, int arg1, int arg2)
method_38402(int arg0, int arg1, int arg2)
samplePillarNoise(int x, int y, int z)
m_189093_(int p_189095_, int p_189096_, int arg2)
private double
d(int arg0, int arg1, int arg2)
getLayerizedCaverns(int arg0, int arg1, int arg2)
method_38405(int arg0, int arg1, int arg2)
sampleCaveLayerNoise(int x, int y, int z)
m_189102_(int p_189104_, int p_189105_, int arg2)
private double
e(int arg0, int arg1, int arg2)
getSpaghetti3D(int arg0, int arg1, int arg2)
method_38408(int arg0, int arg1, int arg2)
sampleSpaghetti3dNoise(int x, int y, int z)
m_189111_(int p_189113_, int p_189114_, int arg2)
private double
f(int arg0, int arg1, int arg2)
getSpaghetti2D(int arg0, int arg1, int arg2)
method_38410(int arg0, int arg1, int arg2)
sampleSpaghetti2dNoise(int x, int y, int z)
m_189120_(int p_189122_, int p_189123_, int arg2)
private double
g(int arg0, int arg1, int arg2)
spaghettiRoughness(int arg0, int arg1, int arg2)
method_38411(int arg0, int arg1, int arg2)
sampleSpaghettiRoughnessNoise(int x, int y, int z)
m_189124_(int p_189126_, int p_189127_, int arg2)
public PositionalRandomFactory
b()
getDepthBasedLayerPositionalRandom()
method_39043()
getDepthBasedLayerRandomDeriver()
m_189074_()
private static double
a(double arg0)
clampToUnit(double arg0)
method_38395(double arg0)
clampBetweenNoiseRange(double value)
m_188956_(double p_188957_)
private static double
a(dha arg0, double arg1, double arg2, double arg3, double arg4)
sampleWithRarity(NormalNoise arg0, double arg1, double arg2, double arg3, double arg4)
method_38393(class_5216 arg0, double arg1, double arg2, double arg3, double arg4)
sample(DoublePerlinNoiseSampler sampler, double x, double y, double z, double invertedScale)
m_189062_(C_2663_ p_189063_, double p_189064_, double p_189066_, double arg3, double arg4)
private boolean
a(double arg0, double arg1)
isVein(double arg0, double arg1)
method_38374(double arg0, double arg1)
shouldPlaceOreVeinBlock(double firstOrePlacementNoise, double secondOrePlacementNoise)
m_188958_(double p_188960_, double arg1)
private NoiseSampler$VeinType
b(double arg0, int arg1)
getVeinType(double arg0, int arg1)
method_38397(double arg0, int arg1)
getVeinType(double oreFrequencyNoise, int y)
m_189079_(double p_189081_, int arg1)