Class DebugLevelSource
java.lang.Object
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.world.level.levelgen.DebugLevelSource
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final BlockState
private static List<BlockState>
protected static final BlockState
static final int
private static final int
static final com.mojang.serialization.Codec<DebugLevelSource>
private static int
private static int
static final int
Fields inherited from class net.minecraft.world.level.chunk.ChunkGenerator
biomeSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugScreenInfo
(List<String> p_223987_, RandomState p_223988_, BlockPos p_223989_) void
applyBiomeDecoration
(WorldGenLevel p_223983_, ChunkAccess p_223984_, StructureManager p_223985_) void
applyCarvers
(WorldGenRegion p_223970_, long p_223971_, RandomState p_223972_, BiomeManager p_223973_, StructureManager p_223974_, ChunkAccess p_223975_, GenerationStep.Carving p_223976_) void
buildSurface
(WorldGenRegion p_223978_, StructureManager p_223979_, RandomState p_223980_, ChunkAccess p_223981_) protected com.mojang.serialization.Codec<? extends ChunkGenerator>
codec()
fillFromNoise
(Executor p_223991_, Blender p_223992_, RandomState p_223993_, StructureManager p_223994_, ChunkAccess p_223995_) getBaseColumn
(int p_223959_, int p_223960_, LevelHeightAccessor p_223961_, RandomState p_223962_) int
getBaseHeight
(int p_223964_, int p_223965_, Heightmap.Types p_223966_, LevelHeightAccessor p_223967_, RandomState p_223968_) static BlockState
getBlockStateFor
(int p_64149_, int p_64150_) int
int
getMinY()
int
static void
void
spawnOriginalMobs
(WorldGenRegion p_188511_) Methods inherited from class net.minecraft.world.level.chunk.ChunkGenerator
createBiomes, createReferences, createState, createStructures, findNearestMapStructure, getBiomeGenerationSettings, getBiomeSource, getFirstFreeHeight, getFirstOccupiedHeight, getMobsAt, getSpawnHeight, getTypeNameForDataFixer
-
Field Details
-
CODEC
-
BLOCK_MARGIN
private static final int BLOCK_MARGIN- See Also:
-
ALL_BLOCKS
-
GRID_WIDTH
private static int GRID_WIDTH -
GRID_HEIGHT
private static int GRID_HEIGHT -
AIR
-
BARRIER
-
HEIGHT
public static final int HEIGHT- See Also:
-
BARRIER_HEIGHT
public static final int BARRIER_HEIGHT- See Also:
-
-
Constructor Details
-
DebugLevelSource
-
-
Method Details
-
codec
- Specified by:
codec
in classChunkGenerator
-
buildSurface
public void buildSurface(WorldGenRegion p_223978_, StructureManager p_223979_, RandomState p_223980_, ChunkAccess p_223981_) - Specified by:
buildSurface
in classChunkGenerator
-
applyBiomeDecoration
public void applyBiomeDecoration(WorldGenLevel p_223983_, ChunkAccess p_223984_, StructureManager p_223985_) - Overrides:
applyBiomeDecoration
in classChunkGenerator
-
fillFromNoise
public CompletableFuture<ChunkAccess> fillFromNoise(Executor p_223991_, Blender p_223992_, RandomState p_223993_, StructureManager p_223994_, ChunkAccess p_223995_) - Specified by:
fillFromNoise
in classChunkGenerator
-
getBaseHeight
public int getBaseHeight(int p_223964_, int p_223965_, Heightmap.Types p_223966_, LevelHeightAccessor p_223967_, RandomState p_223968_) - Specified by:
getBaseHeight
in classChunkGenerator
-
initValidStates
public static void initValidStates() -
getBaseColumn
public NoiseColumn getBaseColumn(int p_223959_, int p_223960_, LevelHeightAccessor p_223961_, RandomState p_223962_) - Specified by:
getBaseColumn
in classChunkGenerator
-
addDebugScreenInfo
- Specified by:
addDebugScreenInfo
in classChunkGenerator
-
getBlockStateFor
-
applyCarvers
public void applyCarvers(WorldGenRegion p_223970_, long p_223971_, RandomState p_223972_, BiomeManager p_223973_, StructureManager p_223974_, ChunkAccess p_223975_, GenerationStep.Carving p_223976_) - Specified by:
applyCarvers
in classChunkGenerator
-
spawnOriginalMobs
- Specified by:
spawnOriginalMobs
in classChunkGenerator
-
getMinY
public int getMinY()- Specified by:
getMinY
in classChunkGenerator
-
getGenDepth
public int getGenDepth()- Specified by:
getGenDepth
in classChunkGenerator
-
getSeaLevel
public int getSeaLevel()- Specified by:
getSeaLevel
in classChunkGenerator
-