Package net.minecraft.world.gen
Class DebugChunkGenerator
- java.lang.Object
-
- net.minecraft.world.gen.ChunkGenerator
-
- net.minecraft.world.gen.DebugChunkGenerator
-
public class DebugChunkGenerator extends ChunkGenerator
-
-
Field Summary
Fields Modifier and Type Field Description protected static BlockStateAIRprivate static java.util.List<BlockState>ALL_BLOCKSprotected static BlockStateBARRIERprivate Registry<Biome>biomesstatic com.mojang.serialization.Codec<DebugChunkGenerator>CODECprivate static intGRID_HEIGHTprivate static intGRID_WIDTH-
Fields inherited from class net.minecraft.world.gen.ChunkGenerator
biomeSource, runtimeBiomeSource
-
-
Constructor Summary
Constructors Constructor Description DebugChunkGenerator(Registry<Biome> p_i241974_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyBiomeDecoration(WorldGenRegion p_230351_1_, StructureManager p_230351_2_)voidapplyCarvers(long p_230350_1_, BiomeManager p_230350_3_, IChunk p_230350_4_, GenerationStage.Carving p_230350_5_)Registry<Biome>biomes()voidbuildSurfaceAndBedrock(WorldGenRegion p_225551_1_, IChunk p_225551_2_)protected com.mojang.serialization.Codec<? extends ChunkGenerator>codec()voidfillFromNoise(IWorld p_230352_1_, StructureManager p_230352_2_, IChunk p_230352_3_)IBlockReadergetBaseColumn(int p_230348_1_, int p_230348_2_)intgetBaseHeight(int p_222529_1_, int p_222529_2_, Heightmap.Type p_222529_3_)static BlockStategetBlockStateFor(int p_177461_0_, int p_177461_1_)static voidinitValidStates()ChunkGeneratorwithSeed(long p_230349_1_)-
Methods inherited from class net.minecraft.world.gen.ChunkGenerator
createBiomes, createReferences, createStructures, findNearestMapFeature, getBiomeSource, getFirstFreeHeight, getFirstOccupiedHeight, getGenDepth, getMobsAt, getSeaLevel, getSettings, getSpawnHeight, hasStronghold, spawnOriginalMobs
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<DebugChunkGenerator> CODEC
-
ALL_BLOCKS
private static java.util.List<BlockState> ALL_BLOCKS
-
GRID_WIDTH
private static int GRID_WIDTH
-
GRID_HEIGHT
private static int GRID_HEIGHT
-
AIR
protected static final BlockState AIR
-
BARRIER
protected static final BlockState BARRIER
-
-
Method Detail
-
codec
protected com.mojang.serialization.Codec<? extends ChunkGenerator> codec()
- Specified by:
codecin classChunkGenerator
-
withSeed
public ChunkGenerator withSeed(long p_230349_1_)
- Specified by:
withSeedin classChunkGenerator
-
buildSurfaceAndBedrock
public void buildSurfaceAndBedrock(WorldGenRegion p_225551_1_, IChunk p_225551_2_)
- Specified by:
buildSurfaceAndBedrockin classChunkGenerator
-
applyCarvers
public void applyCarvers(long p_230350_1_, BiomeManager p_230350_3_, IChunk p_230350_4_, GenerationStage.Carving p_230350_5_)- Overrides:
applyCarversin classChunkGenerator
-
applyBiomeDecoration
public void applyBiomeDecoration(WorldGenRegion p_230351_1_, StructureManager p_230351_2_)
- Overrides:
applyBiomeDecorationin classChunkGenerator
-
fillFromNoise
public void fillFromNoise(IWorld p_230352_1_, StructureManager p_230352_2_, IChunk p_230352_3_)
- Specified by:
fillFromNoisein classChunkGenerator
-
getBaseHeight
public int getBaseHeight(int p_222529_1_, int p_222529_2_, Heightmap.Type p_222529_3_)- Specified by:
getBaseHeightin classChunkGenerator
-
getBaseColumn
public IBlockReader getBaseColumn(int p_230348_1_, int p_230348_2_)
- Specified by:
getBaseColumnin classChunkGenerator
-
getBlockStateFor
public static BlockState getBlockStateFor(int p_177461_0_, int p_177461_1_)
-
initValidStates
public static void initValidStates()
-
-