Did anyone say gradle? and paperweight? potentially even mojmap?!
This commit is contained in:
parent
9cd572d31e
commit
7dd61c6238
13 changed files with 540 additions and 0 deletions
|
@ -0,0 +1,40 @@
|
|||
--- a/net/minecraft/server/level/ChunkProviderServer.patch
|
||||
+++ b/net/minecraft/server/level/ChunkProviderServer.patch
|
||||
@@ -0,0 +0,0 @@
|
||||
+ return playerchunk == null || playerchunk.oldTicketLevel > i; // CraftBukkit using oldTicketLevel for isLoaded checks
|
||||
}
|
||||
|
||||
- public boolean isLoaded(int i, int j) {
|
||||
-@@ -0,0 +0,0 @@
|
||||
+ @Override
|
||||
+@@ -0,0 +0,0 @@
|
||||
public boolean a(Entity entity) {
|
||||
long i = ChunkCoordIntPair.pair(MathHelper.floor(entity.locX()) >> 4, MathHelper.floor(entity.locZ()) >> 4);
|
||||
|
||||
@@ -0,0 +0,0 @@
|
||||
}
|
||||
|
||||
private boolean a(long i, Function<PlayerChunk, CompletableFuture<Either<Chunk, PlayerChunk.Failure>>> function) {
|
||||
-@@ -0,0 +0,0 @@
|
||||
+@@ -0,0 +0,0 @@
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
@@ -0,0 +0,0 @@
|
||||
public void tick(BooleanSupplier booleansupplier) {
|
||||
this.world.getMethodProfiler().enter("purge");
|
||||
this.chunkMapDistance.purgeTickets();
|
||||
-@@ -0,0 +0,0 @@
|
||||
+@@ -0,0 +0,0 @@
|
||||
this.lastTickTime = i;
|
||||
WorldData worlddata = this.world.getWorldData();
|
||||
boolean flag = this.world.isDebugWorld();
|
||||
@@ -0,0 +0,0 @@
|
||||
|
||||
this.world.getMethodProfiler().enter("naturalSpawnCount");
|
||||
int l = this.chunkMapDistance.b();
|
||||
-@@ -0,0 +0,0 @@
|
||||
+@@ -0,0 +0,0 @@
|
||||
|
||||
@Override
|
||||
protected boolean executeNext() {
|
Loading…
Add table
Add a link
Reference in a new issue