Uses of Class
net.minecraft.world.chunk.Chunk
Package
Description
-
Uses of Chunk in net.minecraft.server.world
Modifier and TypeFieldDescriptionprivate 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()
Modifier and TypeMethodDescriptionprivate 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 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) private boolean
Modifier and TypeMethodDescriptionprivate void
ChunkHolder.combineSavingFuture
(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk, ChunkHolder.Unloaded>> then, String thenDesc) -
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) 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) default Chunk
WorldView.getChunk
(int chunkX, int chunkZ, ChunkStatus status) WorldView.getChunk
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) default Chunk
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[] long2) 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, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.LoadTask.doWork
(ChunkStatus targetStatus, ServerWorld world, StructureManager structureManager, 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, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) 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, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean bool) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runLoadTask
(ServerWorld world, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> function, Chunk chunk) Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.LoadTask.doWork
(ChunkStatus targetStatus, ServerWorld world, StructureManager structureManager, 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, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) void
ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, ServerWorld world, ChunkGenerator chunkGenerator, List<Chunk> chunks, Chunk chunk) static BiomeSupplier
BelowZeroRetrogen.getBiomeSupplier
(BiomeSupplier biomeSupplier, Registry<Biome> biomeRegistry, 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, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> function, 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, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.LoadTask.doWork
(ChunkStatus targetStatus, ServerWorld world, StructureManager structureManager, 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, StructureManager structureManager, 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, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean bool) void
ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, ServerWorld world, ChunkGenerator chunkGenerator, List<Chunk> chunks, Chunk chunk) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runGenerationTask
(Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean bool) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runGenerationTask
(Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean bool) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runGenerationTask
(Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean bool) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runLoadTask
(ServerWorld world, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> function, Chunk chunk) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runLoadTask
(ServerWorld world, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> function, Chunk chunk) -
Uses of Chunk in net.minecraft.world.gen
ModifierConstructorDescriptionprotected
StructureWeightSampler
(StructureAccessor structureAccessor, Chunk chunk) -
Uses of Chunk in net.minecraft.world.gen.carver
Modifier and TypeMethodDescriptionCarverContext.applyMaterialRule
(Function<BlockPos, Biome> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.abstract boolean
Carver.carve
(CarverContext context, C config, Chunk chunk, Function<BlockPos, Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
CaveCarver.carve
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, Biome> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) boolean
ConfiguredCarver.carve
(CarverContext context, Chunk chunk, Function<BlockPos, Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
RavineCarver.carve
(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, Biome> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) protected boolean
Carver.carveAtPoint
(CarverContext context, C config, Chunk chunk, Function<BlockPos, 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, 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, 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, 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, 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, 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, Chunk chunk, int int2, int int3) Modifier and TypeMethodDescriptionChunkGenerator.populateBiomes
(Registry<Biome> biomeRegistry, Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) NoiseChunkGenerator.populateBiomes
(Registry<Biome> biomeRegistry, Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) abstract CompletableFuture<Chunk>
ChunkGenerator.populateNoise
(Executor executor, Blender blender, 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, 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, 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, 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.NoiseChunkGenerator.applyMaterialRule
(CarverContext context, Function<BlockPos, Biome> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.abstract void
ChunkGenerator.buildSurface
(ChunkRegion region, StructureAccessor structures, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.void
DebugChunkGenerator.buildSurface
(ChunkRegion region, StructureAccessor structures, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.void
FlatChunkGenerator.buildSurface
(ChunkRegion region, StructureAccessor structures, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.void
NoiseChunkGenerator.buildSurface
(ChunkRegion region, StructureAccessor structures, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.abstract void
ChunkGenerator.carve
(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.void
DebugChunkGenerator.carve
(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.void
FlatChunkGenerator.carve
(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.void
NoiseChunkGenerator.carve
(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.static ChunkNoiseSampler
ChunkNoiseSampler.create
(Chunk chunk, NoiseColumnSampler noiseColumnSampler, Supplier<ChunkNoiseSampler.ColumnSampler> supplier, ChunkGeneratorSettings chunkGeneratorSettings, AquiferSampler.FluidLevelSampler fluidLevelSampler, Blender blender) void
ChunkGenerator.generateFeatures
(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) void
DebugChunkGenerator.generateFeatures
(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) private static BlockBox
ChunkGenerator.getBlockBoxForChunk
(Chunk chunk) private static int
ChunkGenerator.getStructureReferences
(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, StructureFeature<?> structureFeature) private static int
BlendingData.getSurfaceHeight
(Chunk chunk, int x, int z) private static boolean
BlendingData.isCollidableAndNotTreeAt
(Chunk chunk, BlockPos pos) private void
BlendingData.method_39347
(int index, Chunk chunk, int x, int z) private static double[]
BlendingData.method_39354
(Chunk chunk, int x, int z, int int2) private void
BlendingData.method_39572
(Chunk chunk, Set<EightWayDirection> set) private static double
BlendingData.method_39905
(Chunk chunk, BlockPos.Mutable mutable) private static double
BlendingData.method_39906
(Chunk chunk, BlockPos.Mutable mutable) ChunkGenerator.populateBiomes
(Registry<Biome> biomeRegistry, Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) NoiseChunkGenerator.populateBiomes
(Registry<Biome> biomeRegistry, Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) private void
NoiseChunkGenerator.populateBiomes
(Registry<Biome> biomeRegistry, Blender blender, StructureAccessor structureAccessor, Chunk chunk) abstract CompletableFuture<Chunk>
ChunkGenerator.populateNoise
(Executor executor, Blender blender, 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, 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, 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, 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, Chunk chunk, int int2, int int3) void
ChunkGenerator.setStructureStarts
(DynamicRegistryManager registryManager, StructureAccessor structureAccessor, Chunk chunk, StructureManager structureManager, long worldSeed) 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) -
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, Biome> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.void
SurfaceBuilder.buildSurface
(BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext context, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule surfaceRule) ModifierConstructorDescriptionprotected
MaterialRuleContext
(SurfaceBuilder surfaceBuilder, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, Biome> posToBiome, Registry<Biome> biomeRegistry, HeightContext heightContext)