mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-09-18 21:48:15 +00:00
29 lines
505 B
Java
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();
|
||
|
}
|