rewrite chunk system checkpoint

This commit is contained in:
Spottedleaf
2023-06-07 22:21:04 -07:00
parent 977dc40767
commit 288a08c1af
46 changed files with 22423 additions and 111 deletions

View File

@@ -68,7 +68,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}));
// CraftBukkit end
@@ -0,0 +0,0 @@ public class ChunkMap extends ChunkStorage implements ChunkHolder.PlayerProvider
});
throw new UnsupportedOperationException(); // Paper - rewrite chunk system
}
+ // Paper start
@@ -115,5 +115,5 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ }
+ // Paper end
public CompletableFuture<Either<LevelChunk, ChunkHolder.ChunkLoadingFailure>> prepareTickingChunk(ChunkHolder holder) {
CompletableFuture<Either<List<ChunkAccess>, ChunkHolder.ChunkLoadingFailure>> completablefuture = this.getChunkRangeFuture(holder, 1, (i) -> {
return ChunkStatus.FULL;
throw new UnsupportedOperationException(); // Paper - rewrite chunk system
}