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
This commit is contained in:
aumgn
2012-03-17 16:35:29 +01:00
committed by zml2008
parent 0bd3b346fc
commit a8eeacccd4
14 changed files with 374 additions and 1 deletions

View File

@ -102,6 +102,14 @@ public abstract class LocalWorld {
*/
public abstract void setBlockDataFast(Vector pt, int data);
/**
* Get biome type
*
* @param pt
* @return
*/
public abstract BiomeType getBiome(Vector2D pt);
/**
* set block type & data
* @param pt