diff --git a/patches/api/0376-ItemStack-damage-API.patch b/patches/api/0376-ItemStack-damage-API.patch index 1a38447711d6..44a3071f1de7 100644 --- a/patches/api/0376-ItemStack-damage-API.patch +++ b/patches/api/0376-ItemStack-damage-API.patch @@ -8,10 +8,10 @@ to simulate damage done to an itemstack and all the logic associated with damaging them diff --git a/src/main/java/org/bukkit/entity/LivingEntity.java b/src/main/java/org/bukkit/entity/LivingEntity.java -index 8dd993ce32686431e1c759d446a3620cb52f7ec1..0d665a31152c9a667576f2e9d91ffec5304ce944 100644 +index 8dd993ce32686431e1c759d446a3620cb52f7ec1..63b646cb40368f4d4dc8d07b272de828960150f4 100644 --- a/src/main/java/org/bukkit/entity/LivingEntity.java +++ b/src/main/java/org/bukkit/entity/LivingEntity.java -@@ -1365,4 +1365,53 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource +@@ -1365,4 +1365,54 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource */ void knockback(double strength, double directionX, double directionZ); // Paper end - knockback API @@ -41,10 +41,10 @@ index 8dd993ce32686431e1c759d446a3620cb52f7ec1..0d665a31152c9a667576f2e9d91ffec5 + /** + * Damages the itemstack in this slot by the specified amount. + *
-+ * This runs all logic associated with damaging an itemstack like -+ * gamemode and enchantment checks, events, stat changes, and advancement -+ * triggers. ++ * This runs most logic associated with damaging an itemstack like ++ * gamemode, events, stat changes, and advancement triggers. + * ++ * @apiNote This method does not run enchantment logic. + * @param stack the itemstack to damage + * @param amount the amount of damage to do + * @return the damaged itemstack, or an empty stack if it broke. There are no @@ -55,10 +55,11 @@ index 8dd993ce32686431e1c759d446a3620cb52f7ec1..0d665a31152c9a667576f2e9d91ffec5 + /** + * Damages the itemstack in this slot by the specified amount. + *
-+ * This runs all logic associated with damaging an itemstack like
-+ * gamemode and enchantment checks, events, stat changes, advancement
++ * This runs most logic associated with damaging an itemstack like
++ * gamemode, events, stat changes, advancement
+ * triggers, and notifying clients to play break animations.
+ *
++ * @apiNote This method does not run enchantment logic.
+ * @param slot the slot of the stack to damage
+ * @param amount the amount of damage to do
+ */
diff --git a/patches/api/0388-Add-Entity-Body-Yaw-API.patch b/patches/api/0388-Add-Entity-Body-Yaw-API.patch
index c0186ee4f126..1c7b32a7b71f 100644
--- a/patches/api/0388-Add-Entity-Body-Yaw-API.patch
+++ b/patches/api/0388-Add-Entity-Body-Yaw-API.patch
@@ -53,10 +53,10 @@ index 6dcaf7e9bc9afb708ab569e82f27c87833450ff1..a76e537c9b3b9519cd46894c90b750f0
// Paper start - Collision API
diff --git a/src/main/java/org/bukkit/entity/LivingEntity.java b/src/main/java/org/bukkit/entity/LivingEntity.java
-index a2c1cc7462564411db71a1e00222ef55633b49c8..4974540e8277011e4eb00f691a5f6f96d3dde20c 100644
+index b7b972bef5fa2185d2c3ee72951b3104ff3b6495..760a5247b6f920852d33cd4e441cfb6c6f63dad1 100644
--- a/src/main/java/org/bukkit/entity/LivingEntity.java
+++ b/src/main/java/org/bukkit/entity/LivingEntity.java
-@@ -1414,4 +1414,22 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
+@@ -1415,4 +1415,22 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
*/
void damageItemStack(org.bukkit.inventory.@NotNull EquipmentSlot slot, int amount);
// Paper end - ItemStack damage API
diff --git a/patches/api/0470-Fix-equipment-slot-and-group-API.patch b/patches/api/0470-Fix-equipment-slot-and-group-API.patch
index 0601373657f9..2114a868b871 100644
--- a/patches/api/0470-Fix-equipment-slot-and-group-API.patch
+++ b/patches/api/0470-Fix-equipment-slot-and-group-API.patch
@@ -10,7 +10,7 @@ Adds the following:
Co-authored-by: SoSeDiK