类的使用
net.minecraft.structure.StructureManager
-
-
net.minecraft.server中StructureManager的使用
声明为StructureManager的net.minecraft.server中的字段 修饰符和类型 字段 说明 private StructureManagerMinecraftServer. structureManager返回StructureManager的net.minecraft.server中的方法 修饰符和类型 方法 说明 StructureManagerMinecraftServer. getStructureManager() -
net.minecraft.server.world中StructureManager的使用
声明为StructureManager的net.minecraft.server.world中的字段 修饰符和类型 字段 说明 private StructureManagerThreadedAnvilChunkStorage. structureManager返回StructureManager的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 StructureManagerServerWorld. getStructureManager()参数类型为StructureManager的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)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中StructureManager的使用
声明为StructureManager的net.minecraft.structure中的字段 修饰符和类型 字段 说明 private StructureManagerWoodlandMansionGenerator.LayoutGenerator. managerprivate StructureManagerPoolStructurePiece. structureManager参数类型为StructureManager的net.minecraft.structure中的方法 修饰符和类型 方法 说明 static voidShipwreckGenerator. addParts(StructureManager structureManager, BlockPos pos, BlockRotation rotation, class_6130 class_6130, Random random, ShipwreckFeatureConfig config)static voidEndCityGenerator. addPieces(StructureManager structureManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random)static voidIglooGenerator. addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, class_6130 class_6130, Random random)static voidNetherFossilGenerator. addPieces(StructureManager manager, class_6130 class_6130, Random random, BlockPos pos)static voidOceanRuinGenerator. addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, class_6130 class_6130, Random random, OceanRuinFeatureConfig config)static voidWoodlandMansionGenerator. addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random)booleanEndCityGenerator.Part. create(StructureManager manager, int depth, EndCityGenerator.Piece root, BlockPos pos, List<StructurePiece> pieces, Random random)private static booleanEndCityGenerator. createPart(StructureManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random)private static EndCityGenerator.PieceEndCityGenerator. createPiece(StructureManager structureManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir)abstract voidStructureStart. init(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, StructureManager manager, ChunkPos pos, Biome biome, C config, HeightLimitView world)private static voidOceanRuinGenerator. method_14822(StructureManager manager, BlockPos pos, BlockRotation rotation, class_6130 class_6130, Random random, OceanRuinFeatureConfig config, boolean large, float integrity)private static voidOceanRuinGenerator. method_14825(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinFeatureConfig config, class_6130 class_6130) -
net.minecraft.structure.pool中StructureManager的使用
声明为StructureManager的net.minecraft.structure.pool中的字段 修饰符和类型 字段 说明 private StructureManagerStructurePoolBasedGenerator.StructurePoolGenerator. structureManager参数类型为StructureManager的net.minecraft.structure.pool中的方法 修饰符和类型 方法 说明 PoolStructurePieceStructurePoolBasedGenerator.PieceFactory. create(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int int2, BlockRotation rotation, BlockBox elementBounds)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)BlockBoxEmptyPoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)BlockBoxFeaturePoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)BlockBoxListPoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)BlockBoxSinglePoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)abstract BlockBoxStructurePoolElement. getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)List<Structure.StructureBlockInfo>SinglePoolElement. getDataStructureBlocks(StructureManager structureManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated)intStructurePool. getHighestY(StructureManager structureManager)Vec3iEmptyPoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)Vec3iFeaturePoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)Vec3iListPoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)Vec3iSinglePoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)abstract Vec3iStructurePoolElement. getStart(StructureManager structureManager, BlockRotation blockRotation)List<Structure.StructureBlockInfo>EmptyPoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)List<Structure.StructureBlockInfo>FeaturePoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)List<Structure.StructureBlockInfo>ListPoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)List<Structure.StructureBlockInfo>SinglePoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)abstract List<Structure.StructureBlockInfo>StructurePoolElement. getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)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)private StructureSinglePoolElement. method_27233(StructureManager structureManager)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)参数类型为StructureManager的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.world中StructureManager的使用
参数类型为StructureManager的net.minecraft.world中的方法 修饰符和类型 方法 说明 static ProtoChunkChunkSerializer. deserialize(ServerWorld world, StructureManager structureManager, PointOfInterestStorage poiStorage, ChunkPos pos, CompoundTag nbt) -
net.minecraft.world.chunk中StructureManager的使用
参数类型为StructureManager的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)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) -
net.minecraft.world.gen.chunk中StructureManager的使用
参数类型为StructureManager的net.minecraft.world.gen.chunk中的方法 修饰符和类型 方法 说明 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.feature中StructureManager的使用
参数类型为StructureManager的net.minecraft.world.gen.feature中的方法 修饰符和类型 方法 说明 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)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.
-