接口的使用
net.minecraft.world.chunk.Chunk
-
-
net.minecraft.server.world中Chunk的使用
声明为Chunk的net.minecraft.server.world中的字段 修饰符和类型 字段 说明 private Chunk[]ServerChunkManager. chunkCache类型参数类型为Chunk的net.minecraft.server.world中的字段 修饰符和类型 字段 说明 private CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk,ChunkHolder.Unloaded>>ChunkHolder.MultithreadAction. actionprivate AtomicReferenceArray<CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>>ChunkHolder. futuresByStatusprivate CompletableFuture<Chunk>ChunkHolder. savingFuturestatic com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>ChunkHolder. UNLOADED_CHUNKstatic CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>ChunkHolder. UNLOADED_CHUNK_FUTURE返回Chunk的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 @Nullable ChunkServerChunkManager. getChunk(int x, int z, ChunkStatus leastStatus, boolean create)@Nullable ChunkChunkHolder. getCurrentChunk()返回变量类型为Chunk的类型的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 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)CompletableFuture<Chunk>ChunkHolder. getSavingFuture()CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>ChunkHolder. getValidFutureFor(ChunkStatus leastStatus)CompletableFuture<Chunk>ServerLightingProvider. light(Chunk chunk, boolean excludeBlocks)private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>ThreadedAnvilChunkStorage. loadChunk(ChunkPos pos)private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>ThreadedAnvilChunkStorage. upgradeChunk(ChunkHolder holder, ChunkStatus requiredStatus)参数类型为Chunk的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 CompletableFuture<Chunk>ServerLightingProvider. light(Chunk chunk, boolean excludeBlocks)private voidServerChunkManager. putInCache(long pos, Chunk chunk, ChunkStatus status)private booleanThreadedAnvilChunkStorage. save(Chunk chunk)类型变量类型为Chunk的net.minecraft.server.world中的方法参数 修饰符和类型 方法 说明 private voidChunkHolder. combineSavingFuture(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk,ChunkHolder.Unloaded>> then, String thenDesc)类型变量类型为Chunk的net.minecraft.server.world中的构造器参数 构造器 说明 MultithreadAction(Thread thread, CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk,ChunkHolder.Unloaded>> action, String actionDesc) -
net.minecraft.util.math中Chunk的使用
参数类型为Chunk的net.minecraft.util.math中的方法 修饰符和类型 方法 说明 static ChunkSectionPosChunkSectionPos. from(Chunk chunk) -
net.minecraft.world中Chunk的使用
声明为Chunk的net.minecraft.world中的字段 修饰符和类型 字段 说明 private ChunkHeightmap. chunk类型参数类型为Chunk的net.minecraft.world中的字段 修饰符和类型 字段 说明 private List<Chunk>ChunkRegion. chunks返回Chunk的net.minecraft.world中的方法 修饰符和类型 方法 说明 ChunkChunkRegion. getChunk(int chunkX, int chunkZ)@Nullable ChunkChunkRegion. getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)@Nullable ChunkWorld. getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)default ChunkWorldView. getChunk(int chunkX, int chunkZ)default ChunkWorldView. getChunk(int chunkX, int chunkZ, ChunkStatus status)@Nullable ChunkWorldView. getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)default ChunkWorldView. getChunk(BlockPos pos)参数类型为Chunk的net.minecraft.world中的方法 修饰符和类型 方法 说明 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 voidSpawnHelper.Info. run(MobEntity entity, Chunk chunk)voidSpawnHelper.Runner. run(MobEntity entity, Chunk chunk)static CompoundTagChunkSerializer. serialize(ServerWorld world, Chunk chunk)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)参数类型为Chunk的net.minecraft.world中的构造器 构造器 说明 Heightmap(Chunk chunk, Heightmap.Type type)类型变量类型为Chunk的net.minecraft.world中的构造器参数 构造器 说明 ChunkRegion(ServerWorld world, List<Chunk> chunks) -
net.minecraft.world.biome中Chunk的使用
参数类型为Chunk的net.minecraft.world.biome中的方法 修饰符和类型 方法 说明 voidBiome. buildSurface(Random random, Chunk chunk, int x, int z, int worldHeight, double noise, BlockState defaultBlock, BlockState defaultFluid, int seaLevel, int int2, long long2) -
net.minecraft.world.chunk中Chunk的使用
实现Chunk的net.minecraft.world.chunk中的类 修饰符和类型 类 说明 classEmptyChunkclassProtoChunkclassReadOnlyChunkRepresents a read only view of a world chunk used in world generation.classWorldChunk声明为Chunk的net.minecraft.world.chunk中的字段 修饰符和类型 字段 说明 protected Chunk[][]ChunkCache. chunks返回Chunk的net.minecraft.world.chunk中的方法 修饰符和类型 方法 说明 private ChunkChunkCache. getChunk(int chunkX, int chunkZ)private ChunkChunkCache. getChunk(BlockPos pos)abstract @Nullable ChunkChunkManager. getChunk(int x, int z, ChunkStatus leastStatus, boolean create)返回变量类型为Chunk的类型的net.minecraft.world.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)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)参数类型为Chunk的net.minecraft.world.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)voidChunkStatus.SimpleGenerationTask. doWork(ServerWorld world, ChunkGenerator generator, List<Chunk> surroundingChunks, 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. 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)类型变量类型为Chunk的net.minecraft.world.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.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)voidChunkStatus.SimpleGenerationTask. doWork(ServerWorld world, ChunkGenerator generator, List<Chunk> surroundingChunks, 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)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) -
net.minecraft.world.gen中Chunk的使用
参数类型为Chunk的net.minecraft.world.gen中的构造器 构造器 说明 StructureWeightSampler(StructureAccessor accessor, Chunk chunk) -
net.minecraft.world.gen.carver中Chunk的使用
参数类型为Chunk的net.minecraft.world.gen.carver中的方法 修饰符和类型 方法 说明 abstract booleanCarver. carve(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, Random random, int seaLevel, ChunkPos pos, BitSet carvingMask)booleanCaveCarver. carve(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, ChunkPos chunkPos, BitSet bitSet)booleanConfiguredCarver. carve(CarverContext context, Chunk chunk, Function<BlockPos,Biome> posToBiome, Random random, int chunkX, ChunkPos pos, BitSet carvingMask)booleanRavineCarver. carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, ChunkPos chunkPos, BitSet bitSet)protected booleanCarver. carveAtPoint(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, BitSet carvingMask, Random random, BlockPos.Mutable pos, BlockPos.Mutable downPos, int mainChunkX, MutableBoolean foundSurface)protected booleanNetherCaveCarver. carveAtPoint(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, int int2, MutableBoolean mutableBoolean)protected booleanUnderwaterCanyonCarver. carveAtPoint(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, int int2, MutableBoolean mutableBoolean)protected booleanUnderwaterCaveCarver. carveAtPoint(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, BitSet bitSet, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, int int2, MutableBoolean mutableBoolean)protected voidCaveCarver. carveCave(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, double x, double y, double z, float yaw, double yawPitchRatio, BitSet carvingMask, Carver.SkipPredicate skipPredicate)private voidRavineCarver. carveRavine(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, BitSet carvingMask)protected booleanCarver. carveRegion(CarverContext context, C config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, double x, double y, double z, double horizontalScale, double verticalScale, BitSet carvingMask, Carver.SkipPredicate skipPredicate)protected voidCaveCarver. carveTunnels(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, 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 booleanCarver. isRegionUncarvable(Chunk chunk, int minX, int maxX, int minY, int maxY, int minZ, int maxZ)protected booleanUnderwaterCanyonCarver. isRegionUncarvable(Chunk chunk, int minX, int maxX, int minY, int maxY, int minZ, int maxZ)protected booleanUnderwaterCaveCarver. isRegionUncarvable(Chunk chunk, int minX, int maxX, int minY, int maxY, int minZ, int maxZ)protected static booleanUnderwaterCaveCarver. method_36215(Carver<?> carver, Chunk chunk, Random random, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, int int2) -
net.minecraft.world.gen.chunk中Chunk的使用
返回Chunk的net.minecraft.world.gen.chunk中的方法 修饰符和类型 方法 说明 private ChunkNoiseChunkGenerator. populateNoise(StructureAccessor accessor, Chunk chunk, int minY, int noiseSizeY)返回变量类型为Chunk的类型的net.minecraft.world.gen.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.CompletableFuture<Chunk>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.CompletableFuture<Chunk>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.CompletableFuture<Chunk>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.参数类型为Chunk的net.minecraft.world.gen.chunk中的方法 修饰符和类型 方法 说明 voidChunkGenerator. 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 voidNoiseChunkGenerator. buildBedrock(Chunk chunk, Random random)abstract voidChunkGenerator. buildSurface(ChunkRegion region, Chunk chunk)Places the surface blocks of the biomes after the noise has been generated.voidDebugChunkGenerator. buildSurface(ChunkRegion region, Chunk chunk)Places the surface blocks of the biomes after the noise has been generated.voidFlatChunkGenerator. buildSurface(ChunkRegion region, Chunk chunk)Places the surface blocks of the biomes after the noise has been generated.voidNoiseChunkGenerator. buildSurface(ChunkRegion region, Chunk chunk)Places the surface blocks of the biomes after the noise has been generated.voidChunkGenerator. carve(long seed, BiomeAccess access, Chunk chunk, GenerationStep.Carver carver)Generates caves for the given chunk.voidDebugChunkGenerator. carve(long seed, BiomeAccess access, Chunk chunk, GenerationStep.Carver carver)Generates caves for the given chunk.voidChunkGenerator. 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.CompletableFuture<Chunk>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.CompletableFuture<Chunk>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.CompletableFuture<Chunk>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 ChunkNoiseChunkGenerator. populateNoise(StructureAccessor accessor, Chunk chunk, int minY, int noiseSizeY)private voidChunkGenerator. setStructureStart(ConfiguredStructureFeature<?,?> configuredStructureFeature, DynamicRegistryManager dynamicRegistryManager, StructureAccessor structureAccessor, Chunk chunk, StructureManager structureManager, long worldSeed, Biome biome)voidChunkGenerator. setStructureStarts(DynamicRegistryManager dynamicRegistryManager, StructureAccessor structureAccessor, Chunk chunk, StructureManager structureManager, long worldSeed)Determines which structures should start in the given chunk and creates their starting points. -
net.minecraft.world.gen.surfacebuilder中Chunk的使用
参数类型为Chunk的net.minecraft.world.gen.surfacebuilder中的方法 修饰符和类型 方法 说明 voidAbstractNetherSurfaceBuilder. 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)voidBadlandsSurfaceBuilder. 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)voidConfiguredSurfaceBuilder. 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)voidDefaultSurfaceBuilder. 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 voidDefaultSurfaceBuilder. 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)voidErodedBadlandsSurfaceBuilder. 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)voidFrozenOceanSurfaceBuilder. 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)voidGiantTreeTaigaSurfaceBuilder. 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)voidGravellyMountainSurfaceBuilder. 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)voidMountainSurfaceBuilder. 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)voidNetherForestSurfaceBuilder. 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)voidNetherSurfaceBuilder. 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)voidNopeSurfaceBuilder. 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)voidShatteredSavannaSurfaceBuilder. 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 voidSurfaceBuilder. 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.voidSwampSurfaceBuilder. 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)voidWoodedBadlandsSurfaceBuilder. 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)
-