Add WorldBorder API

By: TheCutter <info@thecutter.net>
This commit is contained in:
Bukkit/Spigot
2014-12-12 21:41:49 +01:00
parent 21f13cb0ef
commit 3dbfc6f396
2 changed files with 116 additions and 0 deletions

View File

@@ -1167,6 +1167,13 @@ public interface World extends PluginMessageRecipient, Metadatable {
*/
public boolean isGameRule(String rule);
/**
* Gets the world border for this world.
*
* @return The world border for this world.
*/
public WorldBorder getWorldBorder();
/**
* Represents various map environment types that a world may be
*/