Class AdvancedBiomeProvider

java.lang.Object
de.freesoccerhdx.advancedworldcreatorapi.biomeprovider.AdvancedBiomeProvider
Direct Known Subclasses:
BiomeProviderCheckerBoard, BiomeProviderDefault, BiomeProviderLines, BiomeProviderMultiNoise, BiomeProviderSingle, BiomeProviderSquares

public abstract class AdvancedBiomeProvider extends Object
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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract Object
    getBiome(org.bukkit.generator.WorldInfo worldInfo, int x, int y, int z)
    Gets the specific Biome for given x/y/z - coordination
    abstract List<Object>
    getBiomes(org.bukkit.generator.WorldInfo worldInfo)
    This Method has to list all Biomes you want to use for the BiomeProvider.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdvancedBiomeProvider

      public AdvancedBiomeProvider()
  • Method Details

    • getBiome

      public abstract Object getBiome(org.bukkit.generator.WorldInfo worldInfo, int x, int y, int z)
      Gets the specific Biome for given x/y/z - coordination
      Parameters:
      worldInfo - The WorldInfo of the World
      x - The x position of the block for the biome
      y - The y position of the block for the biome
      z - The z position of the block for the biome
      Returns:
      A Biome or BiomeCreator.CustomBiome
    • getBiomes

      public abstract List<Object> getBiomes(org.bukkit.generator.WorldInfo worldInfo)
      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 and BiomeCreator.CustomBiome to use for the BiomeProvider