Skip to content

Commit

Permalink
Update Paper
Browse files Browse the repository at this point in the history
d6f730655 Do not add passengers of entities that were above save limit (#5073)
cb99288a5 Try to get a new 1.16.5 build on website now we hopefully fixed site bug
946cdd2d2 [CI-SKIP] [Auto] Rebuild Patches
8f805412b Remove class 13 from netty preload - Fixes #5066
f6d3c6811 Make ProjectileHitEvent Cancellable
97b020f13 make schedule command per world
aac07a271 Return chat component with empty text instead of throwing exception. Fixes #3328
f27bc0659 Collision option for requiring a player participant
193f80148 Add StructureLocateEvent
59222b5ba Add sendOpLevel API
f792973c2 [CI-SKIP] Update API to 1.16.5 (#5067)
ce979b29b Updated Upstream (Bukkit)
d3dc24999 Updated Upstream (Bukkit/CraftBukkit/Spigot)
7438bbee4 Improve zombie villager curing exploit fix (#5054)
eac03694f Updated Upstream (CraftBukkit)
7232d8f2a EntityLoadCrossbowEvent#shouldConsumeItem
4740bd6c8 Mark PlayerInventory#getItem as nullable
bd9ace578 Add a config option to limit the number of entities of each type to load/save in a chunk (#4792)
6bafeb5a9 Move logic from last patch into correct place
9668118fd disable entity ticking flag after watchdog obliteration
6ada26a6d [Auto] Updated Upstream (Spigot)
f645e8d08 [Auto] Updated Upstream (Bukkit)
ac69804c7 Updated Upstream (Bukkit/Spigot) (#5048)
  • Loading branch information
Phoenix616 committed Jan 17, 2021
1 parent eb7662a commit ab42df9
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 43 deletions.
2 changes: 1 addition & 1 deletion Paper
Submodule Paper updated 49 files
+1 −1 Paper-MojangAPI/pom.xml
+3 −3 README.md
+2 −2 Spigot-API-Patches/0001-POM-changes.patch
+8 −9 Spigot-API-Patches/0008-Version-Command-2.0.patch
+4 −4 Spigot-API-Patches/0022-Use-ASM-for-event-executors.patch
+14 −1 Spigot-API-Patches/0050-Fix-upstream-javadoc-warnings-and-errors.patch
+2 −2 Spigot-API-Patches/0066-Allow-plugins-to-use-SLF4J-for-logging.patch
+19 −2 Spigot-API-Patches/0251-Add-EntityLoadCrossbowEvent.patch
+28 −0 Spigot-API-Patches/0259-Add-sendOpLevel-API.patch
+167 −0 Spigot-API-Patches/0260-Add-StructureLocateEvent.patch
+49 −0 Spigot-API-Patches/0261-Make-ProjectileHitEvent-Cancellable.patch
+20 −0 Spigot-API-Patches/0262-Return-chat-component-with-empty-text-instead-of-thr.patch
+16 −14 Spigot-Server-Patches/0001-POM-Changes.patch
+2 −2 Spigot-Server-Patches/0012-Configurable-fishing-time-ranges.patch
+4 −4 Spigot-Server-Patches/0017-Show-Paper-in-client-crashes-server-lists-and-Mojang.patch
+4 −4 Spigot-Server-Patches/0052-Add-velocity-warnings.patch
+4 −4 Spigot-Server-Patches/0097-System-property-for-disabling-watchdoge.patch
+4 −4 Spigot-Server-Patches/0145-Use-TerminalConsoleAppender-for-console-improvements.patch
+2 −2 Spigot-Server-Patches/0166-Handle-plugin-prefixes-using-Log4J-configuration.patch
+2 −2 Spigot-Server-Patches/0167-Include-Log4J2-SLF4J-implementation.patch
+4 −4 Spigot-Server-Patches/0239-Use-asynchronous-Log4j-2-loggers.patch
+9 −9 Spigot-Server-Patches/0261-Add-Early-Warning-Feature-to-WatchDog.patch
+10 −28 Spigot-Server-Patches/0355-Implement-CraftBlockSoundGroup.patch
+2 −2 Spigot-Server-Patches/0368-Asynchronous-chunk-IO-and-loading.patch
+2 −2 Spigot-Server-Patches/0428-Increase-Light-Queue-Size.patch
+38 −22 Spigot-Server-Patches/0437-Improved-Watchdog-Support.patch
+2 −2 Spigot-Server-Patches/0465-Implement-Mob-Goal-API.patch
+3 −3 Spigot-Server-Patches/0466-Use-distance-map-to-optimise-entity-tracker.patch
+2 −2 Spigot-Server-Patches/0476-Wait-for-Async-Tasks-during-shutdown.patch
+8 −10 Spigot-Server-Patches/0510-Fix-Per-World-Difficulty-Remembering-Difficulty.patch
+3 −3 Spigot-Server-Patches/0540-Incremental-player-saving.patch
+2 −2 Spigot-Server-Patches/0568-Cache-block-data-strings.patch
+2 −2 Spigot-Server-Patches/0577-Fix-deop-kicking-non-whitelisted-player-when-white-l.patch
+4 −4 Spigot-Server-Patches/0579-Fix-CME-on-adding-a-passenger-in-CreatureSpawnEvent.patch
+2 −2 Spigot-Server-Patches/0611-Add-warning-for-servers-not-running-on-Java-11.patch
+25 −14 Spigot-Server-Patches/0613-Fix-curing-zombie-villager-discount-exploit.patch
+18 −6 Spigot-Server-Patches/0635-Add-EntityLoadCrossbowEvent.patch
+3 −3 Spigot-Server-Patches/0638-Added-ServerResourcesReloadedEvent.patch
+90 −0 Spigot-Server-Patches/0649-Entity-load-save-limit-per-chunk.patch
+51 −0 Spigot-Server-Patches/0650-Add-sendOpLevel-API.patch
+41 −0 Spigot-Server-Patches/0651-Add-StructureLocateEvent.patch
+65 −0 Spigot-Server-Patches/0652-Collision-option-for-requiring-a-player-participant.patch
+58 −0 Spigot-Server-Patches/0653-Make-ProjectileHitEvent-Cancellable.patch
+25 −0 Spigot-Server-Patches/0654-Return-chat-component-with-empty-text-instead-of-thr.patch
+37 −0 Spigot-Server-Patches/0655-Make-schedule-command-per-world.patch
+1 −1 work/BuildData
+1 −1 work/Bukkit
+1 −1 work/CraftBukkit
+1 −1 work/Spigot
2 changes: 1 addition & 1 deletion current-paper
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.16.4--b9c294f5311504cb7da616d5abfc51a2ce768ae6
1.16.5--96d792e757cc78bf7c0da86b1991b5e843e62381
6 changes: 3 additions & 3 deletions patches/api/0001-Origami-POM-Changes.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From a3f91586ea71d9f58511e4ba6a269ceecda4ed6c Mon Sep 17 00:00:00 2001
From 5fc2945c87ff23c14e0f3cd10ab3d4b53001d595 Mon Sep 17 00:00:00 2001
From: Phoenix616 <mail@moep.tv>
Date: Sun, 24 Nov 2019 22:08:36 +0100
Subject: [PATCH] Origami POM Changes
Expand All @@ -8,7 +8,7 @@ Subject: [PATCH] Origami POM Changes
1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1c33b1f4d..67347e35c 100644
index 6c6ae6b48..b37512ddb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,24 +3,23 @@
Expand All @@ -25,7 +25,7 @@ index 1c33b1f4d..67347e35c 100644
- <groupId>com.destroystokyo.paper</groupId>
- <artifactId>paper-api</artifactId>
+ <artifactId>origami-api</artifactId>
<version>1.16.4-R0.1-SNAPSHOT</version>
<version>1.16.5-R0.1-SNAPSHOT</version>
<packaging>jar</packaging>

- <name>Paper-API</name>
Expand Down
6 changes: 3 additions & 3 deletions patches/mojangapi/0001-Origami-POM-changes.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From cf31f2d497135946f2114298a087f56ad31008fd Mon Sep 17 00:00:00 2001
From ec5de5bb5603a1b68b957e6ec0f2c13bf363ddf4 Mon Sep 17 00:00:00 2001
From: Phoenix616 <mail@moep.tv>
Date: Tue, 5 May 2020 00:58:28 +0100
Subject: [PATCH] Origami POM changes
Expand All @@ -8,7 +8,7 @@ Subject: [PATCH] Origami POM changes
1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/pom.xml b/pom.xml
index 7075a42..69a1156 100644
index 7712a87..3056ea0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,24 +3,23 @@
Expand All @@ -25,7 +25,7 @@ index 7075a42..69a1156 100644
- <groupId>com.destroystokyo.paper</groupId>
- <artifactId>paper-mojangapi</artifactId>
+ <artifactId>origami-mojangapi</artifactId>
<version>1.16.4-R0.1-SNAPSHOT</version>
<version>1.16.5-R0.1-SNAPSHOT</version>
<packaging>jar</packaging>

- <name>Paper-MojangAPI</name>
Expand Down
18 changes: 9 additions & 9 deletions patches/server/0001-Origami-POM-Changes.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 191cf52304446021025a3fb646c169d7ee540272 Mon Sep 17 00:00:00 2001
From 89b4329c98bf024579521e76cad91dc7153d3088 Mon Sep 17 00:00:00 2001
From: Phoenix616 <mail@moep.tv>
Date: Sun, 24 Nov 2019 22:08:35 +0100
Subject: [PATCH] Origami POM Changes
Expand All @@ -9,7 +9,7 @@ Subject: [PATCH] Origami POM Changes
2 files changed, 55 insertions(+), 14 deletions(-)

diff --git a/pom.xml b/pom.xml
index 80f1652913..0b69c21059 100644
index 9ba379b7e3..f5da1bcf44 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,11 +1,11 @@
Expand All @@ -19,17 +19,17 @@ index 80f1652913..0b69c21059 100644
- <artifactId>paper</artifactId>
+ <artifactId>origami</artifactId>
<packaging>jar</packaging>
<version>1.16.4-R0.1-SNAPSHOT</version>
<version>1.16.5-R0.1-SNAPSHOT</version>
- <name>Paper</name>
- <url>https://papermc.io</url>
+ <name>Origami-Server</name>
+ <url>https://minebench.de</url>

<properties>
<!-- <skipTests>true</skipTests> Paper - This [was] not going to end well -->
@@ -13,27 +13,28 @@
<api.version>unknown</api.version>
<minecraft.version>1.16.4</minecraft.version>
@@ -14,27 +14,28 @@
<bt.name>git</bt.name>
<minecraft.version>1.16.5</minecraft.version>
<minecraft_version>1_16_R3</minecraft_version>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
Expand Down Expand Up @@ -64,7 +64,7 @@ index 80f1652913..0b69c21059 100644
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
@@ -165,7 +166,7 @@
@@ -173,7 +174,7 @@

<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
<build>
Expand All @@ -73,7 +73,7 @@ index 80f1652913..0b69c21059 100644
<defaultGoal>clean install</defaultGoal> <!-- Paper -->
<plugins>
<plugin>
@@ -173,7 +174,7 @@
@@ -181,7 +182,7 @@
<artifactId>gitdescribe-maven-plugin</artifactId>
<version>1.3</version>
<configuration>
Expand All @@ -82,7 +82,7 @@ index 80f1652913..0b69c21059 100644
<scmDirectory>..</scmDirectory>
</configuration>
<executions>
@@ -415,5 +416,45 @@
@@ -423,5 +424,45 @@
</plugins>
</build>
</profile>
Expand Down
8 changes: 4 additions & 4 deletions patches/server/0002-Brand-changes.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From e2b37ff2c9d34ad5f006bac5149249c4eaedb6ea Mon Sep 17 00:00:00 2001
From 89e1dad3dbddb30231c17d358d86ed1789a3158c Mon Sep 17 00:00:00 2001
From: Phoenix616 <mail@moep.tv>
Date: Sun, 24 Nov 2019 22:28:42 +0100
Subject: [PATCH] Brand changes
Expand Down Expand Up @@ -47,10 +47,10 @@ index 550232cb38..a551d9eead 100644
throwable = throwable1;
throw throwable1;
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index a7cd98a7cd..b4ca060ebb 100644
index 8c384171ca..cacd280dfa 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -1444,7 +1444,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
@@ -1448,7 +1448,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
}

public String getServerModName() {
Expand All @@ -73,7 +73,7 @@ index dc7de2b59e..1406d17e66 100644
private final String bukkitVersion = Versioning.getBukkitVersion();
private final Logger logger = Logger.getLogger("Minecraft");
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
index 010f702ea4..d3bfdf97ea 100644
index 22bde39593..245a98963b 100644
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
@@ -252,7 +252,7 @@ public class Main {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 07918ff8dc4bc2f1bbe745b914cd28db061d67ba Mon Sep 17 00:00:00 2001
From cb540b1811a42fa34ff2d58850477436e7e1af17 Mon Sep 17 00:00:00 2001
From: Phoenix616 <mail@moep.tv>
Date: Sun, 29 Dec 2019 00:53:17 +0100
Subject: [PATCH] Add options for modifying pigmen farm behaviour
Expand Down Expand Up @@ -85,7 +85,7 @@ index 4132cd4c6f..fccc0bf053 100644
EntityPortalEnterEvent event = new EntityPortalEnterEvent(entity.getBukkitEntity(), new org.bukkit.Location(world.getWorld(), blockposition.getX(), blockposition.getY(), blockposition.getZ()));
world.getServer().getPluginManager().callEvent(event);
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
index d9021fde3d..01438c41d9 100644
index f307a63611..e9e3f968a0 100644
--- a/src/main/java/net/minecraft/server/Entity.java
+++ b/src/main/java/net/minecraft/server/Entity.java
@@ -193,6 +193,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
Expand All @@ -96,7 +96,7 @@ index d9021fde3d..01438c41d9 100644
protected int numCollisions = 0; // Paper
public void inactiveTick() { }
// Spigot end
@@ -1643,6 +1644,11 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
@@ -1644,6 +1645,11 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
nbttagcompound.setBoolean("Paper.FromNetherPortal", true);
}
// Paper end
Expand All @@ -108,7 +108,7 @@ index d9021fde3d..01438c41d9 100644
return nbttagcompound;
} catch (Throwable throwable) {
CrashReport crashreport = CrashReport.a(throwable, "Saving entity NBT");
@@ -1796,6 +1802,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
@@ -1797,6 +1803,7 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
spawnReason = org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.DEFAULT;
}
// Paper end
Expand All @@ -117,7 +117,7 @@ index d9021fde3d..01438c41d9 100644
} catch (Throwable throwable) {
CrashReport crashreport = CrashReport.a(throwable, "Loading entity NBT");
diff --git a/src/main/java/net/minecraft/server/EntityInsentient.java b/src/main/java/net/minecraft/server/EntityInsentient.java
index 6d716214e7..aa8ba82017 100644
index eb5c3a1f0d..398a30cda8 100644
--- a/src/main/java/net/minecraft/server/EntityInsentient.java
+++ b/src/main/java/net/minecraft/server/EntityInsentient.java
@@ -739,7 +739,7 @@ public abstract class EntityInsentient extends EntityLiving {
Expand Down
21 changes: 4 additions & 17 deletions patches/server/0026-Keep-weather-clear-after-sleep.patch
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
From 4f1f2049e919c1abd2eb6ffe5a16cb1103f2516b Mon Sep 17 00:00:00 2001
From 511ba9b9cf47a5c073dd94761ffbf9096d798c52 Mon Sep 17 00:00:00 2001
From: Phoenix616 <mail@moep.tv>
Date: Sat, 4 Jul 2020 20:08:42 +0100
Subject: [PATCH] Keep weather clear after sleep

---
src/main/java/net/minecraft/server/WorldDataServer.java | 1 +
src/main/java/net/minecraft/server/WorldServer.java | 1 +
2 files changed, 2 insertions(+)
src/main/java/net/minecraft/server/WorldServer.java | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/main/java/net/minecraft/server/WorldDataServer.java b/src/main/java/net/minecraft/server/WorldDataServer.java
index a7e623044a..d9dbe65701 100644
--- a/src/main/java/net/minecraft/server/WorldDataServer.java
+++ b/src/main/java/net/minecraft/server/WorldDataServer.java
@@ -287,6 +287,7 @@ public class WorldDataServer implements IWorldDataServer, SaveData {
return this.clearWeatherTime;
}

+ public void setClearWeatherTime(int ticks) { this.a(ticks); } // Origami - OFBHELPER
@Override
public void a(int i) {
this.clearWeatherTime = i;
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
index 5b0b6edfa7..fb205d260e 100644
index fbe7f43f6c..cceed9d06d 100644
--- a/src/main/java/net/minecraft/server/WorldServer.java
+++ b/src/main/java/net/minecraft/server/WorldServer.java
@@ -769,6 +769,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
Expand Down

0 comments on commit ab42df9

Please sign in to comment.