Plex-FAWE/src/main/java/com/sk89q/worldedit/BiomeTypes.java
aumgn a8eeacccd4 Add biome support
Add a BiomeTypes interface
Add methods in ServerInterface to retrieve the implemented BiomeTypes
Add a getBiome method to LocalWorld and subclasses
Add /biomeinfo & /biomelist commands
Add a BiomeTypeMask
Closes #181
2012-03-20 18:09:48 -07:00

29 lines
505 B
Java

package com.sk89q.worldedit;
import java.util.List;
public interface BiomeTypes {
/**
* Returns if a biome with the given name is available.
*
* @param name
* @return
*/
boolean has(String name);
/**
* Returns the biome type for the given name
*
* @return
*/
BiomeType get(String name) throws UnknownBiomeTypeException;
/**
* Returns a list of all available biome types.
*
* @return
*/
List<BiomeType> all();
}