类的使用
net.minecraft.world.gen.chunk.ChunkGenerator
-
-
net.minecraft.block.sapling中ChunkGenerator的使用
参数类型为ChunkGenerator的net.minecraft.block.sapling中的方法 修饰符和类型 方法 说明 booleanLargeTreeSaplingGenerator. generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random)booleanSaplingGenerator. generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random)booleanLargeTreeSaplingGenerator. generateLargeTree(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random, int x, int z) -
net.minecraft.client.world中ChunkGenerator的使用
返回ChunkGenerator的net.minecraft.client.world中的方法 修饰符和类型 方法 说明 protected abstract ChunkGeneratorGeneratorType. getChunkGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed) -
net.minecraft.server.world中ChunkGenerator的使用
声明为ChunkGenerator的net.minecraft.server.world中的字段 修饰符和类型 字段 说明 private ChunkGeneratorServerChunkManager. chunkGeneratorprivate ChunkGeneratorThreadedAnvilChunkStorage. chunkGenerator返回ChunkGenerator的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 ChunkGeneratorServerChunkManager. getChunkGenerator()参数类型为ChunkGenerator的net.minecraft.server.world中的构造器 构造器 说明 ServerChunkManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, boolean bool, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> supplier)ServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionType dimensionType, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime)ThreadedAnvilChunkStorage(ServerWorld serverWorld, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor executor, ThreadExecutor<Runnable> mainThreadExecutor, ChunkProvider chunkProvider, ChunkGenerator chunkGenerator, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> supplier, int int2, boolean bool) -
net.minecraft.structure中ChunkGenerator的使用
参数类型为ChunkGenerator的net.minecraft.structure中的方法 修饰符和类型 方法 说明 booleanBuriedTreasureGenerator.Piece. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanDesertTempleGenerator. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanIglooGenerator.Piece. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanJungleTempleGenerator. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanMineshaftGenerator.MineshaftCorridor. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanMineshaftGenerator.MineshaftCrossing. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanMineshaftGenerator.MineshaftRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanMineshaftGenerator.MineshaftStairs. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.Bridge. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.BridgeCrossing. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.BridgeEnd. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.BridgePlatform. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.BridgeSmallCrossing. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.BridgeStairs. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.CorridorBalcony. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.CorridorCrossing. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.CorridorExit. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.CorridorLeftTurn. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.CorridorNetherWartsRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.CorridorRightTurn. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.CorridorStairs. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFortressGenerator.SmallCorridor. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanNetherFossilGenerator.Piece. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.Base. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.CoreRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.DoubleXRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.DoubleXYRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.DoubleYRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.DoubleYZRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.DoubleZRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.Entry. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.Penthouse. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.SimpleRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.SimpleRoomTop. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanMonumentGenerator.WingRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanOceanRuinGenerator.Piece. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanPoolStructurePiece. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pos, boolean keepJigsaws)booleanPoolStructurePiece. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanRuinedPortalStructurePiece. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanShipwreckGenerator.Piece. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanSimpleStructurePiece. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.ChestCorridor. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.Corridor. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.FiveWayCrossing. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.LeftTurn. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.Library. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.PortalRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.PrisonHall. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.RightTurn. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.SmallCorridor. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.SpiralStaircase. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.SquareRoom. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanStrongholdGenerator.Stairs. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)abstract booleanStructurePiece. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)booleanSwampHutGenerator. generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)voidStructureStart. generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)abstract voidStructureStart. init(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, StructureManager manager, ChunkPos pos, Biome biome, C config, HeightLimitView world) -
net.minecraft.structure.pool中ChunkGenerator的使用
声明为ChunkGenerator的net.minecraft.structure.pool中的字段 修饰符和类型 字段 说明 private ChunkGeneratorStructurePoolBasedGenerator.StructurePoolGenerator. chunkGenerator参数类型为ChunkGenerator的net.minecraft.structure.pool中的方法 修饰符和类型 方法 说明 booleanEmptyPoolElement. generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)booleanFeaturePoolElement. generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)booleanListPoolElement. generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)booleanSinglePoolElement. generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)abstract booleanStructurePoolElement. generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)static voidStructurePoolBasedGenerator. method_27230(DynamicRegistryManager dynamicRegistryManager, PoolStructurePiece poolStructurePiece, int int2, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, Random random, HeightLimitView heightLimitView)static voidStructurePoolBasedGenerator. method_30419(DynamicRegistryManager dynamicRegistryManager, StructurePoolFeatureConfig structurePoolFeatureConfig, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, BlockPos blockPos, class_6130 class_6130, Random random, boolean bool, boolean bool2, HeightLimitView heightLimitView)参数类型为ChunkGenerator的net.minecraft.structure.pool中的构造器 构造器 说明 StructurePoolGenerator(Registry<StructurePool> registry, int maxSize, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> children, Random random) -
net.minecraft.util.registry中ChunkGenerator的使用
类型参数类型为ChunkGenerator的net.minecraft.util.registry中的字段 修饰符和类型 字段 说明 static Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>Registry. CHUNK_GENERATORstatic RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>Registry. CHUNK_GENERATOR_KEY -
net.minecraft.world中ChunkGenerator的使用
参数类型为ChunkGenerator的net.minecraft.world中的方法 修饰符和类型 方法 说明 private static booleanSpawnHelper. canSpawn(ServerWorld world, SpawnGroup group, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnSettings.SpawnEntry spawnEntry, BlockPos.Mutable pos, double squaredDistance)private static booleanSpawnHelper. containsSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry, BlockPos pos)private static Pool<SpawnSettings.SpawnEntry>SpawnHelper. getSpawnEntries(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable Biome biome)private static Optional<SpawnSettings.SpawnEntry>SpawnHelper. pickRandomSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos) -
net.minecraft.world.biome中ChunkGenerator的使用
参数类型为ChunkGenerator的net.minecraft.world.biome中的方法 修饰符和类型 方法 说明 voidBiome. generateFeatureStep(StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, ChunkRegion region, long populationSeed, ChunkRandom random, BlockPos origin) -
net.minecraft.world.chunk中ChunkGenerator的使用
参数类型为ChunkGenerator的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)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)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) -
net.minecraft.world.dimension中ChunkGenerator的使用
声明为ChunkGenerator的net.minecraft.world.dimension中的字段 修饰符和类型 字段 说明 private ChunkGeneratorDimensionOptions. chunkGenerator返回ChunkGenerator的net.minecraft.world.dimension中的方法 修饰符和类型 方法 说明 private static ChunkGeneratorDimensionType. createEndGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)private static ChunkGeneratorDimensionType. createNetherGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)ChunkGeneratorDimensionOptions. getChunkGenerator()参数类型为ChunkGenerator的net.minecraft.world.dimension中的构造器 构造器 说明 DimensionOptions(Supplier<DimensionType> typeSupplier, ChunkGenerator chunkGenerator) -
net.minecraft.world.gen中ChunkGenerator的使用
返回ChunkGenerator的net.minecraft.world.gen中的方法 修饰符和类型 方法 说明 ChunkGeneratorGeneratorOptions. getChunkGenerator()参数类型为ChunkGenerator的net.minecraft.world.gen中的方法 修饰符和类型 方法 说明 static SimpleRegistry<DimensionOptions>GeneratorOptions. getRegistryWithReplacedOverworld(SimpleRegistry<DimensionOptions> optionsRegistry, Supplier<DimensionType> overworldDimensionType, ChunkGenerator overworldGenerator)static SimpleRegistry<DimensionOptions>GeneratorOptions. getRegistryWithReplacedOverworldGenerator(Registry<DimensionType> dimensionTypeRegistry, SimpleRegistry<DimensionOptions> optionsRegistry, ChunkGenerator overworldGenerator) -
net.minecraft.world.gen.carver中ChunkGenerator的使用
声明为ChunkGenerator的net.minecraft.world.gen.carver中的字段 修饰符和类型 字段 说明 private ChunkGeneratorCarverContext. generator参数类型为ChunkGenerator的net.minecraft.world.gen.carver中的构造器 构造器 说明 CarverContext(ChunkGenerator generator) -
net.minecraft.world.gen.chunk中ChunkGenerator的使用
net.minecraft.world.gen.chunk中ChunkGenerator的子类 修饰符和类型 类 说明 classDebugChunkGeneratorclassFlatChunkGeneratorclassNoiseChunkGenerator类型参数类型为ChunkGenerator的net.minecraft.world.gen.chunk中的字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<ChunkGenerator>ChunkGenerator. CODEC返回ChunkGenerator的net.minecraft.world.gen.chunk中的方法 修饰符和类型 方法 说明 abstract ChunkGeneratorChunkGenerator. withSeed(long seed)ChunkGeneratorDebugChunkGenerator. withSeed(long seed)ChunkGeneratorFlatChunkGenerator. withSeed(long seed)ChunkGeneratorNoiseChunkGenerator. withSeed(long seed)返回变量类型为ChunkGenerator的类型的net.minecraft.world.gen.chunk中的方法 修饰符和类型 方法 说明 protected abstract com.mojang.serialization.Codec<? extends ChunkGenerator>ChunkGenerator. getCodec()protected com.mojang.serialization.Codec<? extends ChunkGenerator>DebugChunkGenerator. getCodec()protected com.mojang.serialization.Codec<? extends ChunkGenerator>FlatChunkGenerator. getCodec()protected com.mojang.serialization.Codec<? extends ChunkGenerator>NoiseChunkGenerator. getCodec() -
net.minecraft.world.gen.decorator中ChunkGenerator的使用
声明为ChunkGenerator的net.minecraft.world.gen.decorator中的字段 修饰符和类型 字段 说明 private ChunkGeneratorDecoratorContext. generator参数类型为ChunkGenerator的net.minecraft.world.gen.decorator中的构造器 构造器 说明 DecoratorContext(StructureWorldAccess world, ChunkGenerator generator) -
net.minecraft.world.gen.feature中ChunkGenerator的使用
参数类型为ChunkGenerator的net.minecraft.world.gen.feature中的方法 修饰符和类型 方法 说明 booleanConfiguredFeature. generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos origin)booleanRandomFeatureEntry. generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos)private booleanRootSystemFeature. generateFeature(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos pos)voidOceanMonumentFeature.Start. generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)voidWoodlandMansionFeature.Start. generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)private booleanRootSystemFeature. generateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos)protected booleanVegetationPatchFeature. generateVegetationFeature(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, Random random, BlockPos pos)protected booleanWaterloggedVegetationPatchFeature. generateVegetationFeature(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, Random random, BlockPos pos)private static intRuinedPortalFeature. getFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world)private static intEndCityFeature. getGenerationHeight(ChunkPos chunkPos, ChunkGenerator chunkGenerator, HeightLimitView heightLimitView)voidBuriedTreasureFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, ProbabilityConfig probabilityConfig, HeightLimitView heightLimitView)voidDesertPyramidFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)voidEndCityFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)voidIglooFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)voidJigsawFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView)voidJungleTempleFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)voidMineshaftFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, MineshaftFeatureConfig mineshaftFeatureConfig, HeightLimitView heightLimitView)voidNetherFortressFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)voidNetherFossilFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)voidOceanMonumentFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)voidOceanRuinFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, OceanRuinFeatureConfig oceanRuinFeatureConfig, HeightLimitView heightLimitView)voidRuinedPortalFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, RuinedPortalFeatureConfig ruinedPortalFeatureConfig, HeightLimitView heightLimitView)voidShipwreckFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, ShipwreckFeatureConfig shipwreckFeatureConfig, HeightLimitView heightLimitView)voidStrongholdFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)voidSwampHutFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)voidWoodlandMansionFeature.Start. init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)private booleanPillagerOutpostFeature. isVillageNearby(ChunkGenerator generator, long worldSeed, ChunkRandom random, ChunkPos pos)protected booleanBastionRemnantFeature. shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView)protected booleanBuriedTreasureFeature. shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, ProbabilityConfig probabilityConfig, HeightLimitView heightLimitView)protected booleanEndCityFeature. shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)protected booleanMineshaftFeature. shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, MineshaftFeatureConfig mineshaftFeatureConfig, HeightLimitView heightLimitView)protected booleanNetherFortressFeature. shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)protected booleanOceanMonumentFeature. shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)protected booleanPillagerOutpostFeature. shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView)protected booleanStrongholdFeature. shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)protected booleanStructureFeature. shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long worldSeed, ChunkRandom random, ChunkPos pos, Biome biome, ChunkPos chunkPos, C config, HeightLimitView world)Checks if this structure can actually be placed at a potential structure position determined viaStructureFeature.getStartChunk(net.minecraft.world.gen.chunk.StructureConfig, long, net.minecraft.world.gen.ChunkRandom, int, int).protected booleanWoodlandMansionFeature. shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)StructureStart<?>ConfiguredStructureFeature. tryPlaceStart(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, Biome biome, int referenceCount, StructureConfig structureConfig, HeightLimitView heightLimitView)StructureStart<?>StructureFeature. tryPlaceStart(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator generator, BiomeSource biomeSource, StructureManager manager, long worldSeed, ChunkPos pos, Biome biome, int referenceCount, ChunkRandom random, StructureConfig structureConfig, C config, HeightLimitView world)Tries to place a starting point for this type of structure in the given chunk. -
net.minecraft.world.gen.feature.util中ChunkGenerator的使用
声明为ChunkGenerator的net.minecraft.world.gen.feature.util中的字段 修饰符和类型 字段 说明 private ChunkGeneratorFeatureContext. generator返回ChunkGenerator的net.minecraft.world.gen.feature.util中的方法 修饰符和类型 方法 说明 ChunkGeneratorFeatureContext. getGenerator()参数类型为ChunkGenerator的net.minecraft.world.gen.feature.util中的构造器 构造器 说明 FeatureContext(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos origin, FC config)
-