[Bleeding] Add APIs for editing biome data. Addresses BUKKIT-1075

By: Mike Primm <mike@primmhome.com>
This commit is contained in:
Bukkit/Spigot
2012-03-04 10:40:27 -06:00
parent 4b5a0b8ed8
commit 9f6f624e1d
2 changed files with 17 additions and 3 deletions

View File

@@ -231,6 +231,13 @@ public interface Block extends Metadatable {
*/
Biome getBiome();
/**
* Sets the biome that this block resides in
*
* @param bio new Biome type for this block
*/
void setBiome(Biome bio);
/**
* Returns true if the block is being powered by Redstone.
*