Class DefaultSurfaceBuilder
java.lang.Object
net.minecraft.world.gen.surfacebuilder.SurfaceBuilder<TernarySurfaceConfig>
net.minecraft.world.gen.surfacebuilder.DefaultSurfaceBuilder
public class DefaultSurfaceBuilder extends SurfaceBuilder<TernarySurfaceConfig>
-
Field Summary
Fields inherited from class net.minecraft.world.gen.surfacebuilder.SurfaceBuilder
BADLANDS, BADLANDS_CONFIG, BASALT_DELTA_CONFIG, BASALT_DELTAS, COARSE_DIRT_CONFIG, CRIMSON_NYLIUM_CONFIG, DEFAULT, END_CONFIG, ERODED_BADLANDS, FROZEN_OCEAN, GIANT_TREE_TAIGA, GRASS_CONFIG, GRASS_SAND_UNDERWATER_CONFIG, GRAVEL_CONFIG, GRAVELLY_MOUNTAIN, MOUNTAIN, MYCELIUM_CONFIG, NETHER, NETHER_CONFIG, NETHER_FOREST, NOPE, PODZOL_CONFIG, SAND_CONFIG, SAND_SAND_UNDERWATER_CONFIG, SHATTERED_SAVANNA, SOUL_SAND_CONFIG, SOUL_SAND_VALLEY, STONE_CONFIG, SWAMP, WARPED_NYLIUM_CONFIG, WOODED_BADLANDS
-
Constructor Summary
Constructors Constructor Description DefaultSurfaceBuilder(com.mojang.serialization.Codec<TernarySurfaceConfig> codec)
-
Method Summary
Modifier and Type Method Description void
generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, long long2, TernarySurfaceConfig ternarySurfaceConfig)
protected void
generate(Random random, Chunk chunk, Biome biome, int x, int z, int height, double noise, BlockState defaultBlock, BlockState fluidBlock, BlockState topBlock, BlockState underBlock, BlockState underwaterBlock, int seaLevel)
Methods inherited from class net.minecraft.world.gen.surfacebuilder.SurfaceBuilder
getCodec, initSeed, withConfig
-
Constructor Details
-
DefaultSurfaceBuilder
-
-
Method Details
-
generate
public void generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, long long2, TernarySurfaceConfig ternarySurfaceConfig)- Specified by:
generate
in classSurfaceBuilder<TernarySurfaceConfig>
-
generate
protected void generate(Random random, Chunk chunk, Biome biome, int x, int z, int height, double noise, BlockState defaultBlock, BlockState fluidBlock, BlockState topBlock, BlockState underBlock, BlockState underwaterBlock, int seaLevel)
-