Interface BiomeProvider
- All Superinterfaces:
BiomeFinder
- All Known Subinterfaces:
ConfigurableBiomeProvider<T>
Provides available Biomes for world generation.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends CheckerboardBiomeConfig>
ConfigurableBiomeProvider<T>checkerboard
(T config) Returns a checkerboard-style biome provider based on aCheckerboardBiomeConfig
choices()
The list of biomes possible.end()
Returns the vanilla end biome provider.static <T extends EndStyleBiomeConfig>
ConfigurableBiomeProvider<T>endStyle
(T config) Returns a vanilla end-style biome provider based on aEndStyleBiomeConfig
.static BiomeProvider
fixed
(RegistryReference<Biome> biome) Returns a fixed biome provider base on a singleBiome
static <T extends MultiNoiseBiomeConfig>
ConfigurableBiomeProvider<T>multiNoise
(T config) Returns a multi-noise biome provider based on aMultiNoiseBiomeConfig
.nether()
Returns the vanilla nether biome provider.Returns the vanilla overworld biome provider.within
(int x, int y, int z, int size) The set of biomes within an area.Methods inherited from interface org.spongepowered.api.world.biome.BiomeFinder
find
-
Method Details
-
overworld
Returns the vanilla overworld biome provider.- Returns:
- the vanilla overworld biome provider.
-
multiNoise
Returns a multi-noise biome provider based on aMultiNoiseBiomeConfig
.- Type Parameters:
T
- the configuration type- Parameters:
config
- the configuration- Returns:
- the configured BiomeProvider
-
nether
Returns the vanilla nether biome provider.- Returns:
- the vanilla nether biome provider.
-
endStyle
Returns a vanilla end-style biome provider based on aEndStyleBiomeConfig
.- Type Parameters:
T
- the configuration type- Parameters:
config
- the configuration- Returns:
- the configured BiomeProvider
-
end
Returns the vanilla end biome provider.- Returns:
- the vanilla end biome provider.
-
checkerboard
Returns a checkerboard-style biome provider based on aCheckerboardBiomeConfig
- Type Parameters:
T
- the configuration type- Parameters:
config
- the configuration- Returns:
- the configured BiomeProvider
-
fixed
Returns a fixed biome provider base on a singleBiome
- Parameters:
biome
- the biome- Returns:
- the configured BiomeProvider
-
choices
The list of biomes possible.- Returns:
- the list of biomes possible.
-
within
The set of biomes within an area.- Parameters:
x
- the center x coordinatey
- the center y coordinatez
- the center z coordinatesize
- the square area radius- Returns:
- the set of biomes.
-