Class DebugLevelSource
java.lang.Object
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.world.level.levelgen.DebugLevelSource
- All Implemented Interfaces:
BiomeManager.NoiseBiomeSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final BlockStateprivate static List<BlockState>protected static final BlockStatestatic final intprivate static final intstatic final com.mojang.serialization.Codec<DebugLevelSource>private static intprivate static intstatic final intFields inherited from class net.minecraft.world.level.chunk.ChunkGenerator
biomeSource, runtimeBiomeSource, structureOverrides, structureSets -
Constructor Summary
ConstructorsConstructorDescriptionDebugLevelSource(Registry<StructureSet> p_208205_, Registry<Biome> p_208206_) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDebugScreenInfo(List<String> p_208212_, BlockPos p_208213_) voidapplyBiomeDecoration(WorldGenLevel p_188524_, ChunkAccess p_188525_, StructureFeatureManager p_188526_) voidapplyCarvers(WorldGenRegion p_188513_, long p_188514_, BiomeManager p_188515_, StructureFeatureManager p_188516_, ChunkAccess p_188517_, GenerationStep.Carving p_188518_) biomes()voidbuildSurface(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_) intgetBaseHeight(int p_158233_, int p_158234_, Heightmap.Types p_158235_, LevelHeightAccessor p_158236_) static BlockStategetBlockStateFor(int p_64149_, int p_64150_) intintgetMinY()intstatic voidvoidspawnOriginalMobs(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:
codecin classChunkGenerator
-
withSeed
- Specified by:
withSeedin classChunkGenerator
-
buildSurface
public void buildSurface(WorldGenRegion p_188520_, StructureFeatureManager p_188521_, ChunkAccess p_188522_) - Specified by:
buildSurfacein classChunkGenerator
-
applyBiomeDecoration
public void applyBiomeDecoration(WorldGenLevel p_188524_, ChunkAccess p_188525_, StructureFeatureManager p_188526_) - Overrides:
applyBiomeDecorationin classChunkGenerator
-
fillFromNoise
public CompletableFuture<ChunkAccess> fillFromNoise(Executor p_188528_, Blender p_188529_, StructureFeatureManager p_188530_, ChunkAccess p_188531_) - Specified by:
fillFromNoisein classChunkGenerator
-
getBaseHeight
public int getBaseHeight(int p_158233_, int p_158234_, Heightmap.Types p_158235_, LevelHeightAccessor p_158236_) - Specified by:
getBaseHeightin classChunkGenerator
-
getBaseColumn
- Specified by:
getBaseColumnin classChunkGenerator
-
addDebugScreenInfo
- Specified by:
addDebugScreenInfoin classChunkGenerator
-
getBlockStateFor
-
initValidStates
public static void initValidStates() -
climateSampler
- Specified by:
climateSamplerin 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:
applyCarversin classChunkGenerator
-
spawnOriginalMobs
- Specified by:
spawnOriginalMobsin classChunkGenerator
-
getMinY
public int getMinY()- Specified by:
getMinYin classChunkGenerator
-
getGenDepth
public int getGenDepth()- Specified by:
getGenDepthin classChunkGenerator
-
getSeaLevel
public int getSeaLevel()- Specified by:
getSeaLevelin classChunkGenerator
-