public class DebugChunkGenerator extends ChunkGenerator
Modifier and Type | Field and Description |
---|---|
protected static BlockState |
AIR |
private static java.util.List<BlockState> |
ALL_BLOCKS |
protected static BlockState |
BARRIER |
private Registry<Biome> |
biomes |
static com.mojang.serialization.Codec<DebugChunkGenerator> |
CODEC |
private static int |
GRID_HEIGHT |
private static int |
GRID_WIDTH |
biomeSource, runtimeBiomeSource
Constructor and Description |
---|
DebugChunkGenerator(Registry<Biome> p_i241974_1_) |
Modifier and Type | Method and Description |
---|---|
void |
applyBiomeDecoration(WorldGenRegion p_230351_1_,
StructureManager p_230351_2_) |
void |
applyCarvers(long p_230350_1_,
BiomeManager p_230350_3_,
IChunk p_230350_4_,
GenerationStage.Carving p_230350_5_) |
Registry<Biome> |
biomes() |
void |
buildSurfaceAndBedrock(WorldGenRegion p_225551_1_,
IChunk p_225551_2_) |
protected com.mojang.serialization.Codec<? extends ChunkGenerator> |
codec() |
void |
fillFromNoise(IWorld p_230352_1_,
StructureManager p_230352_2_,
IChunk p_230352_3_) |
IBlockReader |
getBaseColumn(int p_230348_1_,
int p_230348_2_) |
int |
getBaseHeight(int p_222529_1_,
int p_222529_2_,
Heightmap.Type p_222529_3_) |
static BlockState |
getBlockStateFor(int p_177461_0_,
int p_177461_1_) |
static void |
initValidStates() |
ChunkGenerator |
withSeed(long p_230349_1_) |
createBiomes, createReferences, createStructures, findNearestMapFeature, getBiomeSource, getFirstFreeHeight, getFirstOccupiedHeight, getGenDepth, getMobsAt, getSeaLevel, getSettings, getSpawnHeight, hasStronghold, spawnOriginalMobs
public static final com.mojang.serialization.Codec<DebugChunkGenerator> CODEC
private static java.util.List<BlockState> ALL_BLOCKS
private static int GRID_WIDTH
private static int GRID_HEIGHT
protected static final BlockState AIR
protected static final BlockState BARRIER
protected com.mojang.serialization.Codec<? extends ChunkGenerator> codec()
codec
in class ChunkGenerator
public ChunkGenerator withSeed(long p_230349_1_)
withSeed
in class ChunkGenerator
public void buildSurfaceAndBedrock(WorldGenRegion p_225551_1_, IChunk p_225551_2_)
buildSurfaceAndBedrock
in class ChunkGenerator
public void applyCarvers(long p_230350_1_, BiomeManager p_230350_3_, IChunk p_230350_4_, GenerationStage.Carving p_230350_5_)
applyCarvers
in class ChunkGenerator
public void applyBiomeDecoration(WorldGenRegion p_230351_1_, StructureManager p_230351_2_)
applyBiomeDecoration
in class ChunkGenerator
public void fillFromNoise(IWorld p_230352_1_, StructureManager p_230352_2_, IChunk p_230352_3_)
fillFromNoise
in class ChunkGenerator
public int getBaseHeight(int p_222529_1_, int p_222529_2_, Heightmap.Type p_222529_3_)
getBaseHeight
in class ChunkGenerator
public IBlockReader getBaseColumn(int p_230348_1_, int p_230348_2_)
getBaseColumn
in class ChunkGenerator
public static BlockState getBlockStateFor(int p_177461_0_, int p_177461_1_)
public static void initValidStates()