Uses of Interface
net.minecraft.world.chunk.Chunk
Package
Description
-
Uses of Chunk in net.minecraft.server.world
Modifier and TypeFieldDescriptionprivate CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk,ChunkHolder.Unloaded>>
ChunkHolder.MultithreadAction.action
private AtomicReferenceArray<CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>>
ChunkHolder.futuresByStatus
private CompletableFuture<Chunk>
ChunkHolder.savingFuture
static com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>
ChunkHolder.UNLOADED_CHUNK
static 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 TypeMethodDescriptionprivate 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)
ModifierConstructorDescription(package private)
MultithreadAction(Thread thread, CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk,ChunkHolder.Unloaded>> action, String actionDesc)
-
Uses of Chunk in net.minecraft.util.math
-
Uses of Chunk in net.minecraft.world
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> list, ChunkStatus chunkStatus, int int2)
-
Uses of Chunk in net.minecraft.world.biome
Modifier and TypeMethodDescriptionvoid
Biome.buildSurface(Random random, Chunk chunk, int x, int z, int worldHeight, double noise, BlockState defaultBlock, BlockState defaultFluid, int seaLevel, int int2, long long2)
-
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 chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, 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>>> function, Chunk chunk)
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, 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.runGenerationTask(Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list)
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 chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, 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>>> function, Chunk chunk)
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
void
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus chunkStatus, ServerWorld serverWorld, ChunkGenerator chunkGenerator, List<Chunk> list, 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 chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.GenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.GenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, 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>>> function, 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>>> function, Chunk chunk)
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
void
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus chunkStatus, ServerWorld serverWorld, ChunkGenerator chunkGenerator, List<Chunk> list, Chunk chunk)
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.runGenerationTask(Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list)
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.runGenerationTask(Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list)
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.runGenerationTask(Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list)
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 accessor, Chunk chunk)
-
Uses of Chunk in net.minecraft.world.gen.carver
Modifier and TypeMethodDescriptionabstract boolean
Carver.carve(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, BitSet carvingMask)
boolean
CaveCarver.carve(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, BitSet bitSet)
boolean
ConfiguredCarver.carve(CarverContext context, Chunk chunk, Function<BlockPos,Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, BitSet carvingMask)
boolean
RavineCarver.carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, BitSet bitSet)
protected static boolean
UnderwaterCaveCarver.carve(Carver<?> carver, Chunk chunk, Random random, BlockPos.Mutable pos, BlockPos.Mutable downPos, AquiferSampler sampler)
protected boolean
Carver.carveAtPoint(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, BitSet carvingMask, Random random, BlockPos.Mutable pos, BlockPos.Mutable downPos, AquiferSampler sampler, MutableBoolean foundSurface)
protected boolean
NetherCaveCarver.carveAtPoint(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean)
protected boolean
UnderwaterCanyonCarver.carveAtPoint(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean)
protected boolean
UnderwaterCaveCarver.carveAtPoint(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean)
protected void
CaveCarver.carveCave(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, float yaw, double yawPitchRatio, BitSet carvingMask, 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, BitSet carvingMask)
protected boolean
Carver.carveRegion(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, AquiferSampler sampler, double x, double y, double z, double horizontalScale, double verticalScale, BitSet carvingMask, 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, BitSet carvingMask, Carver.SkipPredicate skipPredicate)
protected boolean
Carver.isRegionUncarvable(Chunk chunk, int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
protected boolean
UnderwaterCanyonCarver.isRegionUncarvable(Chunk chunk, int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
protected boolean
UnderwaterCaveCarver.isRegionUncarvable(Chunk chunk, int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
-
Uses of Chunk in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionprivate Chunk
NoiseChunkGenerator.populateNoise(StructureAccessor accessor, Chunk chunk, int startY, int noiseSizeY)
Modifier and TypeMethodDescriptionabstract CompletableFuture<Chunk>
ChunkGenerator.populateNoise(Executor executor, StructureAccessor accessor, 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, StructureAccessor accessor, 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, StructureAccessor accessor, 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, StructureAccessor accessor, 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 accessor, Chunk chunk)
Finds all structures that the given chunk intersects, and adds references to their starting chunks to it.private void
NoiseChunkGenerator.buildBedrock(Chunk chunk, Random random)
abstract void
ChunkGenerator.buildSurface(ChunkRegion region, Chunk chunk)
Places the surface blocks of the biomes after the noise has been generated.void
DebugChunkGenerator.buildSurface(ChunkRegion region, Chunk chunk)
Places the surface blocks of the biomes after the noise has been generated.void
FlatChunkGenerator.buildSurface(ChunkRegion region, Chunk chunk)
Places the surface blocks of the biomes after the noise has been generated.void
NoiseChunkGenerator.buildSurface(ChunkRegion region, Chunk chunk)
Places the surface blocks of the biomes after the noise has been generated.void
ChunkGenerator.carve(long seed, BiomeAccess access, Chunk chunk, GenerationStep.Carver carver)
Generates caves for the given chunk.void
DebugChunkGenerator.carve(long seed, BiomeAccess access, Chunk chunk, GenerationStep.Carver carver)
Generates caves for the given chunk.protected AquiferSampler
ChunkGenerator.createAquiferSampler(Chunk chunk)
protected AquiferSampler
NoiseChunkGenerator.createAquiferSampler(Chunk chunk)
void
ChunkGenerator.populateBiomes(Registry<Biome> biomeRegistry, Chunk chunk)
abstract CompletableFuture<Chunk>
ChunkGenerator.populateNoise(Executor executor, StructureAccessor accessor, 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, StructureAccessor accessor, 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, StructureAccessor accessor, 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, StructureAccessor accessor, 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(StructureAccessor accessor, Chunk chunk, int startY, int noiseSizeY)
private void
ChunkGenerator.setStructureStart(ConfiguredStructureFeature<?,?> feature, DynamicRegistryManager registryManager, StructureAccessor accessor, Chunk chunk, StructureManager structureManager, long worldSeed, Biome biome)
void
ChunkGenerator.setStructureStarts(DynamicRegistryManager registryManager, StructureAccessor accessor, Chunk chunk, StructureManager structureManager, long worldSeed)
Determines which structures should start in the given chunk and creates their starting points. -
Uses of Chunk in net.minecraft.world.gen.surfacebuilder
Modifier and TypeMethodDescriptionvoid
AbstractNetherSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
BadlandsSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
ConfiguredSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int x, int z, int height, double noise, BlockState defaultBlock, BlockState defaultFluid, int seaLevel, int int2, long long2)
void
DefaultSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
protected void
DefaultSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int x, int z, int height, double noise, BlockState defaultBlock, BlockState fluidBlock, BlockState topBlock, BlockState underBlock, BlockState underwaterBlock, int seaLevel, int int2)
void
ErodedBadlandsSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
FrozenOceanSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
GiantTreeTaigaSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
GravellyMountainSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
MountainSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
NetherForestSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
NetherSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
NopeSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
ShatteredSavannaSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
abstract void
SurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int x, int z, int height, double noise, BlockState defaultBlock, BlockState defaultFluid, int seaLevel, int int2, long long2, C c)
Places the surface blocks for the given column.void
SwampSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)
void
WoodedBadlandsSurfaceBuilder.generate(Random random, Chunk chunk, Biome biome, int int2, int int3, int int4, double double2, BlockState blockState, BlockState blockState2, int int5, int int6, long long2, TernarySurfaceConfig ternarySurfaceConfig)