13
0
geforkt von Mirrors/Paper

Add API for per-world view distances

Adapted from Spigot commit ea7e48b3e6d973551afe440a8cbc6d96a49d10fc.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2023-12-23 14:32:33 +11:00
Ursprung 804a80b327
Commit ce1f206316

Datei anzeigen

@ -1536,6 +1536,13 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
@NotNull
public Difficulty getDifficulty();
/**
* Returns the view distance used for this world.
*
* @return the view distance used for this world
*/
int getViewDistance();
/**
* Gets the folder of this world on disk.
*