Package com.mineplex.studio.generator
Class SingleBiomeProvider
java.lang.Object
org.bukkit.generator.BiomeProvider
com.mineplex.studio.generator.SingleBiomeProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBiome()Return the Biome which should be present at the provided location.Returns a list with every biome theBiomeProviderwill use for the given world.Methods inherited from class org.bukkit.generator.BiomeProvider
getBiome
-
Constructor Details
-
SingleBiomeProvider
-
-
Method Details
-
getBiome
Description copied from class:BiomeProviderReturn the Biome which should be present at the provided location.Notes:
This method must be completely thread safe and able to handle multiple concurrent callers.
This method should only return biomes which are present in the list returned by
BiomeProvider.getBiomes(WorldInfo)This method should never return
Biome.CUSTOM.- Specified by:
getBiomein classBiomeProvider- Parameters:
worldInfo- The world info of the world the biome will be used forx- The X-coordinate from world originy- The Y-coordinate from world originz- The Z-coordinate from world origin- Returns:
- Biome for the given location
-
getBiomes
Description copied from class:BiomeProviderReturns a list with every biome theBiomeProviderwill use for the given world.Notes:
This method only gets called once, when the world is loaded. Returning another list or modifying the values from the initial returned list later one, are not respected.
This method should never return a list which contains
Biome.CUSTOM.- Specified by:
getBiomesin classBiomeProvider- Parameters:
worldInfo- The world info of the world the list will be used for- Returns:
- A list with every biome the
BiomeProvideruses
-
getBiome
-