Uses of Class
net.minecraft.world.chunk.Chunk
Packages that use Chunk
Package
Description
-
Uses of Chunk in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type ChunkModifier and TypeMethodDescriptionprivate static voidEntityRenderDispatcher.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
Methods in net.minecraft.server.command with parameters of type ChunkModifier and TypeMethodDescriptionprivate static BiomeSupplierFillBiomeCommand.createBiomeSupplier(MutableInt counter, Chunk chunk, BlockBox box, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter) -
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()private ChunkThreadedAnvilChunkStorage.getProtoChunk(ChunkPos chunkPos) 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(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) ChunkHolder.getSavingFuture()CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ChunkHolder.getValidFutureFor(ChunkStatus leastStatus) ServerLightingProvider.initializeLight(Chunk chunk, boolean bool) 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) 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) ServerLightingProvider.initializeLight(Chunk chunk, boolean bool) 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) voidThreadedAnvilChunkStorage.sendChunkBiomePackets(List<Chunk> chunks) -
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[] values) 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 TypeClassDescriptionclassclassclassclassRepresents a chunk that wraps a world chunk, used in world generation.Fields 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, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, 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) private static CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ChunkStatus.getInitializeLightingFuture(ServerLightingProvider lightingProvider, Chunk chunk) private static CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ChunkStatus.getLightingFuture(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) 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) 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, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, 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) 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.getInitializeLightingFuture(ServerLightingProvider lightingProvider, Chunk chunk) private static CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ChunkStatus.getLightingFuture(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 booleanChunkStatus.shouldExcludeBlockLight(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, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk) 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) 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) 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) 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) 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) voidChunkStatus.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) 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) 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) 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.chunk.light
Methods in net.minecraft.world.chunk.light with parameters of type ChunkModifier and TypeMethodDescriptionprivate intChunkSkyLight.calculateSurfaceY(Chunk chunk, int topSectionIndex, int localX, int localZ) voidChunkSkyLight.refreshSurfaceY(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, NoiseConfig noiseConfig, Chunk chunk, int minimumCellY, int cellHeight) Methods in net.minecraft.world.gen.chunk that return types with arguments of type ChunkModifier 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.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.abstract voidChunkGenerator.buildSurface(ChunkRegion region, StructureAccessor structures, NoiseConfig noiseConfig, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.voidDebugChunkGenerator.buildSurface(ChunkRegion region, StructureAccessor structures, NoiseConfig noiseConfig, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.voidFlatChunkGenerator.buildSurface(ChunkRegion region, StructureAccessor structures, NoiseConfig noiseConfig, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.voidNoiseChunkGenerator.buildSurface(Chunk chunk, HeightContext heightContext, NoiseConfig noiseConfig, StructureAccessor structureAccessor, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, Blender blender) voidNoiseChunkGenerator.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 voidChunkGenerator.carve(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver carverStep) Generates caves for the given chunk.voidDebugChunkGenerator.carve(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver carverStep) Generates caves for the given chunk.voidFlatChunkGenerator.carve(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver carverStep) Generates caves for the given chunk.voidNoiseChunkGenerator.carve(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver carverStep) Generates caves for the given chunk.static ChunkNoiseSamplerChunkNoiseSampler.create(Chunk chunk, NoiseConfig noiseConfig, DensityFunctionTypes.Beardifying beardifying, ChunkGeneratorSettings chunkGeneratorSettings, AquiferSampler.FluidLevelSampler fluidLevelSampler, Blender blender) private ChunkNoiseSamplerNoiseChunkGenerator.createChunkNoiseSampler(Chunk chunk, StructureAccessor world, Blender blender, NoiseConfig noiseConfig) voidChunkGenerator.generateFeatures(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) voidDebugChunkGenerator.generateFeatures(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) private static doubleBlendingData.getAboveCollidableBlockValue(Chunk chunk, BlockPos.Mutable mutablePos) Returns1.0if there is a collidable block below, otherwise-1.private static BlockBoxChunkGenerator.getBlockBoxForChunk(Chunk chunk) private static doubleBlendingData.getCollidableBlockDensityBelow(Chunk chunk, BlockPos.Mutable mutablePos) private static intChunkGenerator.getStructureReferences(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, Structure structure) private intBlendingData.getSurfaceBlockY(Chunk chunk, int blockX, int blockZ) private List<RegistryEntry<Biome>>BlendingData.getVerticalBiomeSections(Chunk chunk, int chunkBlockX, int chunkBlockZ) private voidBlendingData.initBlockColumn(int index, Chunk chunk, int chunkBlockX, int chunkBlockZ) private voidBlendingData.initChunkBlendingData(Chunk chunk, Set<EightWayDirection> newNoiseChunkDirections) private static booleanBlendingData.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 voidNoiseChunkGenerator.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 ChunkNoiseChunkGenerator.populateNoise(Blender blender, StructureAccessor structureAccessor, NoiseConfig noiseConfig, Chunk chunk, int minimumCellY, int cellHeight) voidChunkGenerator.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 voidBlender.tickLeavesAndFluids(Chunk chunk, BlockPos pos) static voidBlender.tickLeavesAndFluids(ChunkRegion chunkRegion, Chunk chunk) private booleanChunkGenerator.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
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(NoiseConfig noiseConfig, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext heightContext, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule materialRule) Constructors in net.minecraft.world.gen.surfacebuilder with parameters of type ChunkModifierConstructorDescriptionprotectedMaterialRuleContext(SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> registry, HeightContext heightContext)