public class BadlandsSurfaceBuilder extends SurfaceBuilder<TernarySurfaceConfig>
Modifier and Type | Field and Description |
---|---|
private static BlockState |
BROWN_TERRACOTTA |
protected OctaveSimplexNoiseSampler |
heightCutoffNoise |
protected OctaveSimplexNoiseSampler |
heightNoise |
protected BlockState[] |
layerBlocks |
protected OctaveSimplexNoiseSampler |
layerNoise |
private static BlockState |
LIGHT_GRAY_TERRACOTTA |
private static BlockState |
ORANGE_TERRACOTTA |
private static BlockState |
RED_TERRACOTTA |
protected long |
seed |
private static BlockState |
TERRACOTTA |
private static BlockState |
WHITE_TERRACOTTA |
private static BlockState |
YELLOW_TERRACOTTA |
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 and Description |
---|
BadlandsSurfaceBuilder(com.mojang.serialization.Codec<TernarySurfaceConfig> codec) |
Modifier and Type | Method and Description |
---|---|
protected BlockState |
calculateLayerBlockState(int x,
int y,
int z) |
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 |
initLayerBlocks(long seed) |
void |
initSeed(long seed) |
getCodec, withConfig
private static final BlockState WHITE_TERRACOTTA
private static final BlockState ORANGE_TERRACOTTA
private static final BlockState TERRACOTTA
private static final BlockState YELLOW_TERRACOTTA
private static final BlockState BROWN_TERRACOTTA
private static final BlockState RED_TERRACOTTA
private static final BlockState LIGHT_GRAY_TERRACOTTA
protected BlockState[] layerBlocks
protected long seed
protected OctaveSimplexNoiseSampler heightCutoffNoise
protected OctaveSimplexNoiseSampler heightNoise
protected OctaveSimplexNoiseSampler layerNoise
public BadlandsSurfaceBuilder(com.mojang.serialization.Codec<TernarySurfaceConfig> codec)
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)
generate
in class SurfaceBuilder<TernarySurfaceConfig>
public void initSeed(long seed)
initSeed
in class SurfaceBuilder<TernarySurfaceConfig>
protected void initLayerBlocks(long seed)
protected BlockState calculateLayerBlockState(int x, int y, int z)