SPIGOT-6829: Add per-player world border API
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
e795b5d12f
commit
2d304809b5
4 changed files with 59 additions and 0 deletions
|
@ -715,6 +715,18 @@ public final class Bukkit {
|
|||
return server.getWorld(uid);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new virtual {@link WorldBorder}.
|
||||
*
|
||||
* @return the created world border instance
|
||||
*
|
||||
* @see Player#setWorldBorder(WorldBorder)
|
||||
*/
|
||||
@NotNull
|
||||
public static WorldBorder createWorldBorder() {
|
||||
return server.createWorldBorder();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the map from the given item ID.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue