Uses of Class
net.minecraft.world.chunk.Chunk
Package
Description
-
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 com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded> ChunkHolder.field_36388
private final AtomicReferenceArray<CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>>> ChunkHolder.futuresByStatus
private CompletableFuture<Chunk>
ChunkHolder.savingFuture
static final com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded> ChunkHolder.UNLOADED_CHUNK
static final CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkHolder.UNLOADED_CHUNK_FUTURE
Modifier and TypeMethodDescriptionServerChunkManager.getChunk
(int x, int z, ChunkStatus leastStatus, boolean create) ChunkHolder.getCurrentChunk()
private Chunk
ThreadedAnvilChunkStorage.getProtoChunk
(ChunkPos chunkPos) Modifier and TypeMethodDescriptionList<com.mojang.datafixers.util.Pair<ChunkStatus,
CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>>> ChunkHolder.collectFuturesByStatus()
private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.convertToFullChunk
(ChunkHolder chunkHolder) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.getChunk
(ChunkHolder holder, ChunkStatus requiredStatus) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkHolder.getChunkAt
(ChunkStatus targetStatus, ThreadedAnvilChunkStorage chunkStorage) private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ServerChunkManager.getChunkFuture
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ServerChunkManager.getChunkFutureSyncOnMainThread
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkHolder.getFutureFor
(ChunkStatus leastStatus) private CompletableFuture<com.mojang.datafixers.util.Either<List<Chunk>,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.getRegion
(ChunkPos centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) ChunkHolder.getSavingFuture()
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkHolder.getValidFutureFor
(ChunkStatus leastStatus) private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> private com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded> ThreadedAnvilChunkStorage.recoverFromException
(Throwable throwable, ChunkPos chunkPos) ServerLightingProvider.retainData
(Chunk chunk) private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.upgradeChunk
(ChunkHolder holder, ChunkStatus requiredStatus) Modifier and TypeMethodDescriptionvoid
ServerWorld.cacheStructures
(Chunk chunk) private void
ServerChunkManager.putInCache
(long pos, Chunk chunk, ChunkStatus status) ServerLightingProvider.retainData
(Chunk chunk) private boolean
Modifier and TypeMethodDescriptionprivate void
ChunkHolder.combineSavingFuture
(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk, ChunkHolder.Unloaded>> 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
Represents a read only view of a world chunk used in world generation.class
Modifier and TypeMethodDescriptionprivate Chunk
ChunkCache.getChunk
(int chunkX, int chunkZ) private Chunk
ChunkManager.getChunk
(int x, int z, ChunkStatus leastStatus, boolean create) Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.LoadTask.doWork
(ChunkStatus targetStatus, ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) private static CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.getLightingFuture
(ChunkStatus status, ServerLightingProvider lightingProvider, Chunk chunk) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runGenerationTask
(Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runLoadTask
(ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.LoadTask.doWork
(ChunkStatus targetStatus, ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) void
ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, ServerWorld world, ChunkGenerator chunkGenerator, List<Chunk> chunks, Chunk chunk) static BiomeSupplier
BelowZeroRetrogen.getBiomeSupplier
(BiomeSupplier biomeSupplier, Chunk chunk) private static CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.getLightingFuture
(ChunkStatus status, ServerLightingProvider lightingProvider, Chunk chunk) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runLoadTask
(ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) private static boolean
ChunkStatus.shouldExcludeBlockLight
(ChunkStatus status, Chunk chunk) Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.LoadTask.doWork
(ChunkStatus targetStatus, ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.LoadTask.doWork
(ChunkStatus targetStatus, ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) void
ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, ServerWorld world, ChunkGenerator chunkGenerator, List<Chunk> chunks, Chunk chunk) Chunk.getOrCreateChunkNoiseSampler
(Function<Chunk, ChunkNoiseSampler> chunkNoiseSamplerCreator) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runGenerationTask
(Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runGenerationTask
(Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runGenerationTask
(Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runLoadTask
(ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runLoadTask
(ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, 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 mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) 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 double2, double double3, double double4, double double5, double double6, 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)