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 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
-
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 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_)
-
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:
codec
in classChunkGenerator
-
withSeed
public ChunkGenerator withSeed(long p_230349_1_)
- Specified by:
withSeed
in classChunkGenerator
-
buildSurfaceAndBedrock
public void buildSurfaceAndBedrock(WorldGenRegion p_225551_1_, IChunk p_225551_2_)
- Specified by:
buildSurfaceAndBedrock
in classChunkGenerator
-
applyCarvers
public void applyCarvers(long p_230350_1_, BiomeManager p_230350_3_, IChunk p_230350_4_, GenerationStage.Carving p_230350_5_)
- Overrides:
applyCarvers
in classChunkGenerator
-
applyBiomeDecoration
public void applyBiomeDecoration(WorldGenRegion p_230351_1_, StructureManager p_230351_2_)
- Overrides:
applyBiomeDecoration
in classChunkGenerator
-
fillFromNoise
public void fillFromNoise(IWorld p_230352_1_, StructureManager p_230352_2_, IChunk p_230352_3_)
- Specified by:
fillFromNoise
in classChunkGenerator
-
getBaseHeight
public int getBaseHeight(int p_222529_1_, int p_222529_2_, Heightmap.Type p_222529_3_)
- Specified by:
getBaseHeight
in classChunkGenerator
-
getBaseColumn
public IBlockReader getBaseColumn(int p_230348_1_, int p_230348_2_)
- Specified by:
getBaseColumn
in classChunkGenerator
-
getBlockStateFor
public static BlockState getBlockStateFor(int p_177461_0_, int p_177461_1_)
-
initValidStates
public static void initValidStates()
-
-