mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-09-16 20:48:15 +00:00
a8eeacccd4
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
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();
|
|
}
|