Package net.minecraft.world.gen.chunk
Class DebugChunkGenerator
java.lang.Object
net.minecraft.world.gen.chunk.ChunkGenerator
net.minecraft.world.gen.chunk.DebugChunkGenerator
public class DebugChunkGenerator extends ChunkGenerator
-
Field Summary
Fields Modifier and Type Field Description protected static BlockStateAIRprotected static BlockStateBARRIERprivate static List<BlockState>BLOCK_STATESstatic com.mojang.serialization.Codec<DebugChunkGenerator>field_24768static DebugChunkGeneratorINSTANCEprivate static intX_SIDE_LENGTHprivate static intZ_SIDE_LENGTHFields inherited from class net.minecraft.world.gen.chunk.ChunkGenerator
biomeSource, field_24746, field_24747 -
Constructor Summary
Constructors Modifier Constructor Description privateDebugChunkGenerator() -
Method Summary
Modifier and Type Method Description voidbuildSurface(ChunkRegion region, Chunk chunk)voidcarve(long seed, BiomeAccess access, Chunk chunk, GenerationStep.Carver carver)voidgenerateFeatures(ChunkRegion region, StructureAccessor accessor)static BlockStategetBlockState(int x, int z)BlockViewgetColumnSample(int x, int z)intgetHeight(int x, int z, Heightmap.Type heightmapType)protected com.mojang.serialization.Codec<? extends ChunkGenerator>method_28506()voidpopulateNoise(WorldAccess world, StructureAccessor accessor, Chunk chunk)Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.ChunkGeneratorwithSeed(long seed)Methods inherited from class net.minecraft.world.gen.chunk.ChunkGenerator
addStructureReferences, getBiomeSource, getConfig, getEntitySpawnList, getHeightInGround, getHeightOnGround, getMaxY, getSeaLevel, getSpawnHeight, locateStructure, method_28507, populateBiomes, populateEntities, setStructureStarts
-
Field Details
-
INSTANCE
-
field_24768
-
BLOCK_STATES
-
X_SIDE_LENGTH
private static final int X_SIDE_LENGTH -
Z_SIDE_LENGTH
private static final int Z_SIDE_LENGTH -
AIR
-
BARRIER
-
-
Constructor Details
-
DebugChunkGenerator
private DebugChunkGenerator()
-
-
Method Details
-
method_28506
- Specified by:
method_28506in classChunkGenerator
-
withSeed
- Specified by:
withSeedin classChunkGenerator
-
buildSurface
- Specified by:
buildSurfacein classChunkGenerator
-
carve
- Overrides:
carvein classChunkGenerator
-
generateFeatures
- Overrides:
generateFeaturesin classChunkGenerator
-
populateNoise
Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.- Specified by:
populateNoisein classChunkGenerator
-
getHeight
- Specified by:
getHeightin classChunkGenerator
-
getColumnSample
- Specified by:
getColumnSamplein classChunkGenerator
-
getBlockState
-