mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 12:23:51 -07:00
Implement APIs for per world view and simulation distances
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
--- a/net/minecraft/server/level/ChunkMapDistance.java
|
||||
+++ b/net/minecraft/server/level/ChunkMapDistance.java
|
||||
@@ -55,7 +55,7 @@
|
||||
final LongSet ticketsToRelease = new LongOpenHashSet();
|
||||
final Executor mainThreadExecutor;
|
||||
private long ticketTickCounter;
|
||||
- private int simulationDistance = 10;
|
||||
+ public int simulationDistance = 10;
|
||||
|
||||
protected ChunkMapDistance(Executor executor, Executor executor1) {
|
||||
Objects.requireNonNull(executor1);
|
||||
@@ -122,10 +122,25 @@
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user