Uses of Interface
dev.wyck.worldgen.structure.templatesystem.StructureTemplate
Packages that use StructureTemplate
Package
Description
-
Uses of StructureTemplate in dev.wyck.worldgen.feature.configurations
Methods in dev.wyck.worldgen.feature.configurations that return StructureTemplateModifier and TypeMethodDescriptionTemplateFeature.TemplateEntry.template()Returns the value of thetemplaterecord component.Methods in dev.wyck.worldgen.feature.configurations that return types with arguments of type StructureTemplateModifier and TypeMethodDescriptionFossilFeature.fossilStructures()Gets the templates the fossil skeleton is stamped from.FossilFeature.overlayStructures()Gets the templates layered over the fossil, one per fossil template.Methods in dev.wyck.worldgen.feature.configurations with parameters of type StructureTemplateModifier and TypeMethodDescriptionFossilFeature.Builder.fossilStructure(StructureTemplate fossilStructure) Adds a fossil structure to the list of fossil structures.TemplateFeature.TemplateEntry.of(StructureTemplate template) Creates a template entry that allows every rotation.TemplateFeature.TemplateEntry.of(StructureTemplate template, Rotation... rotations) Creates a template entry with the given rotations.FossilFeature.Builder.overlayStructure(StructureTemplate overlayStructure) Adds an overlay structure to the list of overlay structures.Method parameters in dev.wyck.worldgen.feature.configurations with type arguments of type StructureTemplateModifier and TypeMethodDescriptionFossilFeature.Builder.fossilStructures(List<StructureTemplate> fossilStructures) Sets the fossil structures for the fossil feature configuration.static FossilFeatureFossilFeature.of(List<StructureTemplate> fossilStructures, List<StructureTemplate> overlayStructures, ProcessorList fossilProcessors, ProcessorList overlayProcessors, int maxEmptyCornersAllowed) Creates a new instance ofFossilFeaturewith the specified parameters.FossilFeature.Builder.overlayStructures(List<StructureTemplate> overlayStructures) Sets the overlay structures for the fossil feature configuration.Constructors in dev.wyck.worldgen.feature.configurations with parameters of type StructureTemplateModifierConstructorDescriptionTemplateEntry(StructureTemplate template, List<Rotation> rotations) Creates an instance of aTemplateEntryrecord class. -
Uses of StructureTemplate in dev.wyck.worldgen.structure.pools
Methods in dev.wyck.worldgen.structure.pools with parameters of type StructureTemplateModifier and TypeMethodDescriptionstatic LegacySinglePoolElementPoolElement.legacy(StructureTemplate template) Places a structure template, keeping the air blocks it was saved with instead of skipping them.static SinglePoolElementPoolElement.single(StructureTemplate template) Places a structure template, rigidly. -
Uses of StructureTemplate in dev.wyck.worldgen.structure.pools.elements
Methods in dev.wyck.worldgen.structure.pools.elements that return StructureTemplateModifier and TypeMethodDescriptionLegacySinglePoolElement.template()The template this element places.SinglePoolElement.template()The template this element places.Methods in dev.wyck.worldgen.structure.pools.elements with parameters of type StructureTemplateModifier and TypeMethodDescriptionLegacySinglePoolElement.builder(StructureTemplate template) Creates a new builder.static SinglePoolElement.BuilderSinglePoolElement.builder(StructureTemplate template) Creates a new builder.static LegacySinglePoolElementLegacySinglePoolElement.of(StructureTemplate template, ProcessorList processors, Projection projection, @Nullable LiquidSettings overrideLiquidSettings) Creates a new element.static SinglePoolElementSinglePoolElement.of(StructureTemplate template, ProcessorList processors, Projection projection, @Nullable LiquidSettings overrideLiquidSettings) Creates a new element.LegacySinglePoolElement.Builder.template(StructureTemplate template) Sets the template this element places.SinglePoolElement.Builder.template(StructureTemplate template) Sets the template this element places.Constructors in dev.wyck.worldgen.structure.pools.elements with parameters of type StructureTemplateModifierConstructorDescriptionBuilder(StructureTemplate template) Builder(StructureTemplate template) -
Uses of StructureTemplate in dev.wyck.worldgen.structure.templatesystem
Subinterfaces with type arguments of type StructureTemplate in dev.wyck.worldgen.structure.templatesystemModifier and TypeInterfaceDescriptioninterfaceA structure template: the NBT file a jigsaw piece or a template feature stamps into the world.Methods in dev.wyck.worldgen.structure.templatesystem that return StructureTemplateModifier and TypeMethodDescriptionstatic StructureTemplateNames the template stored under the given identifier in theminecraftnamespace.static StructureTemplateStructureTemplate.of(ResourceKey key) Names a template Minecraft already knows about, from a data pack or the world'sgeneratedfolder.static StructureTemplateStructureTemplate.of(ResourceKey key, URL nbtResource) Creates a template loaded from an NBT resource, such as one inside a plugin jar obtained withClass.getResource(String).static StructureTemplateStructureTemplate.of(ResourceKey key, Path nbtFile) Creates a template loaded from an NBT file on disk, such as one saved with a structure block.StructureTemplate.register()Loads this template's source file into the server's template manager under its key.