mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Upstream has released updates that appear to apply and compile correctly Pufferfish Changes: pufferfish-gg/Pufferfish@c9f4e20 Final 1.20.4 Update pufferfish-gg/Pufferfish@1f3ad02 Final 1.20.4 update, for realzies pufferfish-gg/Pufferfish@b1ab664 Enable SIMD on java 21 pufferfish-gg/Pufferfish@0674c2b 1.21 compiles pufferfish-gg/Pufferfish@98ea973 Fix 1.21 version checkers pufferfish-gg/Pufferfish@68f859c Fix lambda/tick guard patch pufferfish-gg/Pufferfish@eaa18d5 Updated Upstream (Paper) pufferfish-gg/Pufferfish@1d72eea Updated Upstream (Paper) pufferfish-gg/Pufferfish@1d3c743 Update pufferfish version detector stuff pufferfish-gg/Pufferfish@5e30963 Fix crash bug pufferfish-gg/Pufferfish@12571eb Use mojmapped paperclip jar instead (CI only) pufferfish-gg/Pufferfish@4d16ae0 Drop a patch - moonrise includes it pufferfish-gg/Pufferfish@52c2d05 Revert "Drop a patch - moonrise includes it" pufferfish-gg/Pufferfish@bdb56f1 Fix entity interactions with fluids pufferfish-gg/Pufferfish@469e5c1 Updated Upstream (Paper) pufferfish-gg/Pufferfish@d75961f 1.21.1 Update (Updated Upstream (Paper))
41 lines
1.7 KiB
Diff
41 lines
1.7 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
|
Date: Sat, 26 Jun 2021 22:08:57 -0500
|
|
Subject: [PATCH] Add back player spawned endermite API
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Endermite.java b/src/main/java/org/bukkit/entity/Endermite.java
|
|
index 138d2530de2410f4a9424dabd3e5ce0cd1c1dcd2..10a8d64ad2da0be2c14f34c3e7d1957c6f2883d1 100644
|
|
--- a/src/main/java/org/bukkit/entity/Endermite.java
|
|
+++ b/src/main/java/org/bukkit/entity/Endermite.java
|
|
@@ -3,25 +3,21 @@ package org.bukkit.entity;
|
|
public interface Endermite extends Monster {
|
|
|
|
/**
|
|
- * Gets whether this Endermite was spawned by a player.
|
|
+ * Gets whether this Endermite was spawned by a player from throwing an ender pearl
|
|
*
|
|
- * An Endermite spawned by a player will be attacked by nearby Enderman.
|
|
+ * An Endermite spawned by a player might be attacked by nearby Enderman depending on purpur.yml settings
|
|
*
|
|
* @return player spawned status
|
|
- * @deprecated this functionality no longer exists
|
|
*/
|
|
- @Deprecated
|
|
boolean isPlayerSpawned();
|
|
|
|
/**
|
|
- * Sets whether this Endermite was spawned by a player.
|
|
+ * Sets whether this Endermite was spawned by a player from throwing an ender pearl
|
|
*
|
|
- * An Endermite spawned by a player will be attacked by nearby Enderman.
|
|
+ * An Endermite spawned by a player might be attacked by nearby Enderman depending on purpur.yml settings
|
|
*
|
|
* @param playerSpawned player spawned status
|
|
- * @deprecated this functionality no longer exists
|
|
*/
|
|
- @Deprecated
|
|
void setPlayerSpawned(boolean playerSpawned);
|
|
// Paper start
|
|
/**
|