mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-26 04:25:39 +01:00
Updated Upstream and Sidestream(s) (Tuinity)
Upstream/An Sidestream has released updates that appears to apply and compile correctly This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing. Tuinity Changes: 8d982c4 Updated Upstream (Paper) 2c7bad9 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.3 88a2c88 Revert usage of region manager 08581cf More validation
This commit is contained in:
parent
e657ed2051
commit
ef03360a82
@ -118,7 +118,6 @@ # Patches
|
|||||||
| server | Stop squids floating on top of water | William Blake Galbreath | |
|
| server | Stop squids floating on top of water | William Blake Galbreath | |
|
||||||
| server | Stop wasting resources on JsonList#get | Ivan Pekov | |
|
| server | Stop wasting resources on JsonList#get | Ivan Pekov | |
|
||||||
| server | Swaps the predicate order of collision | ㄗㄠˋ ㄑㄧˊ | |
|
| server | Swaps the predicate order of collision | ㄗㄠˋ ㄑㄧˊ | |
|
||||||
| server | Tic-Tacs Threading Fix | gegy1000 | |
|
|
||||||
| server | Timings stuff | William Blake Galbreath | |
|
| server | Timings stuff | William Blake Galbreath | |
|
||||||
| server | Tulips change fox type | William Blake Galbreath | |
|
| server | Tulips change fox type | William Blake Galbreath | |
|
||||||
| server | Use block distance in portal search radius | Patrick Hemmer | |
|
| server | Use block distance in portal search radius | Patrick Hemmer | |
|
||||||
@ -144,3 +143,4 @@ # Patches
|
|||||||
| server | lithium enum_values | JellySquid | |
|
| server | lithium enum_values | JellySquid | |
|
||||||
| server | lithium-MixinChunkGeneratorAbstract | JellySquid | tr7zw |
|
| server | lithium-MixinChunkGeneratorAbstract | JellySquid | tr7zw |
|
||||||
| server | lithium-MixinDataWatcher | JellySquid | tr7zw |
|
| server | lithium-MixinDataWatcher | JellySquid | tr7zw |
|
||||||
|
| server | tic-tacs Threading Fix | gegy1000 | |
|
||||||
|
2
Tuinity
2
Tuinity
@ -1 +1 @@
|
|||||||
Subproject commit fb292c134bd4386e384fd8fc3905b9ff1f1662f9
|
Subproject commit 8d982c4a8c7292c57c2ddea2f95561f249a70033
|
@ -721,7 +721,7 @@ index 8347faf8a7ee62d27cf5eb9f285695fddadfa624..00000000000000000000000000000000
|
|||||||
-
|
-
|
||||||
- AttributeDefaults.a();
|
- AttributeDefaults.a();
|
||||||
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
||||||
index bab072c9850a2c1f07b8f788871de8d6ebb5c891..45c1cbc84bbd7398c9c3bfd07e974c5e2b3dc549 100644
|
index fccac739adfd31c6a4c6a821c377268394b8666f..2058627ae1322b439c0b8513708145112f791d49 100644
|
||||||
--- a/src/main/java/net/minecraft/server/Entity.java
|
--- a/src/main/java/net/minecraft/server/Entity.java
|
||||||
+++ b/src/main/java/net/minecraft/server/Entity.java
|
+++ b/src/main/java/net/minecraft/server/Entity.java
|
||||||
@@ -440,7 +440,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
@@ -440,7 +440,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||||
@ -1899,7 +1899,7 @@ index 74d10212e547adf96762155adb03c0158df00a16..00000000000000000000000000000000
|
|||||||
- ran = true;
|
- ran = true;
|
||||||
- }
|
- }
|
||||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
index 58616542c1b69290e19d4cd9f4e0e92911d8a1f7..3b7d648fea24bc07d56505123a59c4f8de6bb3dd 100644
|
index ad2c60a04d7d239f4621613acfb265db7512d162..4b85fb34051f286b08d23ff25cbd0c7a1c0a2a21 100644
|
||||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
@@ -999,7 +999,13 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
@@ -999,7 +999,13 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
||||||
@ -2500,7 +2500,7 @@ index 3a35169eaf680c45fe42922eb5f0014fa422c31c..00000000000000000000000000000000
|
|||||||
- }
|
- }
|
||||||
- // Spigot Start
|
- // Spigot Start
|
||||||
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
index 6c8116a6461a28f5d99124743392736c1c67968f..d00a42ce477aee3127bfd6839dee984dd7ad5c10 100644
|
index e9d0915556a00ef949f7010f9ac06d1f9319f4b3..b35e6382ce5e8b07ebe5d7d31d53e14cf7ce2114 100644
|
||||||
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
@@ -869,11 +869,11 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
@@ -869,11 +869,11 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
@ -2538,51 +2538,7 @@ index 6c8116a6461a28f5d99124743392736c1c67968f..d00a42ce477aee3127bfd6839dee984d
|
|||||||
boolean flag3 = true || !this.players.isEmpty() || !this.getForceLoadedChunks().isEmpty(); // CraftBukkit - this prevents entity cleanup, other issues on servers with no players
|
boolean flag3 = true || !this.players.isEmpty() || !this.getForceLoadedChunks().isEmpty(); // CraftBukkit - this prevents entity cleanup, other issues on servers with no players
|
||||||
|
|
||||||
if (flag3) {
|
if (flag3) {
|
||||||
@@ -924,7 +924,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
@@ -1038,7 +1038,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
}
|
|
||||||
// CraftBukkit end */
|
|
||||||
|
|
||||||
- gameprofilerfiller.enter("checkDespawn");
|
|
||||||
+ //gameprofilerfiller.enter("checkDespawn"); // Akarin - remove caller
|
|
||||||
if (!entity.dead) {
|
|
||||||
entity.checkDespawn();
|
|
||||||
// Tuinity start - optimise notify()
|
|
||||||
@@ -936,7 +936,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
|
||||||
// Tuinity end - optimise notify()
|
|
||||||
}
|
|
||||||
|
|
||||||
- gameprofilerfiller.exit();
|
|
||||||
+ //gameprofilerfiller.exit(); // Akarin - remove caller
|
|
||||||
if (entity1 != null) {
|
|
||||||
if (!entity1.dead && entity1.w(entity)) {
|
|
||||||
continue;
|
|
||||||
@@ -945,13 +945,13 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
|
||||||
entity.stopRiding();
|
|
||||||
}
|
|
||||||
|
|
||||||
- gameprofilerfiller.enter("tick");
|
|
||||||
+ //gameprofilerfiller.enter("tick"); // Akarin - remove caller
|
|
||||||
if (!entity.dead && !(entity instanceof EntityComplexPart)) {
|
|
||||||
this.a(this::entityJoinedWorld, entity);
|
|
||||||
}
|
|
||||||
|
|
||||||
- gameprofilerfiller.exit();
|
|
||||||
- gameprofilerfiller.enter("remove");
|
|
||||||
+ //gameprofilerfiller.exit(); // Akarin - remove caller
|
|
||||||
+ //gameprofilerfiller.enter("remove"); // Akarin - remove caller
|
|
||||||
if (entity.dead) {
|
|
||||||
this.removeEntityFromChunk(entity);
|
|
||||||
this.entitiesById.remove(entity.getId()); // Tuinity
|
|
||||||
@@ -963,7 +963,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
|
||||||
}
|
|
||||||
// Tuinity end - optimise notify()
|
|
||||||
|
|
||||||
- gameprofilerfiller.exit();
|
|
||||||
+ //gameprofilerfiller.exit(); // Akarin - remove caller
|
|
||||||
}
|
|
||||||
timings.entityTick.stopTiming(); // Spigot
|
|
||||||
|
|
||||||
@@ -1050,7 +1050,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
|
||||||
int k = chunkcoordintpair.e();
|
int k = chunkcoordintpair.e();
|
||||||
GameProfilerFiller gameprofilerfiller = this.getMethodProfiler();
|
GameProfilerFiller gameprofilerfiller = this.getMethodProfiler();
|
||||||
|
|
||||||
@ -2591,7 +2547,7 @@ index 6c8116a6461a28f5d99124743392736c1c67968f..d00a42ce477aee3127bfd6839dee984d
|
|||||||
final BlockPosition.MutableBlockPosition blockposition = this.chunkTickMutablePosition; // Paper - use mutable to reduce allocation rate, final to force compile fail on change
|
final BlockPosition.MutableBlockPosition blockposition = this.chunkTickMutablePosition; // Paper - use mutable to reduce allocation rate, final to force compile fail on change
|
||||||
|
|
||||||
if (!this.paperConfig.disableThunder && flag && this.V() && this.random.nextInt(100000) == 0) { // Paper - Disable thunder
|
if (!this.paperConfig.disableThunder && flag && this.V() && this.random.nextInt(100000) == 0) { // Paper - Disable thunder
|
||||||
@@ -1296,13 +1296,13 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
@@ -1284,13 +1284,13 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
gameprofilerfiller.a(() -> {
|
gameprofilerfiller.a(() -> {
|
||||||
return IRegistry.ENTITY_TYPE.getKey(entity.getEntityType()).toString();
|
return IRegistry.ENTITY_TYPE.getKey(entity.getEntityType()).toString();
|
||||||
});
|
});
|
||||||
@ -2607,24 +2563,17 @@ index 6c8116a6461a28f5d99124743392736c1c67968f..d00a42ce477aee3127bfd6839dee984d
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.chunkCheck(entity);
|
this.chunkCheck(entity);
|
||||||
@@ -1422,7 +1422,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
|
||||||
// Tuinity end
|
|
||||||
}
|
|
||||||
|
|
||||||
- this.getMethodProfiler().exit();
|
|
||||||
+ //this.getMethodProfiler().exit(); // Akarin - remove caller
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/WorldServer.java.rej b/src/main/java/net/minecraft/server/WorldServer.java.rej
|
diff --git a/src/main/java/net/minecraft/server/WorldServer.java.rej b/src/main/java/net/minecraft/server/WorldServer.java.rej
|
||||||
deleted file mode 100644
|
index 72e1528c1250a4b59abed862c8ccb2507a66c862..d62e4a7c698bd9253914bb31c5e6389b67e589b6 100644
|
||||||
index 82cfbef39662d079a9ffef57c9a768c499b1c8f1..0000000000000000000000000000000000000000
|
|
||||||
--- a/src/main/java/net/minecraft/server/WorldServer.java.rej
|
--- a/src/main/java/net/minecraft/server/WorldServer.java.rej
|
||||||
+++ /dev/null
|
+++ b/src/main/java/net/minecraft/server/WorldServer.java.rej
|
||||||
@@ -1,119 +0,0 @@
|
@@ -1,70 +1,54 @@
|
||||||
-diff a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java (rejected hunks)
|
diff a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java (rejected hunks)
|
||||||
-@@ -887,11 +887,11 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
-@@ -887,11 +887,11 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
-
|
+@@ -924,7 +924,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
|
+ }
|
||||||
|
+ // CraftBukkit end */
|
||||||
|
|
||||||
- this.N();
|
- this.N();
|
||||||
- this.b();
|
- this.b();
|
||||||
-- gameprofilerfiller.exitEnter("chunkSource");
|
-- gameprofilerfiller.exitEnter("chunkSource");
|
||||||
@ -2639,7 +2588,15 @@ index 82cfbef39662d079a9ffef57c9a768c499b1c8f1..00000000000000000000000000000000
|
|||||||
- this.nextTickListBlock.b();
|
- this.nextTickListBlock.b();
|
||||||
-@@ -900,17 +900,17 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
-@@ -900,17 +900,17 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
- timings.scheduledBlocks.stopTiming(); // Paper
|
- timings.scheduledBlocks.stopTiming(); // Paper
|
||||||
-
|
+- gameprofilerfiller.enter("checkDespawn");
|
||||||
|
++ //gameprofilerfiller.enter("checkDespawn"); // Akarin - remove caller
|
||||||
|
+ if (!entity.dead) {
|
||||||
|
+ entity.checkDespawn();
|
||||||
|
+ // Tuinity start - optimise notify()
|
||||||
|
+@@ -936,7 +936,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
|
+ // Tuinity end - optimise notify()
|
||||||
|
+ }
|
||||||
|
|
||||||
- // Tuinity - replace logic
|
- // Tuinity - replace logic
|
||||||
-- gameprofilerfiller.exitEnter("raid");
|
-- gameprofilerfiller.exitEnter("raid");
|
||||||
-+ //gameprofilerfiller.exitEnter("raid"); // Akarin - remove caller
|
-+ //gameprofilerfiller.exitEnter("raid"); // Akarin - remove caller
|
||||||
@ -2656,56 +2613,39 @@ index 82cfbef39662d079a9ffef57c9a768c499b1c8f1..00000000000000000000000000000000
|
|||||||
-- gameprofilerfiller.exitEnter("entities");
|
-- gameprofilerfiller.exitEnter("entities");
|
||||||
-+ //gameprofilerfiller.exitEnter("entities"); // Akarin - remove caller
|
-+ //gameprofilerfiller.exitEnter("entities"); // Akarin - remove caller
|
||||||
- boolean flag3 = true || !this.players.isEmpty() || !this.getForceLoadedChunks().isEmpty(); // CraftBukkit - this prevents entity cleanup, other issues on servers with no players
|
- boolean flag3 = true || !this.players.isEmpty() || !this.getForceLoadedChunks().isEmpty(); // CraftBukkit - this prevents entity cleanup, other issues on servers with no players
|
||||||
-
|
+- gameprofilerfiller.exit();
|
||||||
|
++ //gameprofilerfiller.exit(); // Akarin - remove caller
|
||||||
|
+ if (entity1 != null) {
|
||||||
|
+ if (!entity1.dead && entity1.w(entity)) {
|
||||||
|
+ continue;
|
||||||
|
+@@ -945,13 +945,13 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
|
+ entity.stopRiding();
|
||||||
|
+ }
|
||||||
|
|
||||||
- if (flag3) {
|
- if (flag3) {
|
||||||
-@@ -943,12 +943,12 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
|
||||||
- }
|
|
||||||
- // CraftBukkit end */
|
|
||||||
-
|
|
||||||
-- gameprofilerfiller.enter("checkDespawn");
|
|
||||||
-+ //gameprofilerfiller.enter("checkDespawn"); // Akarin - remove caller
|
|
||||||
- if (!entity.dead) {
|
|
||||||
- entity.checkDespawn();
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
-- gameprofilerfiller.exit();
|
|
||||||
-+ //gameprofilerfiller.exit(); // Akarin - remove caller
|
|
||||||
- if (entity1 != null) {
|
|
||||||
- if (!entity1.dead && entity1.w(entity)) {
|
|
||||||
- continue;
|
|
||||||
-@@ -957,20 +957,20 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
|
||||||
- entity.stopRiding();
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
-- gameprofilerfiller.enter("tick");
|
|
||||||
-+ //gameprofilerfiller.enter("tick"); // Akarin - remove caller
|
|
||||||
- if (!entity.dead && !(entity instanceof EntityComplexPart)) {
|
|
||||||
- this.a(this::entityJoinedWorld, entity);
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
-- gameprofilerfiller.exit();
|
|
||||||
-- gameprofilerfiller.enter("remove");
|
|
||||||
-+ //gameprofilerfiller.exit(); // Akarin - remove caller
|
|
||||||
-+ //gameprofilerfiller.enter("remove"); // Akarin - remove caller
|
|
||||||
- if (entity.dead) {
|
|
||||||
- this.removeEntityFromChunk(entity);
|
|
||||||
- this.entitiesById.remove(entity.getId()); // Tuinity
|
|
||||||
- this.unregisterEntity(entity);
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
-- gameprofilerfiller.exit();
|
|
||||||
-+ //gameprofilerfiller.exit(); // Akarin - remove caller
|
|
||||||
- }
|
|
||||||
- timings.entityTick.stopTiming(); // Spigot
|
|
||||||
-
|
|
||||||
-@@ -1049,7 +1049,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
-@@ -1049,7 +1049,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
- int k = chunkcoordintpair.e();
|
- int k = chunkcoordintpair.e();
|
||||||
- GameProfilerFiller gameprofilerfiller = this.getMethodProfiler();
|
- GameProfilerFiller gameprofilerfiller = this.getMethodProfiler();
|
||||||
-
|
+- gameprofilerfiller.enter("tick");
|
||||||
|
++ //gameprofilerfiller.enter("tick"); // Akarin - remove caller
|
||||||
|
+ if (!entity.dead && !(entity instanceof EntityComplexPart)) {
|
||||||
|
+ this.a(this::entityJoinedWorld, entity);
|
||||||
|
+ }
|
||||||
|
|
||||||
-- gameprofilerfiller.enter("thunder");
|
-- gameprofilerfiller.enter("thunder");
|
||||||
-+ //gameprofilerfiller.enter("thunder"); // Akarin - remove caller
|
-+ //gameprofilerfiller.enter("thunder"); // Akarin - remove caller
|
||||||
- final BlockPosition.MutableBlockPosition blockposition = this.chunkTickMutablePosition; // Paper - use mutable to reduce allocation rate, final to force compile fail on change
|
- final BlockPosition.MutableBlockPosition blockposition = this.chunkTickMutablePosition; // Paper - use mutable to reduce allocation rate, final to force compile fail on change
|
||||||
-
|
+- gameprofilerfiller.exit();
|
||||||
|
+- gameprofilerfiller.enter("remove");
|
||||||
|
++ //gameprofilerfiller.exit(); // Akarin - remove caller
|
||||||
|
++ //gameprofilerfiller.enter("remove"); // Akarin - remove caller
|
||||||
|
+ if (entity.dead) {
|
||||||
|
+ this.removeEntityFromChunk(entity);
|
||||||
|
+ this.entitiesById.remove(entity.getId()); // Tuinity
|
||||||
|
+@@ -963,7 +963,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
|
+ }
|
||||||
|
+ // Tuinity end - optimise notify()
|
||||||
|
|
||||||
- if (!this.paperConfig.disableThunder && flag && this.T() && this.random.nextInt(100000) == 0) { // Paper - Disable thunder
|
- if (!this.paperConfig.disableThunder && flag && this.T() && this.random.nextInt(100000) == 0) { // Paper - Disable thunder
|
||||||
-@@ -1284,10 +1284,10 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
-@@ -1284,10 +1284,10 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
- gameprofilerfiller.a(() -> {
|
- gameprofilerfiller.a(() -> {
|
||||||
@ -2715,10 +2655,11 @@ index 82cfbef39662d079a9ffef57c9a768c499b1c8f1..00000000000000000000000000000000
|
|||||||
-+ //gameprofilerfiller.c("tickNonPassenger"); // Akarin - remove caller
|
-+ //gameprofilerfiller.c("tickNonPassenger"); // Akarin - remove caller
|
||||||
- entity.tick();
|
- entity.tick();
|
||||||
- entity.postTick(); // CraftBukkit
|
- entity.postTick(); // CraftBukkit
|
||||||
-- gameprofilerfiller.exit();
|
- gameprofilerfiller.exit();
|
||||||
-+ //gameprofilerfiller.exit(); // Akarin - remove caller
|
+ //gameprofilerfiller.exit(); // Akarin - remove caller
|
||||||
- }
|
}
|
||||||
-
|
+ timings.entityTick.stopTiming(); // Spigot
|
||||||
|
|
||||||
- this.chunkCheck(entity);
|
- this.chunkCheck(entity);
|
||||||
-@@ -1325,9 +1325,9 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
-@@ -1325,9 +1325,9 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
- gameprofilerfiller.a(() -> {
|
- gameprofilerfiller.a(() -> {
|
||||||
@ -2730,17 +2671,16 @@ index 82cfbef39662d079a9ffef57c9a768c499b1c8f1..00000000000000000000000000000000
|
|||||||
-- gameprofilerfiller.exit();
|
-- gameprofilerfiller.exit();
|
||||||
-+ //gameprofilerfiller.exit(); // Akarin - remove caller
|
-+ //gameprofilerfiller.exit(); // Akarin - remove caller
|
||||||
- }
|
- }
|
||||||
-
|
+@@ -1422,7 +1422,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
|
+ // Tuinity end
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+- this.getMethodProfiler().exit();
|
||||||
|
++ //this.getMethodProfiler().exit(); // Akarin - remove caller
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
|
||||||
- this.chunkCheck(entity1);
|
- this.chunkCheck(entity1);
|
||||||
-@@ -1377,7 +1377,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
|
||||||
- }
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
-- this.getMethodProfiler().exit();
|
|
||||||
-+ //this.getMethodProfiler().exit(); // Akarin - remove caller
|
|
||||||
- }
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||||
index 4a7285bd8e9ba3b7ad94c67c1880cc216cea5bc9..b7000990cfbf8116e9c3e98ea8e84e6541a989c8 100644
|
index 4a7285bd8e9ba3b7ad94c67c1880cc216cea5bc9..b7000990cfbf8116e9c3e98ea8e84e6541a989c8 100644
|
||||||
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||||
@ -3134,7 +3074,7 @@ index 44b67715e6c1b113b4651a965e8006e9a10a05bf..00000000000000000000000000000000
|
|||||||
- // Purpur end
|
- // Purpur end
|
||||||
- }
|
- }
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
index 210cb10ea75b99d3b5d7b5bce5cea44e3cc0fc20..62012d2b780d3399bd641ca3ca4a4ac127e3bcb5 100644
|
index 16fd48c617ebced744966fd1b4cd155c20774ef4..b3651d69720cd40593d0febb58380203972ca87b 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
@@ -154,6 +154,14 @@ public class Main {
|
@@ -154,6 +154,14 @@ public class Main {
|
||||||
|
@ -39,7 +39,7 @@ index 74ed02fa9296583977bb721014b10ff8b708b43c..a13c7b2b5bc79ecaea404779149ed02c
|
|||||||
.completer(new ConsoleCommandCompleter(this.server))
|
.completer(new ConsoleCommandCompleter(this.server))
|
||||||
);
|
);
|
||||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
index 3b7d648fea24bc07d56505123a59c4f8de6bb3dd..323d489b1e690500986bc0cbb4c2c93cc193bf70 100644
|
index 4b85fb34051f286b08d23ff25cbd0c7a1c0a2a21..05305007e2118c618f1bd24985cc108d2efb0204 100644
|
||||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
@@ -1519,7 +1519,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
@@ -1519,7 +1519,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
||||||
@ -168,7 +168,7 @@ index b07659d2df48f3d131c8ddf94ff2a1e12afc3d08..42628d6dbf54977d34442f46c89b771a
|
|||||||
private final String bukkitVersion = Versioning.getBukkitVersion();
|
private final String bukkitVersion = Versioning.getBukkitVersion();
|
||||||
private final Logger logger = Logger.getLogger("Minecraft");
|
private final Logger logger = Logger.getLogger("Minecraft");
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
|
||||||
index 0b2bc20d1074757ab69eb6715d9b2d0d2065b2db..84b10757a72354023b5e79e5c63a3fdb9a7eb55b 100644
|
index 3ebaa9463e365831de37d8fa3cc191693f5b856f..56af3160015a5cf34586d2b8e7c073cea8ce52a5 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
|
--- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
|
||||||
@@ -347,7 +347,7 @@ public final class CraftMagicNumbers implements UnsafeValues {
|
@@ -347,7 +347,7 @@ public final class CraftMagicNumbers implements UnsafeValues {
|
||||||
|
@ -7,7 +7,7 @@ Original patch by:
|
|||||||
Co-authored-by: tr7zw <tr7zw@live.de>
|
Co-authored-by: tr7zw <tr7zw@live.de>
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
index 323d489b1e690500986bc0cbb4c2c93cc193bf70..54e54cf4ed710923cc93d4ba77c378547761c8a1 100644
|
index 05305007e2118c618f1bd24985cc108d2efb0204..da95d52943550de946d85261bf0e20f9a43ea438 100644
|
||||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
@@ -928,6 +928,8 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
@@ -928,6 +928,8 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
||||||
|
@ -304,7 +304,7 @@ index 4bae0e82bc25b576a23b5f05af7c3ad944a54bcf..78d7fc805a1aeb0d31e51a5aa68e92d9
|
|||||||
public void restart() {
|
public void restart() {
|
||||||
org.spigotmc.RestartCommand.restart();
|
org.spigotmc.RestartCommand.restart();
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
index 62012d2b780d3399bd641ca3ca4a4ac127e3bcb5..dddba89eee0181c066ad979bc2b75e8de36e7458 100644
|
index b3651d69720cd40593d0febb58380203972ca87b..e1fdb891ca612cd360983ce121b01faab3f50d68 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
@@ -162,6 +162,14 @@ public class Main {
|
@@ -162,6 +162,14 @@ public class Main {
|
||||||
|
@ -58,7 +58,7 @@ index 72d7a017f2aa7f2fde3b5de437e7fd2e051edd24..6c280d64bb069fba0d52a7d8b4eb6a08
|
|||||||
this.setPVP(dedicatedserverproperties.pvp);
|
this.setPVP(dedicatedserverproperties.pvp);
|
||||||
this.setAllowFlight(dedicatedserverproperties.allowFlight);
|
this.setAllowFlight(dedicatedserverproperties.allowFlight);
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
index dddba89eee0181c066ad979bc2b75e8de36e7458..2b7bfeb79200458912aef6b20ee53c4c276b3451 100644
|
index e1fdb891ca612cd360983ce121b01faab3f50d68..ced65104baf3a8a7d4a1aaaba0a863eaf0a5c169 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
@@ -303,7 +303,7 @@ public class Main {
|
@@ -303,7 +303,7 @@ public class Main {
|
||||||
|
@ -5,7 +5,7 @@ Subject: [PATCH] Fix lead fall dmg config
|
|||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
||||||
index 45c1cbc84bbd7398c9c3bfd07e974c5e2b3dc549..decad96e5affe07078624c2ef95dd1f5e79601b2 100644
|
index 2058627ae1322b439c0b8513708145112f791d49..798ce0029c980d340d74dff53d702ef3cd00e33e 100644
|
||||||
--- a/src/main/java/net/minecraft/server/Entity.java
|
--- a/src/main/java/net/minecraft/server/Entity.java
|
||||||
+++ b/src/main/java/net/minecraft/server/Entity.java
|
+++ b/src/main/java/net/minecraft/server/Entity.java
|
||||||
@@ -1264,6 +1264,8 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
@@ -1264,6 +1264,8 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||||
|
@ -5,7 +5,7 @@ Subject: [PATCH] Optimize player loops around weather
|
|||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
index d00a42ce477aee3127bfd6839dee984dd7ad5c10..6610d2f0f852a2af93ab9a61d69a6862d11f1b19 100644
|
index b35e6382ce5e8b07ebe5d7d31d53e14cf7ce2114..9a60f8e78feaa471fedc284beabad61c71be6462 100644
|
||||||
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
@@ -814,12 +814,17 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
@@ -814,12 +814,17 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
|
@ -18,7 +18,7 @@ index 68ab5ccb2fcfe1de0503c9336572f28e11832b2d..4d4c25cb328b0ca2e16d3c823214aca5
|
|||||||
* Gets a timer associated with a plugins tasks.
|
* Gets a timer associated with a plugins tasks.
|
||||||
* @param bukkitTask
|
* @param bukkitTask
|
||||||
diff --git a/src/main/java/net/minecraft/server/NavigationAbstract.java b/src/main/java/net/minecraft/server/NavigationAbstract.java
|
diff --git a/src/main/java/net/minecraft/server/NavigationAbstract.java b/src/main/java/net/minecraft/server/NavigationAbstract.java
|
||||||
index 0fd68e787a0d7dd558c8de62239b0b5e3960756b..9a5a6a2276bb08a9b7bb88f498a0d0fe031f5265 100644
|
index 99060787e47314a6b609aee701d8055352d348cb..e106a418eaed83ae25ba1efb54e54d28cf8798d3 100644
|
||||||
--- a/src/main/java/net/minecraft/server/NavigationAbstract.java
|
--- a/src/main/java/net/minecraft/server/NavigationAbstract.java
|
||||||
+++ b/src/main/java/net/minecraft/server/NavigationAbstract.java
|
+++ b/src/main/java/net/minecraft/server/NavigationAbstract.java
|
||||||
@@ -29,6 +29,7 @@ public abstract class NavigationAbstract {
|
@@ -29,6 +29,7 @@ public abstract class NavigationAbstract {
|
||||||
@ -27,9 +27,9 @@ index 0fd68e787a0d7dd558c8de62239b0b5e3960756b..9a5a6a2276bb08a9b7bb88f498a0d0fe
|
|||||||
private boolean t;
|
private boolean t;
|
||||||
+ private co.aikar.timings.Timing timing; // Yatopia
|
+ private co.aikar.timings.Timing timing; // Yatopia
|
||||||
|
|
||||||
// Tuinity start
|
public NavigationAbstract(EntityInsentient entityinsentient, World world) {
|
||||||
public boolean isViableForPathRecalculationChecking() {
|
this.g = Vec3D.ORIGIN;
|
||||||
@@ -47,6 +48,7 @@ public abstract class NavigationAbstract {
|
@@ -40,6 +41,7 @@ public abstract class NavigationAbstract {
|
||||||
int i = MathHelper.floor(entityinsentient.b(GenericAttributes.FOLLOW_RANGE) * 16.0D);
|
int i = MathHelper.floor(entityinsentient.b(GenericAttributes.FOLLOW_RANGE) * 16.0D);
|
||||||
|
|
||||||
this.s = this.a(i);
|
this.s = this.a(i);
|
||||||
@ -37,7 +37,7 @@ index 0fd68e787a0d7dd558c8de62239b0b5e3960756b..9a5a6a2276bb08a9b7bb88f498a0d0fe
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void g() {
|
public void g() {
|
||||||
@@ -230,6 +232,10 @@ public abstract class NavigationAbstract {
|
@@ -223,6 +225,10 @@ public abstract class NavigationAbstract {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void c() {
|
public void c() {
|
||||||
@ -48,7 +48,7 @@ index 0fd68e787a0d7dd558c8de62239b0b5e3960756b..9a5a6a2276bb08a9b7bb88f498a0d0fe
|
|||||||
++this.e;
|
++this.e;
|
||||||
if (this.m) {
|
if (this.m) {
|
||||||
this.j();
|
this.j();
|
||||||
@@ -257,6 +263,11 @@ public abstract class NavigationAbstract {
|
@@ -250,6 +256,11 @@ public abstract class NavigationAbstract {
|
||||||
this.a.getControllerMove().a(vec3d.x, this.b.getType(blockposition.down()).isAir() ? vec3d.y : PathfinderNormal.a((IBlockAccess) this.b, blockposition), vec3d.z, this.d);
|
this.a.getControllerMove().a(vec3d.x, this.b.getType(blockposition.down()).isAir() ? vec3d.y : PathfinderNormal.a((IBlockAccess) this.b, blockposition), vec3d.z, this.d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -849,7 +849,7 @@ index ac6e5e3309affc830d4db07fd9b8d809c3085033..b7fcbef8d38c9406a891d64f8016bc16
|
|||||||
@Override
|
@Override
|
||||||
public NBTTagCompound i(BlockPosition blockposition) {
|
public NBTTagCompound i(BlockPosition blockposition) {
|
||||||
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
||||||
index decad96e5affe07078624c2ef95dd1f5e79601b2..228c17966e51b726768ef7bb6d15e00aa1599b3f 100644
|
index 798ce0029c980d340d74dff53d702ef3cd00e33e..eec6dbda1b5a34122a75f11dfa82506f9763779c 100644
|
||||||
--- a/src/main/java/net/minecraft/server/Entity.java
|
--- a/src/main/java/net/minecraft/server/Entity.java
|
||||||
+++ b/src/main/java/net/minecraft/server/Entity.java
|
+++ b/src/main/java/net/minecraft/server/Entity.java
|
||||||
@@ -73,7 +73,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
@@ -73,7 +73,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||||
@ -1028,10 +1028,10 @@ index 882b82d8952d34f6e3c639404d1a1521dedf1bb0..ccf1416000354b78ccef78b072062ce0
|
|||||||
|
|
||||||
default EntityHuman findNearbyPlayer(Entity entity, double d0, @Nullable Predicate<Entity> predicate) { return this.findNearbyPlayer(entity.locX(), entity.locY(), entity.locZ(), d0, predicate); } // Paper
|
default EntityHuman findNearbyPlayer(Entity entity, double d0, @Nullable Predicate<Entity> predicate) { return this.findNearbyPlayer(entity.locX(), entity.locY(), entity.locZ(), d0, predicate); } // Paper
|
||||||
diff --git a/src/main/java/net/minecraft/server/PlayerChunkMap.java b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
diff --git a/src/main/java/net/minecraft/server/PlayerChunkMap.java b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
||||||
index fbb36229ce936e323619457b618627254cc2ade8..9b7e6d747b366f5967754f1a37ee362aa92e4947 100644
|
index c3eb85c71539ebdb1b6c9a386e4de9ba717f030e..9f32a26fdbfaf024cfe5c0996c2253f2dd581d5e 100644
|
||||||
--- a/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
--- a/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
||||||
+++ b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
+++ b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
||||||
@@ -1351,11 +1351,11 @@ public class PlayerChunkMap extends IChunkLoader implements PlayerChunk.d {
|
@@ -1343,11 +1343,11 @@ public class PlayerChunkMap extends IChunkLoader implements PlayerChunk.d {
|
||||||
chunk.setLoaded(true);
|
chunk.setLoaded(true);
|
||||||
this.world.a(chunk.getTileEntities().values());
|
this.world.a(chunk.getTileEntities().values());
|
||||||
List<Entity> list = null;
|
List<Entity> list = null;
|
||||||
@ -1045,7 +1045,7 @@ index fbb36229ce936e323619457b618627254cc2ade8..9b7e6d747b366f5967754f1a37ee362a
|
|||||||
Iterator iterator = entityslice.iterator();
|
Iterator iterator = entityslice.iterator();
|
||||||
|
|
||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
@@ -1648,7 +1648,7 @@ public class PlayerChunkMap extends IChunkLoader implements PlayerChunk.d {
|
@@ -1640,7 +1640,7 @@ public class PlayerChunkMap extends IChunkLoader implements PlayerChunk.d {
|
||||||
// CraftBukkit - decompile error
|
// CraftBukkit - decompile error
|
||||||
csvwriter.a(chunkcoordintpair.x, chunkcoordintpair.z, playerchunk.getTicketLevel(), optional.isPresent(), optional.map(IChunkAccess::getChunkStatus).orElse(null), optional1.map(Chunk::getState).orElse(null), a(playerchunk.c()), a(playerchunk.a()), a(playerchunk.b()), this.chunkDistanceManager.c(entry.getLongKey()), !this.isOutsideOfRange(chunkcoordintpair), optional1.map((chunk) -> {
|
csvwriter.a(chunkcoordintpair.x, chunkcoordintpair.z, playerchunk.getTicketLevel(), optional.isPresent(), optional.map(IChunkAccess::getChunkStatus).orElse(null), optional1.map(Chunk::getState).orElse(null), a(playerchunk.c()), a(playerchunk.a()), a(playerchunk.b()), this.chunkDistanceManager.c(entry.getLongKey()), !this.isOutsideOfRange(chunkcoordintpair), optional1.map((chunk) -> {
|
||||||
int sum = 0;
|
int sum = 0;
|
||||||
@ -1069,7 +1069,7 @@ index f9a1f5e92a7559a50dfb72d7455a8fc03dbad25f..3094ce00b3fa5b266f5d0ad0875f160e
|
|||||||
} else if (shape instanceof VoxelShapeArray) {
|
} else if (shape instanceof VoxelShapeArray) {
|
||||||
VoxelShapeArray shapeCasted = (VoxelShapeArray)shape;
|
VoxelShapeArray shapeCasted = (VoxelShapeArray)shape;
|
||||||
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
index 6610d2f0f852a2af93ab9a61d69a6862d11f1b19..619509cdb60c6236640fa9b85e9902235fa5aa27 100644
|
index 9a60f8e78feaa471fedc284beabad61c71be6462..853d27d0b58df4029c92005fe1f28d2da487522e 100644
|
||||||
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
@@ -649,8 +649,14 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
@@ -649,8 +649,14 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
@ -1087,7 +1087,7 @@ index 6610d2f0f852a2af93ab9a61d69a6862d11f1b19..619509cdb60c6236640fa9b85e990223
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -1772,12 +1778,12 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
@@ -1743,12 +1749,12 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
}
|
}
|
||||||
// Spigot End
|
// Spigot End
|
||||||
this.tileEntityListUnload.addAll(chunk.getTileEntities().values());
|
this.tileEntityListUnload.addAll(chunk.getTileEntities().values());
|
||||||
|
@ -6,7 +6,7 @@ Subject: [PATCH] Load also the chunk that you're teleporting to
|
|||||||
Fixes Tuinity-178
|
Fixes Tuinity-178
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
index 619509cdb60c6236640fa9b85e9902235fa5aa27..0d3d1098c570a7b3d5092dd4f25d3a36581706d9 100644
|
index 853d27d0b58df4029c92005fe1f28d2da487522e..4dd721de1026482e0007cb25166152ed97151a96 100644
|
||||||
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
@@ -225,7 +225,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
@@ -225,7 +225,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
|
@ -89,7 +89,7 @@ index e6b5a21c523c598f53207d024322301fbae74825..294ef31838b750b45187dcf76b43d067
|
|||||||
return a(MathHelper.floor(axisalignedbb.minX), MathHelper.floor(axisalignedbb.minY), MathHelper.floor(axisalignedbb.minZ), MathHelper.floor(axisalignedbb.maxX), MathHelper.floor(axisalignedbb.maxY), MathHelper.floor(axisalignedbb.maxZ));
|
return a(MathHelper.floor(axisalignedbb.minX), MathHelper.floor(axisalignedbb.minY), MathHelper.floor(axisalignedbb.minZ), MathHelper.floor(axisalignedbb.maxX), MathHelper.floor(axisalignedbb.maxY), MathHelper.floor(axisalignedbb.maxZ));
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
||||||
index 228c17966e51b726768ef7bb6d15e00aa1599b3f..9dfc5649b552a8cb16092fe6b20aa1c181b59d5e 100644
|
index eec6dbda1b5a34122a75f11dfa82506f9763779c..ffac4d061cbfb3428317d8f23c9de2efcac460a8 100644
|
||||||
--- a/src/main/java/net/minecraft/server/Entity.java
|
--- a/src/main/java/net/minecraft/server/Entity.java
|
||||||
+++ b/src/main/java/net/minecraft/server/Entity.java
|
+++ b/src/main/java/net/minecraft/server/Entity.java
|
||||||
@@ -802,11 +802,25 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
@@ -802,11 +802,25 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||||
|
@ -18,10 +18,10 @@ index fd0beefb900c064d3c35a3d2f79f5b7d9c1287bb..4d024a4849b7566c0faba131caab57b4
|
|||||||
return this.size == 0 && this.pendingTasks.isEmpty();
|
return this.size == 0 && this.pendingTasks.isEmpty();
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
index 0d3d1098c570a7b3d5092dd4f25d3a36581706d9..4b86411f5e0dd9319deee3296827080ccb7865a5 100644
|
index 4dd721de1026482e0007cb25166152ed97151a96..27a25a64bba88a0c97f10b59804825dfa319211d 100644
|
||||||
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
||||||
@@ -1815,6 +1815,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
@@ -1786,6 +1786,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
||||||
}
|
}
|
||||||
// Paper end
|
// Paper end
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ index 596815d70e69fd645bec5b6e8c1ebc7b2fa5345a..121504fc93781c78bc236e05ed91ee35
|
|||||||
return (String[]) this.d.keySet().toArray(new String[this.d.size()]);
|
return (String[]) this.d.keySet().toArray(new String[this.d.size()]);
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
index 54e54cf4ed710923cc93d4ba77c378547761c8a1..0540414af5e2462ac33710b94efde0d78df1eedf 100644
|
index da95d52943550de946d85261bf0e20f9a43ea438..54682f927088c8017ab0718df9bfb6c2fa3c844b 100644
|
||||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
@@ -1960,6 +1960,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
@@ -1960,6 +1960,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
||||||
|
@ -5,7 +5,7 @@ Subject: [PATCH] Fix watchdog termination hanging indefinitely
|
|||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
index 0540414af5e2462ac33710b94efde0d78df1eedf..534ffa0df296d02fbc69102b7d38edb0bdb350cc 100644
|
index 54682f927088c8017ab0718df9bfb6c2fa3c844b..a51857cbeaa927392390275f966392f59163c087 100644
|
||||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
@@ -820,6 +820,11 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
@@ -820,6 +820,11 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
||||||
|
@ -52,7 +52,7 @@ index 7ed343cfb3130446c85dab2ca04d60f91e2c94fb..194d2f177b05c594c7a27b6191860a3f
|
|||||||
|
|
||||||
if (collisionShape != VoxelShapes.empty()) {
|
if (collisionShape != VoxelShapes.empty()) {
|
||||||
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
||||||
index 9dfc5649b552a8cb16092fe6b20aa1c181b59d5e..d4c5d805cc9c8fb92b373536a3f07da50c19524a 100644
|
index ffac4d061cbfb3428317d8f23c9de2efcac460a8..2ae651710832e3b3bc4db16e5355f5012407a5b5 100644
|
||||||
--- a/src/main/java/net/minecraft/server/Entity.java
|
--- a/src/main/java/net/minecraft/server/Entity.java
|
||||||
+++ b/src/main/java/net/minecraft/server/Entity.java
|
+++ b/src/main/java/net/minecraft/server/Entity.java
|
||||||
@@ -2171,9 +2171,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
@@ -2171,9 +2171,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||||
|
Loading…
Reference in New Issue
Block a user