Interface StructurePlacement.Builder.ConcentricRings
- All Superinterfaces:
ResettableBuilder<StructurePlacement,
,StructurePlacement.Builder> StructurePlacement.Builder
- Enclosing interface:
StructurePlacement.Builder
public static interface StructurePlacement.Builder.ConcentricRings
extends StructurePlacement.Builder
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.world.generation.structure.StructurePlacement.Builder
StructurePlacement.Builder.ConcentricRings, StructurePlacement.Builder.RandomSpread
-
Method Summary
Methods inherited from interface org.spongepowered.api.util.ResettableBuilder
reset
Methods inherited from interface org.spongepowered.api.world.generation.structure.StructurePlacement.Builder
build, concentricRings, concentricRings, randomSpread, randomSpread
-
Method Details
-
distance
Sets the distance between structures- Parameters:
distance
- The distance- Returns:
- This builder, for chaining
-
spread
Sets the structure count in the first ring- Parameters:
spread
- The spread- Returns:
- This builder, for chaining
-
count
Sets the amount of structures to generate- Parameters:
count
- The count- Returns:
- This builder, for chaining
-
preferredBiomes
Sets the preferred biomes.- Parameters:
preferredBiomes
- the preferred biomes tag.- Returns:
- This builder, for chaining
-