Class SurfaceSystem
java.lang.Object
net.minecraft.world.level.levelgen.SurfaceSystem
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NormalNoise
private final NormalNoise
private final NormalNoise
private static final BlockState
private final BlockState[]
private final NormalNoise
private final BlockState
private final NormalNoise
private final NormalNoise
private final NormalNoise
private static final BlockState
private final PositionalRandomFactory
private static final BlockState
private static final BlockState
private static final BlockState
private final int
private static final BlockState
private final NormalNoise
private final NormalNoise
private static final BlockState
private static final BlockState
private static final BlockState
-
Constructor Summary
ConstructorDescriptionSurfaceSystem
(RandomState p_224637_, BlockState p_224638_, int p_224639_, PositionalRandomFactory p_224640_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildSurface
(RandomState p_224649_, BiomeManager p_224650_, Registry<Biome> p_224651_, boolean p_224652_, WorldGenerationContext p_224653_, ChunkAccess p_224654_, NoiseChunk p_224655_, SurfaceRules.RuleSource p_224656_) private void
erodedBadlandsExtension
(BlockColumn p_189955_, int p_189956_, int p_189957_, int p_189958_, LevelHeightAccessor p_189959_) private void
frozenOceanExtension
(int p_189935_, Biome p_189936_, BlockColumn p_189937_, BlockPos.MutableBlockPos p_189938_, int p_189939_, int p_189940_, int p_189941_) private static BlockState[]
generateBands
(RandomSource p_224642_) protected BlockState
getBand
(int p_189931_, int p_189932_, int p_189933_) protected int
getSurfaceDepth
(int p_189928_, int p_189929_) protected double
getSurfaceSecondary
(int p_202190_, int p_202191_) private boolean
isStone
(BlockState p_189953_) private static void
makeBands
(RandomSource p_224644_, BlockState[] p_224645_, int p_224646_, BlockState p_224647_) topMaterial
(SurfaceRules.RuleSource p_189972_, CarvingContext p_189973_, Function<BlockPos, Holder<Biome>> p_189974_, ChunkAccess p_189975_, NoiseChunk p_189976_, BlockPos p_189977_, boolean p_189978_) Deprecated.
-
Field Details
-
WHITE_TERRACOTTA
-
ORANGE_TERRACOTTA
-
TERRACOTTA
-
YELLOW_TERRACOTTA
-
BROWN_TERRACOTTA
-
RED_TERRACOTTA
-
LIGHT_GRAY_TERRACOTTA
-
PACKED_ICE
-
SNOW_BLOCK
-
defaultBlock
-
seaLevel
private final int seaLevel -
clayBands
-
clayBandsOffsetNoise
-
badlandsPillarNoise
-
badlandsPillarRoofNoise
-
badlandsSurfaceNoise
-
icebergPillarNoise
-
icebergPillarRoofNoise
-
icebergSurfaceNoise
-
noiseRandom
-
surfaceNoise
-
surfaceSecondaryNoise
-
-
Constructor Details
-
SurfaceSystem
public SurfaceSystem(RandomState p_224637_, BlockState p_224638_, int p_224639_, PositionalRandomFactory p_224640_)
-
-
Method Details
-
buildSurface
public void buildSurface(RandomState p_224649_, BiomeManager p_224650_, Registry<Biome> p_224651_, boolean p_224652_, WorldGenerationContext p_224653_, ChunkAccess p_224654_, NoiseChunk p_224655_, SurfaceRules.RuleSource p_224656_) -
getSurfaceDepth
protected int getSurfaceDepth(int p_189928_, int p_189929_) -
getSurfaceSecondary
protected double getSurfaceSecondary(int p_202190_, int p_202191_) -
isStone
-
topMaterial
@Deprecated public Optional<BlockState> topMaterial(SurfaceRules.RuleSource p_189972_, CarvingContext p_189973_, Function<BlockPos, Holder<Biome>> p_189974_, ChunkAccess p_189975_, NoiseChunk p_189976_, BlockPos p_189977_, boolean p_189978_) Deprecated. -
erodedBadlandsExtension
private void erodedBadlandsExtension(BlockColumn p_189955_, int p_189956_, int p_189957_, int p_189958_, LevelHeightAccessor p_189959_) -
frozenOceanExtension
private void frozenOceanExtension(int p_189935_, Biome p_189936_, BlockColumn p_189937_, BlockPos.MutableBlockPos p_189938_, int p_189939_, int p_189940_, int p_189941_) -
generateBands
-
makeBands
private static void makeBands(RandomSource p_224644_, BlockState[] p_224645_, int p_224646_, BlockState p_224647_) -
getBand
-