Interface StructureSet
- All Superinterfaces:
DataPackSerializable
,DefaultedRegistryValue
@CatalogedBy(StructureSets.class)
public interface StructureSet
extends DefaultedRegistryValue, DataPackSerializable
A weighted list of
structures
.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StructureSet.Builder
builder()
Creates a newStructureSet.Builder
to create aStructureSet
.Returns the structure placementReturns the structures included in the structure set.Methods inherited from interface org.spongepowered.api.datapack.DataPackSerializable
toDataPack
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
builder
Creates a newStructureSet.Builder
to create aStructureSet
.- Returns:
- The new builder
-
structures
WeightedTable<Structure> structures()Returns the structures included in the structure set.- Returns:
- The structures included
-
placement
StructurePlacement placement()Returns the structure placement- Returns:
- The structure placement
-