public abstract class SurfaceBuilder<C extends SurfaceConfig> extends Object
Constructor and Description |
---|
SurfaceBuilder(com.mojang.serialization.Codec<C> codec) |
Modifier and Type | Method and Description |
---|---|
abstract void |
generate(Random random,
Chunk chunk,
Biome biome,
int x,
int z,
int height,
double noise,
BlockState defaultBlock,
BlockState defaultFluid,
int seaLevel,
long seed,
C surfaceBlocks) |
com.mojang.serialization.Codec<ConfiguredSurfaceBuilder<C>> |
getCodec() |
void |
initSeed(long seed) |
private static <C extends SurfaceConfig,F extends SurfaceBuilder<C>> |
register(String id,
F surfaceBuilder) |
ConfiguredSurfaceBuilder<C> |
withConfig(C config) |
private static final BlockState DIRT
private static final BlockState GRASS_BLOCK
private static final BlockState PODZOL
private static final BlockState GRAVEL
private static final BlockState STONE
private static final BlockState COARSE_DIRT
private static final BlockState SAND
private static final BlockState RED_SAND
private static final BlockState WHITE_TERRACOTTA
private static final BlockState MYCELIUM
private static final BlockState SOUL_SAND
private static final BlockState NETHERRACK
private static final BlockState END_STONE
private static final BlockState CRIMSON_NYLIUM
private static final BlockState WARPED_NYLIUM
private static final BlockState NETHER_WART_BLOCK
private static final BlockState WARPED_WART_BLOCK
private static final BlockState BLACKSTONE
private static final BlockState BASALT
private static final BlockState MAGMA_BLOCK
public static final TernarySurfaceConfig PODZOL_CONFIG
public static final TernarySurfaceConfig GRAVEL_CONFIG
public static final TernarySurfaceConfig GRASS_CONFIG
public static final TernarySurfaceConfig STONE_CONFIG
public static final TernarySurfaceConfig COARSE_DIRT_CONFIG
public static final TernarySurfaceConfig SAND_CONFIG
public static final TernarySurfaceConfig GRASS_SAND_UNDERWATER_CONFIG
public static final TernarySurfaceConfig SAND_SAND_UNDERWATER_CONFIG
public static final TernarySurfaceConfig BADLANDS_CONFIG
public static final TernarySurfaceConfig MYCELIUM_CONFIG
public static final TernarySurfaceConfig NETHER_CONFIG
public static final TernarySurfaceConfig SOUL_SAND_CONFIG
public static final TernarySurfaceConfig END_CONFIG
public static final TernarySurfaceConfig CRIMSON_NYLIUM_CONFIG
public static final TernarySurfaceConfig WARPED_NYLIUM_CONFIG
public static final TernarySurfaceConfig BASALT_DELTA_CONFIG
public static final SurfaceBuilder<TernarySurfaceConfig> DEFAULT
public static final SurfaceBuilder<TernarySurfaceConfig> MOUNTAIN
public static final SurfaceBuilder<TernarySurfaceConfig> SHATTERED_SAVANNA
public static final SurfaceBuilder<TernarySurfaceConfig> GRAVELLY_MOUNTAIN
public static final SurfaceBuilder<TernarySurfaceConfig> GIANT_TREE_TAIGA
public static final SurfaceBuilder<TernarySurfaceConfig> SWAMP
public static final SurfaceBuilder<TernarySurfaceConfig> BADLANDS
public static final SurfaceBuilder<TernarySurfaceConfig> WOODED_BADLANDS
public static final SurfaceBuilder<TernarySurfaceConfig> ERODED_BADLANDS
public static final SurfaceBuilder<TernarySurfaceConfig> FROZEN_OCEAN
public static final SurfaceBuilder<TernarySurfaceConfig> NETHER
public static final SurfaceBuilder<TernarySurfaceConfig> NETHER_FOREST
public static final SurfaceBuilder<TernarySurfaceConfig> SOUL_SAND_VALLEY
public static final SurfaceBuilder<TernarySurfaceConfig> BASALT_DELTAS
public static final SurfaceBuilder<TernarySurfaceConfig> NOPE
private final com.mojang.serialization.Codec<ConfiguredSurfaceBuilder<C extends SurfaceConfig>> codec
public SurfaceBuilder(com.mojang.serialization.Codec<C> codec)
private static <C extends SurfaceConfig,F extends SurfaceBuilder<C>> F register(String id, F surfaceBuilder)
public com.mojang.serialization.Codec<ConfiguredSurfaceBuilder<C>> getCodec()
public ConfiguredSurfaceBuilder<C> withConfig(C config)
public abstract void generate(Random random, Chunk chunk, Biome biome, int x, int z, int height, double noise, BlockState defaultBlock, BlockState defaultFluid, int seaLevel, long seed, C surfaceBlocks)
public void initSeed(long seed)