mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
SPIGOT-6829: Add per-player world border API
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user