Uses of Class
net.minecraft.world.chunk.Chunk
Packages that use Chunk
Package
Description
-
Uses of Chunk in net.minecraft.server.world
Fields in net.minecraft.server.world declared as ChunkFields in net.minecraft.server.world with type parameters of type ChunkModifier and TypeFieldDescriptionprivate static final com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded> ChunkHolder.field_36388private final AtomicReferenceArray<CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> ChunkHolder.futuresByStatusprivate CompletableFuture<Chunk>ChunkHolder.savingFuturestatic final com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded> ChunkHolder.UNLOADED_CHUNKstatic final CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ChunkHolder.UNLOADED_CHUNK_FUTUREMethods in net.minecraft.server.world that return ChunkModifier and TypeMethodDescriptionServerChunkManager.getChunk(int x, int z, ChunkStatus leastStatus, boolean create) ChunkHolder.getCurrentChunk()Methods in net.minecraft.server.world that return types with arguments of type ChunkModifier 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 CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.upgradeChunk(ChunkHolder holder, ChunkStatus requiredStatus) Methods in net.minecraft.server.world with parameters of type ChunkModifier and TypeMethodDescriptionvoidServerWorld.cacheStructures(Chunk chunk) private voidServerChunkManager.putInCache(long pos, Chunk chunk, ChunkStatus status) private booleanMethod parameters in net.minecraft.server.world with type arguments of type ChunkModifier and TypeMethodDescriptionprivate voidChunkHolder.combineSavingFuture(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk, ChunkHolder.Unloaded>> then, String thenDesc) -
Uses of Chunk in net.minecraft.util.math
Methods in net.minecraft.util.math with parameters of type Chunk -
Uses of Chunk in net.minecraft.world
Fields in net.minecraft.world declared as ChunkModifier and TypeFieldDescriptionprivate final ChunkChunkRegion.centerPosprivate final ChunkHeightmap.chunkFields in net.minecraft.world with type parameters of type ChunkMethods in net.minecraft.world that return ChunkModifier and TypeMethodDescriptionChunkRegion.getChunk(int chunkX, int chunkZ) Returns the chunk with positionchunkXandchunkZ.ChunkRegion.getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) World.getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) default ChunkWorldView.getChunk(int chunkX, int chunkZ) Returns the chunk with positionchunkXandchunkZ.default ChunkWorldView.getChunk(int chunkX, int chunkZ, ChunkStatus status) WorldView.getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) default ChunkReturns the chunk that containspos.Methods in net.minecraft.world with parameters of type ChunkModifier and TypeMethodDescription(package private) static BiomeSpawnHelper.getBiomeDirectly(BlockPos pos, Chunk chunk) private static booleanSpawnHelper.isAcceptableSpawnPosition(ServerWorld world, Chunk chunk, BlockPos.Mutable pos, double squaredDistance) static voidHeightmap.populateHeightmaps(Chunk chunk, Set<Heightmap.Type> types) private voidvoidstatic NbtCompoundChunkSerializer.serialize(ServerWorld world, Chunk chunk) voidHeightmap.setTo(Chunk chunk, Heightmap.Type type, long[] long2) static voidSpawnHelper.spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, Chunk chunk, BlockPos pos, SpawnHelper.Checker checker, SpawnHelper.Runner runner) booleanSpawnHelper.Checker.test(EntityType<?> type, BlockPos pos, Chunk chunk) private booleanSpawnHelper.Info.test(EntityType<?> type, BlockPos pos, Chunk chunk) Constructors in net.minecraft.world with parameters of type ChunkConstructor parameters in net.minecraft.world with type arguments of type ChunkModifierConstructorDescriptionChunkRegion(ServerWorld world, List<Chunk> chunks, ChunkStatus status, int placementRadius) -
Uses of Chunk in net.minecraft.world.chunk
Subclasses of Chunk in net.minecraft.world.chunkModifier and TypeClassDescriptionclassclassclassRepresents a read only view of a world chunk used in world generation.classFields in net.minecraft.world.chunk declared as ChunkMethods in net.minecraft.world.chunk that return ChunkModifier and TypeMethodDescriptionprivate ChunkChunkCache.getChunk(int chunkX, int chunkZ) private ChunkChunkManager.getChunk(int x, int z, ChunkStatus leastStatus, boolean create) Methods in net.minecraft.world.chunk that return types with arguments of type ChunkModifier 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) Methods in net.minecraft.world.chunk with parameters of type ChunkModifier 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) voidChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus, ServerWorld world, ChunkGenerator chunkGenerator, List<Chunk> chunks, Chunk chunk) static BiomeSupplierBelowZeroRetrogen.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, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> function, Chunk chunk) private static booleanChunkStatus.shouldExcludeBlockLight(ChunkStatus status, Chunk chunk) Method parameters in net.minecraft.world.chunk with type arguments of type ChunkModifier 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) voidChunkStatus.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
Constructors in net.minecraft.world.gen with parameters of type ChunkModifierConstructorDescriptionprotectedStructureWeightSampler(StructureAccessor structureAccessor, Chunk chunk) -
Uses of Chunk in net.minecraft.world.gen.carver
Methods in net.minecraft.world.gen.carver with parameters of type ChunkModifier and TypeMethodDescriptionCarverContext.applyMaterialRule(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.abstract booleanCarver.carve(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) booleanCaveCarver.carve(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) booleanConfiguredCarver.carve(CarverContext context, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) booleanRavineCarver.carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) protected booleanCarver.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 booleanNetherCaveCarver.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 voidCaveCarver.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 voidRavineCarver.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 booleanCarver.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 voidCaveCarver.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
Methods in net.minecraft.world.gen.chunk that return ChunkModifier and TypeMethodDescriptionprivate ChunkNoiseChunkGenerator.populateNoise(Blender blender, StructureAccessor structureAccessor, Chunk chunk, int int2, int int3) Methods in net.minecraft.world.gen.chunk that return types with arguments of type ChunkModifier 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.Methods in net.minecraft.world.gen.chunk with parameters of type ChunkModifier and TypeMethodDescriptionvoidChunkGenerator.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, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.abstract voidChunkGenerator.buildSurface(ChunkRegion region, StructureAccessor structures, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.voidDebugChunkGenerator.buildSurface(ChunkRegion region, StructureAccessor structures, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.voidFlatChunkGenerator.buildSurface(ChunkRegion region, StructureAccessor structures, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.voidNoiseChunkGenerator.buildSurface(ChunkRegion region, StructureAccessor structures, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.abstract voidChunkGenerator.carve(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.voidDebugChunkGenerator.carve(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.voidFlatChunkGenerator.carve(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.voidNoiseChunkGenerator.carve(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.static ChunkNoiseSamplerChunkNoiseSampler.create(Chunk chunk, NoiseRouter noiseRouter, Supplier<DensityFunctionTypes.class_7050> noiseTypeSupplier, ChunkGeneratorSettings chunkGeneratorSettings, AquiferSampler.FluidLevelSampler fluidLevelSampler, Blender blender) voidChunkGenerator.generateFeatures(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) voidDebugChunkGenerator.generateFeatures(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) private static BlockBoxChunkGenerator.getBlockBoxForChunk(Chunk chunk) private static intChunkGenerator.getStructureReferences(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, ConfiguredStructureFeature<?, ?> configuredStructureFeature) private static intBlendingData.getSurfaceHeight(Chunk chunk, int x, int z) private static booleanBlendingData.isCollidableAndNotTreeAt(Chunk chunk, BlockPos pos) private voidBlendingData.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 voidBlendingData.method_39572(Chunk chunk, Set<EightWayDirection> set) private static doubleBlendingData.method_39905(Chunk chunk, BlockPos.Mutable mutable) private static doubleBlendingData.method_39906(Chunk chunk, BlockPos.Mutable mutable) private booleanChunkGenerator.method_41044(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, StructureManager structureManager, long long2, Chunk chunk, ChunkPos chunkPos, ChunkSectionPos chunkSectionPos) 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 voidNoiseChunkGenerator.populateBiomes(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 ChunkNoiseChunkGenerator.populateNoise(Blender blender, StructureAccessor structureAccessor, Chunk chunk, int int2, int int3) voidChunkGenerator.setStructureStarts(DynamicRegistryManager registryManager, StructureAccessor world, Chunk chunk, StructureManager structureManager, long worldSeed) Determines which structures should start in the given chunk and creates their starting points.private static voidBlender.tickLeavesAndFluids(Chunk chunk, BlockPos pos) static voidBlender.tickLeavesAndFluids(ChunkRegion chunkRegion, Chunk chunk) -
Uses of Chunk in net.minecraft.world.gen.surfacebuilder
Fields in net.minecraft.world.gen.surfacebuilder declared as ChunkModifier and TypeFieldDescription(package private) final ChunkMaterialRules.MaterialRuleContext.chunkMethods in net.minecraft.world.gen.surfacebuilder with parameters of type ChunkModifier and TypeMethodDescriptionSurfaceBuilder.applyMaterialRule(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.voidSurfaceBuilder.buildSurface(BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext context, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule surfaceRule) Constructors in net.minecraft.world.gen.surfacebuilder with parameters of type ChunkModifierConstructorDescriptionprotectedMaterialRuleContext(SurfaceBuilder surfaceBuilder, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> biomeRegistry, HeightContext heightContext)