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 TypeFieldDescriptionprivate static final OptionalChunk
<List<Chunk>> ServerChunkLoadingManager.UNLOADED_CHUNKS
private static final CompletableFuture
<OptionalChunk<List<Chunk>>> ServerChunkLoadingManager.UNLOADED_CHUNKS_FUTURE
Modifier and TypeMethodDescriptionServerChunkManager.getChunk
(int x, int z, ChunkStatus leastStatus, boolean create) private Chunk
ServerChunkLoadingManager.getProtoChunk
(ChunkPos chunkPos) private Chunk
ServerChunkLoadingManager.recoverFromException
(Throwable throwable, ChunkPos chunkPos) Modifier and TypeMethodDescriptionServerChunkLoadingManager.generate
(AbstractChunkHolder chunkHolder, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks) private CompletableFuture
<OptionalChunk<Chunk>> ServerChunkManager.getChunkFuture
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) ServerChunkManager.getChunkFutureSyncOnMainThread
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) private CompletableFuture
<OptionalChunk<List<Chunk>>> ServerChunkLoadingManager.getRegion
(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) ServerLightingProvider.initializeLight
(Chunk chunk, boolean bool) private CompletableFuture
<Chunk> Modifier and TypeMethodDescriptionvoid
ServerWorld.cacheStructures
(Chunk chunk) ServerLightingProvider.initializeLight
(Chunk chunk, boolean bool) private void
ServerChunkManager.putInCache
(long pos, @Nullable Chunk chunk, ChunkStatus status) private boolean
Modifier and TypeMethodDescriptionvoid
ServerChunkLoadingManager.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 TypeMethodDescriptionChunkLoadingManager.generate
(AbstractChunkHolder chunkHolder, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks) 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, BoundedRegionArray<AbstractChunkHolder> chunks, ChunkGenerationStep generationStep, Chunk centerPos) Heightmap
(Chunk chunk, Heightmap.Type type) -
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 TypeFieldDescriptionprivate final AtomicReferenceArray
<CompletableFuture<OptionalChunk<Chunk>>> AbstractChunkHolder.chunkFuturesByStatus
private final List
<CompletableFuture<OptionalChunk<Chunk>>> ChunkLoader.futures
private static final OptionalChunk
<Chunk> AbstractChunkHolder.NOT_DONE
static final OptionalChunk
<Chunk> AbstractChunkHolder.UNLOADED
static final CompletableFuture
<OptionalChunk<Chunk>> AbstractChunkHolder.UNLOADED_FUTURE
Modifier and TypeMethodDescriptionprivate Chunk
ChunkGenerationStep.finalizeGeneration
(Chunk chunk, @Nullable Finishable finishCallback) private Chunk
ChunkCache.getChunk
(int chunkX, int chunkZ) private Chunk
ChunkManager.getChunk
(int x, int z, ChunkStatus leastStatus, boolean create) AbstractChunkHolder.getLatest()
AbstractChunkHolder.getOrNull
(ChunkStatus requestedStatus) AbstractChunkHolder.getUncheckedOrNull
(ChunkStatus requestedStatus) Modifier and TypeMethodDescription(package private) static CompletableFuture
<Chunk> ChunkGenerating.buildSurface
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.carve
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.convertToFullChunk
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) GenerationTask.doWork
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> boundedRegionArray, Chunk chunk) List
<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<OptionalChunk<Chunk>>>> AbstractChunkHolder.enumerateFutures()
(package private) CompletableFuture
<OptionalChunk<Chunk>> AbstractChunkHolder.generate
(ChunkGenerationStep step, ChunkLoadingManager chunkLoadingManager, BoundedRegionArray<AbstractChunkHolder> chunks) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateEntities
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateFeatures
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateStructureReferences
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateStructures
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) private CompletableFuture
<OptionalChunk<Chunk>> AbstractChunkHolder.getOrCreateFuture
(ChunkStatus status) (package private) static CompletableFuture
<Chunk> ChunkGenerating.initializeLight
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.light
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) AbstractChunkHolder.load
(ChunkStatus requestedStatus, ServerChunkLoadingManager chunkLoadingManager) (package private) static CompletableFuture
<Chunk> ChunkGenerating.loadStructures
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.noop
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.populateBiomes
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.populateNoise
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) ChunkGenerationStep.run
(ChunkGenerationContext context, BoundedRegionArray<AbstractChunkHolder> boundedRegionArray, Chunk chunk) Modifier and TypeMethodDescription(package private) static CompletableFuture
<Chunk> ChunkGenerating.buildSurface
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.carve
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) private void
AbstractChunkHolder.completeChunkFuture
(ChunkStatus status, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.convertToFullChunk
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) GenerationTask.doWork
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> boundedRegionArray, Chunk chunk) private Chunk
ChunkGenerationStep.finalizeGeneration
(Chunk chunk, @Nullable Finishable finishCallback) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateEntities
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateFeatures
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateStructureReferences
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.generateStructures
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) static BiomeSupplier
BelowZeroRetrogen.getBiomeSupplier
(BiomeSupplier biomeSupplier, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.initializeLight
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) private static boolean
(package private) static CompletableFuture
<Chunk> ChunkGenerating.light
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.loadStructures
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.noop
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.populateBiomes
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) (package private) static CompletableFuture
<Chunk> ChunkGenerating.populateNoise
(ChunkGenerationContext context, ChunkGenerationStep step, BoundedRegionArray<AbstractChunkHolder> chunks, Chunk chunk) ChunkGenerationStep.run
(ChunkGenerationContext context, BoundedRegionArray<AbstractChunkHolder> boundedRegionArray, Chunk chunk) Modifier and TypeMethodDescriptionChunk.getOrCreateChunkNoiseSampler
(Function<Chunk, ChunkNoiseSampler> chunkNoiseSamplerCreator) private void
AbstractChunkHolder.unload
(int statusIndex, CompletableFuture<OptionalChunk<Chunk>> previousFuture) -
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
(NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk) NoiseChunkGenerator.populateBiomes
(NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk) abstract CompletableFuture
<Chunk> ChunkGenerator.populateNoise
(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
(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
(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
(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
(NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk) private void
NoiseChunkGenerator.populateBiomes
(Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk) NoiseChunkGenerator.populateBiomes
(NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk) abstract CompletableFuture
<Chunk> ChunkGenerator.populateNoise
(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
(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
(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
(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)