mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-29 19:51:30 +01: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:
parent
ce1f206316
commit
d34ae053c8
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user