public class ReleaseSurfaceBuilder extends SurfaceBuilder
chunkSource, defaultBlock, defaultFluid, settings| Constructor and Description |
|---|
ReleaseSurfaceBuilder(ChunkSource chunkSource,
ModernBetaGeneratorSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
provideSurface(net.minecraft.world.World world,
net.minecraft.world.biome.Biome[] biomes,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer,
int chunkX,
int chunkZ)
Replace default blocks with biome-specific topsoil blocks and set in the chunk.
|
boolean |
replacesDefaultBlock()
Indicate whether the surface builder can replace the default block.
|
createSurfaceRandom, getSeaLevel, getWorldHeight, isBedrock, isCustomSurface, useBedrock, useCustomSurfaceBuilder, useSandstonepublic ReleaseSurfaceBuilder(ChunkSource chunkSource, ModernBetaGeneratorSettings settings)
public void provideSurface(net.minecraft.world.World world,
net.minecraft.world.biome.Biome[] biomes,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer,
int chunkX,
int chunkZ)
SurfaceBuilderprovideSurface in class SurfaceBuilderworld - The world object.biomes - Array of biomes in the chunk.chunkPrimer - Blockstate data for the chunk.chunkX - x-coordinate in chunk coordinates.chunkZ - z-coordinate in chunk coordinates.public boolean replacesDefaultBlock()
SurfaceBuilderReleaseSurfaceBuilder can replace Stone in GuiScreenCustomizePreview.
Since vanilla surface builder cannot replace default blocks that are not Stone, it will return false in other cases.replacesDefaultBlock in class SurfaceBuilder