Skip to content

Commit 541a683

Browse files
author
Simon Gardling
committed
Merge branch 'ver/1.16.3' of https://github.com/pl3xgaming/Purpur into ver/1.16.3
2 parents bc809cc + 3f325b8 commit 541a683

8 files changed

Lines changed: 256 additions & 249 deletions

current-paper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.16.3--6ba4ed5238bb4963a86e613d22f6e8e367f44436
1+
1.16.3--0c9157a00e6d567a04a3c150305a074c1de32dba

patches/api/0026-Ridables.patch

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ Date: Sat, 4 May 2019 00:57:16 -0500
44
Subject: [PATCH] Ridables
55

66

7+
diff --git a/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java b/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java
8+
index 83c51bb5e..177143c97 100644
9+
--- a/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java
10+
+++ b/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java
11+
@@ -209,5 +209,7 @@ public interface VanillaGoal<T extends Mob> extends Goal<T> {
12+
// Purpur start
13+
GoalKey<Phantom> FIND_CRYSTAL_GOAL = GoalKey.of(Phantom.class, NamespacedKey.minecraft("find_crystal_goal"));
14+
GoalKey<Phantom> ORBIT_CRYSTAL_GOAL = GoalKey.of(Phantom.class, NamespacedKey.minecraft("orbit_crystal_goal"));
15+
+ GoalKey<Mob> HAS_RIDER = GoalKey.of(Mob.class, NamespacedKey.minecraft("has_rider"));
16+
+ GoalKey<AbstractHorse> HORSE_HAS_RIDER = GoalKey.of(AbstractHorse.class, NamespacedKey.minecraft("horse_has_rider"));
17+
// Purpur end
18+
}
719
diff --git a/src/main/java/net/pl3x/purpur/event/entity/RidableSpacebarEvent.java b/src/main/java/net/pl3x/purpur/event/entity/RidableSpacebarEvent.java
820
new file mode 100644
921
index 000000000..c0ec5a130
@@ -48,7 +60,7 @@ index 000000000..c0ec5a130
4860
+ }
4961
+}
5062
diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java
51-
index 9bae4704b..b4771d8e5 100644
63+
index 4d1970bec..81fa4a12b 100644
5264
--- a/src/main/java/org/bukkit/entity/Entity.java
5365
+++ b/src/main/java/org/bukkit/entity/Entity.java
5466
@@ -696,4 +696,35 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent

patches/api/0031-Add-option-to-disable-zombie-aggressiveness-towards-.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Subject: [PATCH] Add option to disable zombie aggressiveness towards villagers
66

77

88
diff --git a/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java b/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java
9-
index 83c51bb5..b77aff57 100644
9+
index 177143c97..da638f974 100644
1010
--- a/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java
1111
+++ b/src/main/java/com/destroystokyo/paper/entity/ai/VanillaGoal.java
12-
@@ -209,5 +209,7 @@ public interface VanillaGoal<T extends Mob> extends Goal<T> {
13-
// Purpur start
14-
GoalKey<Phantom> FIND_CRYSTAL_GOAL = GoalKey.of(Phantom.class, NamespacedKey.minecraft("find_crystal_goal"));
12+
@@ -211,5 +211,7 @@ public interface VanillaGoal<T extends Mob> extends Goal<T> {
1513
GoalKey<Phantom> ORBIT_CRYSTAL_GOAL = GoalKey.of(Phantom.class, NamespacedKey.minecraft("orbit_crystal_goal"));
14+
GoalKey<Mob> HAS_RIDER = GoalKey.of(Mob.class, NamespacedKey.minecraft("has_rider"));
15+
GoalKey<AbstractHorse> HORSE_HAS_RIDER = GoalKey.of(AbstractHorse.class, NamespacedKey.minecraft("horse_has_rider"));
1616
+ GoalKey<Drowned> DROWNED_ATTACK_VILLAGER = GoalKey.of(Drowned.class, NamespacedKey.minecraft("drowned_attack_villager"));
1717
+ GoalKey<Zombie> ZOMBIE_ATTACK_VILLAGER = GoalKey.of(Zombie.class, NamespacedKey.minecraft("zombie_attack_villager"));
1818
// Purpur end

patches/server/0030-Disable-outdated-build-check.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ Subject: [PATCH] Disable outdated build check
55

66

77
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
8-
index 3261d2255..2825f5a3a 100644
8+
index 3313d316fa..94aa512c45 100644
99
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
1010
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
1111
@@ -259,7 +259,7 @@ public class Main {
1212
System.setProperty(TerminalConsoleAppender.JLINE_OVERRIDE_PROPERTY, "false"); // Paper
1313
}
1414

15-
- if (Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) {
15+
- if (false && Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) {
1616
+ if (false) { // Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) { // Purpur
1717
Date buildDate = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").parse(Main.class.getPackage().getImplementationVendor()); // Paper
1818

patches/server/0085-Implement-elytra-settings.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ index 8346d8f3dd..45a2979380 100644
2727
});
2828
}
2929
diff --git a/src/main/java/net/minecraft/server/ItemFireworks.java b/src/main/java/net/minecraft/server/ItemFireworks.java
30-
index 885c03f62d..3a33ad181e 100644
30+
index e775fe69ee..990eb65669 100644
3131
--- a/src/main/java/net/minecraft/server/ItemFireworks.java
3232
+++ b/src/main/java/net/minecraft/server/ItemFireworks.java
33-
@@ -39,6 +39,14 @@ public class ItemFireworks extends Item {
33+
@@ -43,6 +43,14 @@ public class ItemFireworks extends Item {
3434
// Paper start
3535
com.destroystokyo.paper.event.player.PlayerElytraBoostEvent event = new com.destroystokyo.paper.event.player.PlayerElytraBoostEvent((org.bukkit.entity.Player) entityhuman.getBukkitEntity(), org.bukkit.craftbukkit.inventory.CraftItemStack.asCraftMirror(itemstack), (org.bukkit.entity.Firework) entityfireworks.getBukkitEntity());
3636
if (event.callEvent() && world.addEntity(entityfireworks)) {

0 commit comments

Comments
 (0)