Class CheckeredColumnBiomeSource.Builder
java.lang.Object
dev.wyck.worldgen.biome.CheckeredColumnBiomeSource.Builder
- Enclosing interface:
CheckeredColumnBiomeSource
Builder for
CheckeredColumnBiomeSource.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a biome to the list of biomes.biome(ResourceKey biomeKey) Adds a biome to the list of biomes.Sets the size of the checkerboard grid.build()Builds the checkerboard column biome source.size(int size) Sets the size of the checkerboard grid.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
biomes
Sets the size of the checkerboard grid.- Parameters:
biomes- the biomes- Returns:
- this builder
- Since:
- 3.0.0
-
size
Sets the size of the checkerboard grid.- Parameters:
size- the size of the checkerboard grid- Returns:
- this builder
- Since:
- 3.0.0
-
biome
Adds a biome to the list of biomes.- Parameters:
biome- the biome to add- Returns:
- this builder
- Since:
- 3.0.0
-
biome
Adds a biome to the list of biomes.- Parameters:
biomeKey- the biome key to add- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the checkerboard column biome source.- Returns:
- the checkerboard column biome source
- Since:
- 3.0.0
-