aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0201-Improve-Arrow-API.patch
diff options
context:
space:
mode:
authormaxcom1 <[email protected]>2024-03-23 22:26:17 +0100
committerGitHub <[email protected]>2024-03-23 17:26:17 -0400
commitb6001403e9703cadaa6e8c8558e732b91c3c6d6e (patch)
treea8c57bbc334a8ad48d4ad2b43db335667b142bee /patches/api/0201-Improve-Arrow-API.patch
parent9ec7dfcbc41c6e625de0050b6997160a75df9f44 (diff)
downloadPaper-b6001403e9703cadaa6e8c8558e732b91c3c6d6e.tar.gz
Paper-b6001403e9703cadaa6e8c8558e732b91c3c6d6e.zip
Add methods to change entity physics (#10334)
Diffstat (limited to 'patches/api/0201-Improve-Arrow-API.patch')
-rw-r--r--patches/api/0201-Improve-Arrow-API.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/patches/api/0201-Improve-Arrow-API.patch b/patches/api/0201-Improve-Arrow-API.patch
deleted file mode 100644
index 1c70418e98..0000000000
--- a/patches/api/0201-Improve-Arrow-API.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Nesaak <[email protected]>
-Date: Fri, 22 May 2020 13:35:21 -0400
-Subject: [PATCH] Improve Arrow API
-
-Add method to get the arrow's itemstack and a method
-to set the arrow's "noclip" status
-
-Co-authored-by: Jake Potrebic <[email protected]>
-
-diff --git a/src/main/java/org/bukkit/entity/AbstractArrow.java b/src/main/java/org/bukkit/entity/AbstractArrow.java
-index e8e56e89e32d84af0639fe2e9b0eeabd747b6007..225a24898acd25038ea2a8448f9f3b57643d3026 100644
---- a/src/main/java/org/bukkit/entity/AbstractArrow.java
-+++ b/src/main/java/org/bukkit/entity/AbstractArrow.java
-@@ -143,6 +143,28 @@ public interface AbstractArrow extends Projectile {
- }
-
- // Paper start
-+ /**
-+ * Gets the ItemStack for this arrow.
-+ *
-+ * @return The ItemStack, as if a player picked up the arrow
-+ */
-+ @NotNull
-+ org.bukkit.inventory.ItemStack getItemStack();
-+
-+ /**
-+ * Sets this arrow to "noclip" status.
-+ *
-+ * @param noPhysics true to set "noclip"
-+ */
-+ void setNoPhysics(boolean noPhysics);
-+
-+ /**
-+ * Gets if this arrow has "noclip".
-+ *
-+ * @return true if noclip is active
-+ */
-+ boolean hasNoPhysics();
-+
- /**
- * Gets the {@link PickupRule} for this arrow.
- *