Class DebugLevelSource
java.lang.Object
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.world.level.levelgen.DebugLevelSource
- All Implemented Interfaces:
BiomeManager.NoiseBiomeSource
-
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, runtimeBiomeSource, structureOverrides, structureSets
-
Constructor Summary
ConstructorDescriptionDebugLevelSource
(Registry<StructureSet> p_208205_, Registry<Biome> p_208206_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugScreenInfo
(List<String> p_208212_, BlockPos p_208213_) void
applyBiomeDecoration
(WorldGenLevel p_188524_, ChunkAccess p_188525_, StructureFeatureManager p_188526_) void
applyCarvers
(WorldGenRegion p_188513_, long p_188514_, BiomeManager p_188515_, StructureFeatureManager p_188516_, ChunkAccess p_188517_, GenerationStep.Carving p_188518_) biomes()
void
buildSurface
(WorldGenRegion p_188520_, StructureFeatureManager p_188521_, ChunkAccess p_188522_) protected com.mojang.serialization.Codec<? extends ChunkGenerator>
codec()
fillFromNoise
(Executor p_188528_, Blender p_188529_, StructureFeatureManager p_188530_, ChunkAccess p_188531_) getBaseColumn
(int p_158229_, int p_158230_, LevelHeightAccessor p_158231_) int
getBaseHeight
(int p_158233_, int p_158234_, Heightmap.Types p_158235_, LevelHeightAccessor p_158236_) static BlockState
getBlockStateFor
(int p_64149_, int p_64150_) int
int
getMinY()
int
static void
void
spawnOriginalMobs
(WorldGenRegion p_188511_) withSeed
(long p_64130_) Methods inherited from class net.minecraft.world.level.chunk.ChunkGenerator
adjustBiome, allConfigurations, commonCodec, createBiomes, createReferences, createStructures, ensureStructuresGenerated, findNearestMapFeature, getBiomeSource, getFirstFreeHeight, getFirstOccupiedHeight, getMobsAt, getNoiseBiome, getRingPositionsFor, getSpawnHeight, getTypeNameForDataFixer, hasFeatureChunkInRange, possibleStructureSets
-
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:
-
biomes
-
-
Constructor Details
-
DebugLevelSource
-
-
Method Details
-
biomes
-
codec
- Specified by:
codec
in classChunkGenerator
-
withSeed
- Specified by:
withSeed
in classChunkGenerator
-
buildSurface
public void buildSurface(WorldGenRegion p_188520_, StructureFeatureManager p_188521_, ChunkAccess p_188522_) - Specified by:
buildSurface
in classChunkGenerator
-
applyBiomeDecoration
public void applyBiomeDecoration(WorldGenLevel p_188524_, ChunkAccess p_188525_, StructureFeatureManager p_188526_) - Overrides:
applyBiomeDecoration
in classChunkGenerator
-
fillFromNoise
public CompletableFuture<ChunkAccess> fillFromNoise(Executor p_188528_, Blender p_188529_, StructureFeatureManager p_188530_, ChunkAccess p_188531_) - Specified by:
fillFromNoise
in classChunkGenerator
-
getBaseHeight
public int getBaseHeight(int p_158233_, int p_158234_, Heightmap.Types p_158235_, LevelHeightAccessor p_158236_) - Specified by:
getBaseHeight
in classChunkGenerator
-
getBaseColumn
- Specified by:
getBaseColumn
in classChunkGenerator
-
addDebugScreenInfo
- Specified by:
addDebugScreenInfo
in classChunkGenerator
-
getBlockStateFor
-
initValidStates
public static void initValidStates() -
climateSampler
- Specified by:
climateSampler
in classChunkGenerator
-
applyCarvers
public void applyCarvers(WorldGenRegion p_188513_, long p_188514_, BiomeManager p_188515_, StructureFeatureManager p_188516_, ChunkAccess p_188517_, GenerationStep.Carving p_188518_) - 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
-