Uses of Class
net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate
Packages that use StructureTemplate
Package
Description
-
Uses of StructureTemplate in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return StructureTemplateModifier and TypeMethodDescriptionprivate @Nullable StructureTemplateStructureBlockEntity.getStructureTemplate(ServerLevel level) Methods in net.minecraft.world.level.block.entity that return types with arguments of type StructureTemplateModifier and TypeMethodDescriptionprivate static Optional<StructureTemplate> TestInstanceBlockEntity.getStructureTemplate(ServerLevel level, ResourceKey<GameTestInstance> testKey) Methods in net.minecraft.world.level.block.entity with parameters of type StructureTemplateModifier and TypeMethodDescriptionprivate voidStructureBlockEntity.loadStructureInfo(StructureTemplate structureTemplate) private voidStructureBlockEntity.placeStructure(ServerLevel level, StructureTemplate template) private voidTestInstanceBlockEntity.placeStructure(ServerLevel level, StructureTemplate template) -
Uses of StructureTemplate in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as StructureTemplateModifier and TypeFieldDescriptionprotected final StructureTemplateTemplateStructurePiece.templateMethods in net.minecraft.world.level.levelgen.structure that return StructureTemplate -
Uses of StructureTemplate in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools with type parameters of type StructureTemplateModifier and TypeFieldDescriptionprotected final com.mojang.datafixers.util.Either<Identifier, StructureTemplate> SinglePoolElement.templateprivate static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Identifier, StructureTemplate>> SinglePoolElement.TEMPLATE_CODECMethods in net.minecraft.world.level.levelgen.structure.pools that return StructureTemplateModifier and TypeMethodDescriptionprivate StructureTemplateSinglePoolElement.getTemplate(StructureTemplateManager structureTemplateManager) Methods in net.minecraft.world.level.levelgen.structure.pools that return types with arguments of type StructureTemplateModifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E, com.mojang.datafixers.util.Either<Identifier, StructureTemplate>> SinglePoolElement.templateCodec()Method parameters in net.minecraft.world.level.levelgen.structure.pools with type arguments of type StructureTemplateModifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.DataResult<T> SinglePoolElement.encodeTemplate(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> template, com.mojang.serialization.DynamicOps<T> ops, T prefix) Constructor parameters in net.minecraft.world.level.levelgen.structure.pools with type arguments of type StructureTemplateModifierConstructorDescriptionprotectedLegacySinglePoolElement(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> template, Holder<StructureProcessorList> processors, StructureTemplatePool.Projection projection, Optional<LiquidSettings> liquidSettings) protectedSinglePoolElement(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> template, Holder<StructureProcessorList> processors, StructureTemplatePool.Projection projection, Optional<LiquidSettings> overrideLiquidSettings) -
Uses of StructureTemplate in net.minecraft.world.level.levelgen.structure.structures
Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type StructureTemplateModifierConstructorDescriptionRuinedPortalPiece(StructureTemplateManager structureTemplateManager, BlockPos templatePosition, RuinedPortalPiece.VerticalPlacement verticalPlacement, RuinedPortalPiece.Properties properties, Identifier templateLocation, StructureTemplate template, Rotation rotation, Mirror mirror, BlockPos pivot) -
Uses of StructureTemplate in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem with type parameters of type StructureTemplateModifier and TypeFieldDescriptionprivate final Map<Identifier, Optional<StructureTemplate>> StructureTemplateManager.structureRepositoryMethods in net.minecraft.world.level.levelgen.structure.templatesystem that return StructureTemplateMethods in net.minecraft.world.level.levelgen.structure.templatesystem that return types with arguments of type StructureTemplateModifier and TypeMethodDescriptionStructureTemplateManager.get(Identifier id) private Optional<StructureTemplate> StructureTemplateManager.tryLoad(Identifier id) Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type StructureTemplateModifier and TypeMethodDescription@Nullable StructureTemplate.StructureBlockInfoStructureProcessor.process(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings, @Nullable StructureTemplate template) StructureTemplate.processBlockInfos(ServerLevelAccessor level, BlockPos position, BlockPos referencePos, StructurePlaceSettings settings, List<StructureTemplate.StructureBlockInfo> blockInfoList, @Nullable StructureTemplate template) StructureProcessor.processEntity(LevelReader world, BlockPos seedPos, StructureTemplate.StructureEntityInfo rawEntityInfo, StructureTemplate.StructureEntityInfo entityInfo, StructurePlaceSettings placementSettings, StructureTemplate template) FORGE: Add entity processing.StructureTemplate.processEntityInfos(@Nullable StructureTemplate template, LevelAccessor p_215387_0_, BlockPos p_215387_1_, StructurePlaceSettings p_215387_2_, List<StructureTemplate.StructureEntityInfo> p_215387_3_) static booleanStructureTemplateManager.save(Path file, StructureTemplate structureTemplate, boolean asText) -
Uses of StructureTemplate in net.minecraft.world.level.levelgen.structure.templatesystem.loader
Methods in net.minecraft.world.level.levelgen.structure.templatesystem.loader that return StructureTemplateModifier and TypeMethodDescriptionprivate StructureTemplateTemplateSource.readStructure(CompoundTag tag) Methods in net.minecraft.world.level.levelgen.structure.templatesystem.loader that return types with arguments of type StructureTemplateModifier and TypeMethodDescriptionDirectoryTemplateSource.load(Identifier id) ResourceManagerTemplateSource.load(Identifier id) abstract Optional<StructureTemplate> TemplateSource.load(Identifier id) protected Optional<StructureTemplate> TemplateSource.load(IoSupplier<InputStream> opener, boolean asText, Consumer<Throwable> onError)