Class AdvancedBiomeProvider
java.lang.Object
de.freesoccerhdx.advancedworldcreatorapi.biomeprovider.AdvancedBiomeProvider
- Direct Known Subclasses:
BiomeProviderCheckerBoard
,BiomeProviderDefault
,BiomeProviderLines
,BiomeProviderMultiNoise
,BiomeProviderSingle
,BiomeProviderSquares
Advanced BiomeProvider that also allows
BiomeCreator.CustomBiome
as input.
Any Object that those Methods want you to return should only contain Biome
or BiomeCreator.CustomBiome
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Object
getBiome
(org.bukkit.generator.WorldInfo worldInfo, int x, int y, int z) Gets the specific Biome for given x/y/z - coordinationgetBiomes
(org.bukkit.generator.WorldInfo worldInfo) This Method has to list all Biomes you want to use for the BiomeProvider.
-
Constructor Details
-
AdvancedBiomeProvider
public AdvancedBiomeProvider()
-
-
Method Details
-
getBiome
Gets the specific Biome for given x/y/z - coordination- Parameters:
worldInfo
- The WorldInfo of the Worldx
- The x position of the block for the biomey
- The y position of the block for the biomez
- The z position of the block for the biome- Returns:
- A
Biome
orBiomeCreator.CustomBiome
-
getBiomes
This Method has to list all Biomes you want to use for the BiomeProvider.- Parameters:
worldInfo
- The WorldInfo of the World- Returns:
- A List of
Biome
andBiomeCreator.CustomBiome
to use for the BiomeProvider
-