mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Add API for per-world simulation distances
Adapted from Spigot commit 6234669574cf0c5fb951f504399f4b171d1a09a7.
This commit is contained in:
parent
26e1774edf
commit
f23325b627
1 changed files with 7 additions and 0 deletions
|
@ -1543,6 +1543,13 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
|
||||||
*/
|
*/
|
||||||
int getViewDistance();
|
int getViewDistance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the simulation distance used for this world.
|
||||||
|
*
|
||||||
|
* @return the simulation distance used for this world
|
||||||
|
*/
|
||||||
|
int getSimulationDistance();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the folder of this world on disk.
|
* Gets the folder of this world on disk.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue