Add API for per-world simulation distances

Adapted from Spigot commit 6234669574cf0c5fb951f504399f4b171d1a09a7.
This commit is contained in:
md_5 2023-12-23 14:32:35 +11:00
parent 26e1774edf
commit f23325b627
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -1543,6 +1543,13 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
*/
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.
*