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 Map<ResourceKey<NormalNoise.NoiseParameters>,
NormalNoise> private final Registry<NormalNoise.NoiseParameters>
private static final BlockState
private static final BlockState
private final Map<ResourceLocation,
PositionalRandomFactory> private final PositionalRandomFactory
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
(Registry<NormalNoise.NoiseParameters> p_198285_, BlockState p_198286_, int p_198287_, long p_198288_, WorldgenRandom.Algorithm p_198289_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildSurface
(BiomeManager p_189945_, Registry<Biome> p_189946_, boolean p_189947_, WorldGenerationContext p_189948_, ChunkAccess p_189949_, NoiseChunk p_189950_, SurfaceRules.RuleSource p_189951_) 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_189965_) protected BlockState
getBand
(int p_189931_, int p_189932_, int p_189933_) protected NormalNoise
getOrCreateNoise
(ResourceKey<NormalNoise.NoiseParameters> p_189984_) protected PositionalRandomFactory
getOrCreateRandomFactory
(ResourceLocation p_189989_) 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_189967_, BlockState[] p_189968_, int p_189969_, BlockState p_189970_) 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
-
noises
-
noiseIntances
-
positionalRandoms
-
randomFactory
-
surfaceNoise
-
surfaceSecondaryNoise
-
-
Constructor Details
-
SurfaceSystem
public SurfaceSystem(Registry<NormalNoise.NoiseParameters> p_198285_, BlockState p_198286_, int p_198287_, long p_198288_, WorldgenRandom.Algorithm p_198289_)
-
-
Method Details
-
getOrCreateNoise
-
getOrCreateRandomFactory
-
buildSurface
public void buildSurface(BiomeManager p_189945_, Registry<Biome> p_189946_, boolean p_189947_, WorldGenerationContext p_189948_, ChunkAccess p_189949_, NoiseChunk p_189950_, SurfaceRules.RuleSource p_189951_) -
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_189967_, BlockState[] p_189968_, int p_189969_, BlockState p_189970_) -
getBand
-