Use distance map to optimise entity tracker / Misc Utils
Use the distance map to find candidate players for tracking. This also ports a few utility changes from Tuinity
This commit is contained in:
@@ -132,7 +132,7 @@ index 3d255b1964..040d4b41ea 100644
|
||||
|
||||
public CompletableFuture<Either<IChunkAccess, PlayerChunk.Failure>> getStatusFutureUnchecked(ChunkStatus chunkstatus) {
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerChunkMap.java b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
||||
index 4682dca9de..405f57874e 100644
|
||||
index 4f5b516144..1d517fd1ae 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
||||
@@ -0,0 +0,0 @@ public class PlayerChunkMap extends IChunkLoader implements PlayerChunk.d {
|
||||
|
||||
Reference in New Issue
Block a user