Interface StructureSetTemplate.Builder
- All Superinterfaces:
AbstractBuilder<StructureSetTemplate>
,Builder<StructureSetTemplate,
,StructureSetTemplate.Builder> CopyableBuilder<StructureSetTemplate,
,StructureSetTemplate.Builder> DataPackEntryBuilder<StructureSet,
,StructureSetTemplate, StructureSetTemplate.Builder> ResettableBuilder<StructureSetTemplate,
,StructureSetTemplate.Builder> ResourceKeyedBuilder<StructureSetTemplate,
StructureSetTemplate.Builder>
- Enclosing interface:
- StructureSetTemplate
public static interface StructureSetTemplate.Builder
extends DataPackEntryBuilder<StructureSet,StructureSetTemplate,StructureSetTemplate.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionAdds a structure with given weight.placement
(StructurePlacement placement) Sets the structure placement.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
Methods inherited from interface org.spongepowered.api.util.DataPackEntryBuilder
fromDataPack, fromValue, pack
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Method Details
-
placement
Sets the structure placement.- Parameters:
placement
- The placement- Returns:
- This builder, for chaining
-
add
Adds a structure with given weight.- Parameters:
structure
- The structureweight
- The weight- Returns:
- This builder, for chaining
-