Class BiomeConditionSource.Builder
java.lang.Object
dev.wyck.worldgen.surface.condition.BiomeConditionSource.Builder
- Enclosing interface:
BiomeConditionSource
Builder for
BiomeConditionSource.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the biome condition source.Adds a biome to the list of biomes where this condition matches.target(ResourceKey biomeKey) Adds a biome to the list of biomes where this condition matches.Sets the biomes where this condition matches.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
targets
Sets the biomes where this condition matches.- Parameters:
targets- the biomes- Returns:
- this builder
- Since:
- 3.0.0
-
target
Adds a biome to the list of biomes where this condition matches.- Parameters:
biome- the biome- Returns:
- this builder
- Since:
- 3.0.0
-
target
Adds a biome to the list of biomes where this condition matches.- Parameters:
biomeKey- the biome key- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the biome condition source.- Returns:
- the biome condition source
- Since:
- 3.0.0
-