mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 10:12:06 -07:00
Add API for per-world simulation distances
Adapted from Spigot commit 6234669574cf0c5fb951f504399f4b171d1a09a7. By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user