Uses of Class
net.minecraft.world.chunk.Chunk
Package
Description
-
Uses of Chunk in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionprivate static void
EntityRenderDispatcher.renderShadowPart
(MatrixStack.Entry entry, VertexConsumer vertices, Chunk chunk, WorldView world, BlockPos pos, double x, double y, double z, float radius, float opacity) -
Uses of Chunk in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static BiomeSupplier
FillBiomeCommand.createBiomeSupplier
(MutableInt counter, Chunk chunk, BlockBox box, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter) -
Uses of Chunk in net.minecraft.server.world
Modifier and TypeFieldDescriptionstatic final OptionalChunk
<Chunk> ChunkHolder.CHUNK_LOADING_NOT_FINISHED
private final AtomicReferenceArray
<CompletableFuture<OptionalChunk<Chunk>>> ChunkHolder.futuresByStatus
private CompletableFuture
<Chunk> ChunkHolder.savingFuture
static final OptionalChunk
<Chunk> ChunkHolder.UNLOADED_CHUNK
static final CompletableFuture
<OptionalChunk<Chunk>> ChunkHolder.UNLOADED_CHUNK_FUTURE
Modifier and TypeMethodDescriptionServerChunkManager.getChunk
(int x, int z, ChunkStatus leastStatus, boolean create) ChunkHolder.getCurrentChunk()
private Chunk
ThreadedAnvilChunkStorage.getProtoChunk
(ChunkPos chunkPos) private Chunk
ThreadedAnvilChunkStorage.recoverFromException
(Throwable throwable, ChunkPos chunkPos) Modifier and TypeMethodDescriptionList
<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<OptionalChunk<Chunk>>>> ChunkHolder.collectFuturesByStatus()
private CompletableFuture
<Chunk> ThreadedAnvilChunkStorage.convertToFullChunk
(ChunkHolder chunkHolder, Chunk chunk) ThreadedAnvilChunkStorage.getChunk
(ChunkHolder holder, ChunkStatus requiredStatus) ChunkHolder.getChunkAt
(ChunkStatus targetStatus, ThreadedAnvilChunkStorage chunkStorage) private CompletableFuture
<OptionalChunk<Chunk>> ServerChunkManager.getChunkFuture
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) ServerChunkManager.getChunkFutureSyncOnMainThread
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) ChunkHolder.getFutureFor
(ChunkStatus leastStatus) private CompletableFuture
<OptionalChunk<List<Chunk>>> ThreadedAnvilChunkStorage.getRegion
(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) ChunkHolder.getSavingFuture()
ChunkHolder.getValidFutureFor
(ChunkStatus leastStatus) ServerLightingProvider.initializeLight
(Chunk chunk, boolean bool) private CompletableFuture
<Chunk> private CompletableFuture
<OptionalChunk<Chunk>> ThreadedAnvilChunkStorage.upgradeChunk
(ChunkHolder holder, ChunkStatus requiredStatus) Modifier and TypeMethodDescriptionvoid
ServerWorld.cacheStructures
(Chunk chunk) private CompletableFuture
<Chunk> ThreadedAnvilChunkStorage.convertToFullChunk
(ChunkHolder chunkHolder, Chunk chunk) ServerLightingProvider.initializeLight
(Chunk chunk, boolean bool) private void
ServerChunkManager.putInCache
(long pos, @Nullable Chunk chunk, ChunkStatus status) private boolean
Modifier and TypeMethodDescriptionprivate void
ChunkHolder.combineSavingFuture
(CompletableFuture<? extends OptionalChunk<? extends Chunk>> then, String thenDesc) void
ThreadedAnvilChunkStorage.sendChunkBiomePackets
(List<Chunk> chunks) -
Uses of Chunk in net.minecraft.util.math
-
Uses of Chunk in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final Chunk
ChunkRegion.centerPos
private final Chunk
Heightmap.chunk
Modifier and TypeMethodDescriptionChunkRegion.getChunk
(int chunkX, int chunkZ) Returns the chunk with positionchunkX
andchunkZ
.ChunkRegion.getChunk
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) World.getChunk
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) default Chunk
WorldView.getChunk
(int chunkX, int chunkZ) Returns the chunk with positionchunkX
andchunkZ
.default Chunk
WorldView.getChunk
(int chunkX, int chunkZ, ChunkStatus status) WorldView.getChunk
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) default Chunk
Returns the chunk that containspos
.Modifier and TypeMethodDescription(package private) static Biome
SpawnHelper.getBiomeDirectly
(BlockPos pos, Chunk chunk) private static boolean
SpawnHelper.isAcceptableSpawnPosition
(ServerWorld world, Chunk chunk, BlockPos.Mutable pos, double squaredDistance) static void
Heightmap.populateHeightmaps
(Chunk chunk, Set<Heightmap.Type> types) private void
void
static NbtCompound
ChunkSerializer.serialize
(ServerWorld world, Chunk chunk) void
Heightmap.setTo
(Chunk chunk, Heightmap.Type type, long[] values) static void
SpawnHelper.spawnEntitiesInChunk
(SpawnGroup group, ServerWorld world, Chunk chunk, BlockPos pos, SpawnHelper.Checker checker, SpawnHelper.Runner runner) boolean
SpawnHelper.Checker.test
(EntityType<?> type, BlockPos pos, Chunk chunk) private boolean
SpawnHelper.Info.test
(EntityType<?> type, BlockPos pos, Chunk chunk) ModifierConstructorDescriptionChunkRegion
(ServerWorld world, List<Chunk> chunks, ChunkStatus status, int placementRadius) -
Uses of Chunk in net.minecraft.world.chunk
Modifier and TypeClassDescriptionclass
class
class
class
Represents a chunk that wraps a world chunk, used in world generation.Modifier and TypeMethodDescriptionprivate Chunk
ChunkCache.getChunk
(int chunkX, int chunkZ) private Chunk
ChunkManager.getChunk
(int x, int z, ChunkStatus leastStatus, boolean create) Modifier and TypeMethodDescription(package private) static CompletableFuture
<Chunk> ChunkGenerating.buildSurface
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.carve
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.convertToFull
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.convertToFull
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) ChunkStatus.GenerationTask.doWork
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) ChunkStatus.LoadTask.doWork
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateEntities
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateFeatures
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateStructureReferences
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateStructures
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) private static CompletableFuture
<Chunk> ChunkGenerating.initializeLight
(ServerLightingProvider lightingProvider, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.initializeLight
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.initializeLight
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) private static CompletableFuture
<Chunk> ChunkGenerating.light
(ServerLightingProvider lightingProvider, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.light
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.light
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.loadStructures
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.noop
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.noop
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.populateBiomes
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.populateNoise
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) ChunkStatus.runGenerationTask
(ChunkGenerationContext context, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks) ChunkStatus.runLoadTask
(ChunkGenerationContext context, FullChunkConverter fullChunkConverter, Chunk chunk) Modifier and TypeMethodDescription(package private) static CompletableFuture
<Chunk> ChunkGenerating.buildSurface
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.carve
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.convertToFull
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.convertToFull
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) ChunkStatus.GenerationTask.doWork
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) ChunkStatus.LoadTask.doWork
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateEntities
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateFeatures
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateStructureReferences
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateStructures
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) static BiomeSupplier
BelowZeroRetrogen.getBiomeSupplier
(BiomeSupplier biomeSupplier, Chunk chunk) private static CompletableFuture
<Chunk> ChunkGenerating.initializeLight
(ServerLightingProvider lightingProvider, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.initializeLight
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.initializeLight
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) private static boolean
private static CompletableFuture
<Chunk> ChunkGenerating.light
(ServerLightingProvider lightingProvider, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.light
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.light
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.loadStructures
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.noop
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.noop
(ChunkGenerationContext context, ChunkStatus status, FullChunkConverter fullChunkConverter, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.populateBiomes
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.populateNoise
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) ChunkStatus.runLoadTask
(ChunkGenerationContext context, FullChunkConverter fullChunkConverter, Chunk chunk) Modifier and TypeMethodDescription(package private) static CompletableFuture
<Chunk> ChunkGenerating.buildSurface
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.carve
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.convertToFull
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) ChunkStatus.GenerationTask.doWork
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateEntities
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateFeatures
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateStructureReferences
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateStructures
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) Chunk.getOrCreateChunkNoiseSampler
(Function<Chunk, ChunkNoiseSampler> chunkNoiseSamplerCreator) (package private) static CompletableFuture
<Chunk> ChunkGenerating.initializeLight
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.light
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.noop
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.populateBiomes
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.populateNoise
(ChunkGenerationContext context, ChunkStatus status, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks, Chunk chunk) ChunkStatus.runGenerationTask
(ChunkGenerationContext context, Executor executor, FullChunkConverter fullChunkConverter, List<Chunk> chunks) -
Uses of Chunk in net.minecraft.world.chunk.light
Modifier and TypeMethodDescriptionprivate int
ChunkSkyLight.calculateSurfaceY
(Chunk chunk, int topSectionIndex, int localX, int localZ) void
ChunkSkyLight.refreshSurfaceY
(Chunk chunk) -
Uses of Chunk in net.minecraft.world.gen.carver
Modifier and TypeMethodDescriptionCarverContext.applyMaterialRule
(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.abstract boolean
Carver.carve
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
CaveCarver.carve
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) boolean
ConfiguredCarver.carve
(CarverContext context, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
RavineCarver.carve
(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) protected boolean
Carver.carveAtPoint
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, CarvingMask mask, BlockPos.Mutable pos, BlockPos.Mutable tmp, AquiferSampler aquiferSampler, MutableBoolean replacedGrassy) protected boolean
NetherCaveCarver.carveAtPoint
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, CarvingMask carvingMask, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) protected void
CaveCarver.carveCave
(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, float float2, double double5, CarvingMask mask, Carver.SkipPredicate skipPredicate) private void
RavineCarver.carveRavine
(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask) protected boolean
Carver.carveRegion
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double x, double y, double z, double width, double height, CarvingMask mask, Carver.SkipPredicate skipPredicate) protected void
CaveCarver.carveTunnels
(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, double horizontalScale, double verticalScale, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask, Carver.SkipPredicate skipPredicate) -
Uses of Chunk in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionprivate Chunk
NoiseChunkGenerator.populateNoise
(Blender blender, StructureAccessor structureAccessor, NoiseConfig noiseConfig, Chunk chunk, int minimumCellY, int cellHeight) Modifier and TypeMethodDescriptionChunkGenerator.populateBiomes
(Executor executor, NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk) NoiseChunkGenerator.populateBiomes
(Executor executor, NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk) abstract CompletableFuture
<Chunk> ChunkGenerator.populateNoise
(Executor executor, Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk) Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.DebugChunkGenerator.populateNoise
(Executor executor, Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk) Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.FlatChunkGenerator.populateNoise
(Executor executor, Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk) Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.NoiseChunkGenerator.populateNoise
(Executor executor, Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk) Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.Modifier and TypeMethodDescriptionvoid
ChunkGenerator.addStructureReferences
(StructureWorldAccess world, StructureAccessor structureAccessor, Chunk chunk) Finds all structures that the given chunk intersects, and adds references to their starting chunks to it.abstract void
ChunkGenerator.buildSurface
(ChunkRegion region, StructureAccessor structures, NoiseConfig noiseConfig, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.void
DebugChunkGenerator.buildSurface
(ChunkRegion region, StructureAccessor structures, NoiseConfig noiseConfig, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.void
FlatChunkGenerator.buildSurface
(ChunkRegion region, StructureAccessor structures, NoiseConfig noiseConfig, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.void
NoiseChunkGenerator.buildSurface
(Chunk chunk, HeightContext heightContext, NoiseConfig noiseConfig, StructureAccessor structureAccessor, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, Blender blender) void
NoiseChunkGenerator.buildSurface
(ChunkRegion region, StructureAccessor structures, NoiseConfig noiseConfig, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.private double[]
BlendingData.calculateCollidableBlockDensityColumn
(Chunk chunk, int chunkBlockX, int chunkBlockZ, int surfaceHeight) abstract void
ChunkGenerator.carve
(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver carverStep) Generates caves for the given chunk.void
DebugChunkGenerator.carve
(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver carverStep) Generates caves for the given chunk.void
FlatChunkGenerator.carve
(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver carverStep) Generates caves for the given chunk.void
NoiseChunkGenerator.carve
(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver carverStep) Generates caves for the given chunk.static ChunkNoiseSampler
ChunkNoiseSampler.create
(Chunk chunk, NoiseConfig noiseConfig, DensityFunctionTypes.Beardifying beardifying, ChunkGeneratorSettings chunkGeneratorSettings, AquiferSampler.FluidLevelSampler fluidLevelSampler, Blender blender) private ChunkNoiseSampler
NoiseChunkGenerator.createChunkNoiseSampler
(Chunk chunk, StructureAccessor world, Blender blender, NoiseConfig noiseConfig) void
ChunkGenerator.generateFeatures
(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) void
DebugChunkGenerator.generateFeatures
(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) private static double
BlendingData.getAboveCollidableBlockValue
(Chunk chunk, BlockPos.Mutable mutablePos) Returns1.0
if there is a collidable block below, otherwise-1
.private static BlockBox
ChunkGenerator.getBlockBoxForChunk
(Chunk chunk) private static double
BlendingData.getCollidableBlockDensityBelow
(Chunk chunk, BlockPos.Mutable mutablePos) private static int
ChunkGenerator.getStructureReferences
(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, Structure structure) private int
BlendingData.getSurfaceBlockY
(Chunk chunk, int blockX, int blockZ) private List
<RegistryEntry<Biome>> BlendingData.getVerticalBiomeSections
(Chunk chunk, int chunkBlockX, int chunkBlockZ) private void
BlendingData.initBlockColumn
(int index, Chunk chunk, int chunkBlockX, int chunkBlockZ) private void
BlendingData.initChunkBlendingData
(Chunk chunk, Set<EightWayDirection> newNoiseChunkDirections) private static boolean
BlendingData.isCollidableAndNotTreeAt
(Chunk chunk, BlockPos pos) ChunkGenerator.populateBiomes
(Executor executor, NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk) NoiseChunkGenerator.populateBiomes
(Executor executor, NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk) private void
NoiseChunkGenerator.populateBiomes
(Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk) abstract CompletableFuture
<Chunk> ChunkGenerator.populateNoise
(Executor executor, Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk) Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.DebugChunkGenerator.populateNoise
(Executor executor, Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk) Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.FlatChunkGenerator.populateNoise
(Executor executor, Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk) Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.NoiseChunkGenerator.populateNoise
(Executor executor, Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk) Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.private Chunk
NoiseChunkGenerator.populateNoise
(Blender blender, StructureAccessor structureAccessor, NoiseConfig noiseConfig, Chunk chunk, int minimumCellY, int cellHeight) void
ChunkGenerator.setStructureStarts
(DynamicRegistryManager registryManager, StructurePlacementCalculator placementCalculator, StructureAccessor structureAccessor, Chunk chunk, StructureTemplateManager structureTemplateManager) Determines which structures should start in the given chunk and creates their starting points.private static void
Blender.tickLeavesAndFluids
(Chunk chunk, BlockPos pos) static void
Blender.tickLeavesAndFluids
(ChunkRegion chunkRegion, Chunk chunk) private boolean
ChunkGenerator.trySetStructureStart
(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos) -
Uses of Chunk in net.minecraft.world.gen.surfacebuilder
Modifier and TypeFieldDescription(package private) final Chunk
MaterialRules.MaterialRuleContext.chunk
Modifier and TypeMethodDescriptionSurfaceBuilder.applyMaterialRule
(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.void
SurfaceBuilder.buildSurface
(NoiseConfig noiseConfig, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext heightContext, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule materialRule) ModifierConstructorDescriptionprotected
MaterialRuleContext
(SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> registry, HeightContext heightContext)