public class ConfiguredSurfaceBuilder<SC extends SurfaceConfig> extends Object
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<ConfiguredSurfaceBuilder<?>> |
CODEC |
SC |
config |
static com.mojang.serialization.Codec<Supplier<ConfiguredSurfaceBuilder<?>>> |
REGISTRY_CODEC |
SurfaceBuilder<SC> |
surfaceBuilder |
Constructor and Description |
---|
ConfiguredSurfaceBuilder(SurfaceBuilder<SC> surfaceBuilder,
SC config) |
Modifier and Type | Method and Description |
---|---|
void |
generate(Random random,
Chunk chunk,
Biome biome,
int int2,
int int3,
int int4,
double double2,
BlockState defaultBlock,
BlockState defaultFluid,
int int5,
long seed) |
SC |
getConfig() |
void |
initSeed(long seed) |
public static final com.mojang.serialization.Codec<ConfiguredSurfaceBuilder<?>> CODEC
public static final com.mojang.serialization.Codec<Supplier<ConfiguredSurfaceBuilder<?>>> REGISTRY_CODEC
public final SurfaceBuilder<SC extends SurfaceConfig> surfaceBuilder
public final SC extends SurfaceConfig config
public ConfiguredSurfaceBuilder(SurfaceBuilder<SC> surfaceBuilder, SC config)
public void generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState defaultBlock, BlockState defaultFluid, int int5, long seed)
public void initSeed(long seed)
public SC getConfig()