13
0
geforkt von Mirrors/Paper

Add Chunk.isSlimeChunk to check if a chunk can spawn slimes

By: Senmori <thesenmori@gmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2017-03-22 19:54:23 -04:00
Ursprung 424b52d036
Commit 91a739ea71

Datei anzeigen

@ -123,4 +123,11 @@ public interface Chunk {
* @return true if the chunk has unloaded successfully, otherwise false
*/
boolean unload();
/**
* Checks if this chunk can spawn slimes without being a swamp biome.
*
* @return true if slimes are able to spawn in this chunk
*/
boolean isSlimeChunk();
}