From a8147bb171771c8bb581bc2361e14376778e461c Mon Sep 17 00:00:00 2001 From: Helvetica Volubi Date: Sat, 26 Jul 2025 13:41:28 +0800 Subject: [PATCH] Fix quick craft --- .../features/0011-Paper-Fix-quick-craft.patch | 25 +++++++++++++++++++ ...rpur-Barrels-and-enderchests-6-rows.patch} | 0 ...tch => 0013-Spawn-invulnerable-time.patch} | 0 ...014-Old-Explosion-Damage-Calculator.patch} | 0 ...> 0015-Old-replaceable-by-mushrooms.patch} | 0 ...ch => 0016-Old-zombie-reinforcement.patch} | 0 ...-support.patch => 0017-I18n-support.patch} | 0 7 files changed, 25 insertions(+) create mode 100644 lophine-server/minecraft-patches/features/0011-Paper-Fix-quick-craft.patch rename lophine-server/minecraft-patches/features/{0011-Purpur-Barrels-and-enderchests-6-rows.patch => 0012-Purpur-Barrels-and-enderchests-6-rows.patch} (100%) rename lophine-server/minecraft-patches/features/{0012-Spawn-invulnerable-time.patch => 0013-Spawn-invulnerable-time.patch} (100%) rename lophine-server/minecraft-patches/features/{0013-Old-Explosion-Damage-Calculator.patch => 0014-Old-Explosion-Damage-Calculator.patch} (100%) rename lophine-server/minecraft-patches/features/{0014-Old-replaceable-by-mushrooms.patch => 0015-Old-replaceable-by-mushrooms.patch} (100%) rename lophine-server/minecraft-patches/features/{0015-Old-zombie-reinforcement.patch => 0016-Old-zombie-reinforcement.patch} (100%) rename lophine-server/minecraft-patches/features/{0016-I18n-support.patch => 0017-I18n-support.patch} (100%) diff --git a/lophine-server/minecraft-patches/features/0011-Paper-Fix-quick-craft.patch b/lophine-server/minecraft-patches/features/0011-Paper-Fix-quick-craft.patch new file mode 100644 index 0000000..2ba9235 --- /dev/null +++ b/lophine-server/minecraft-patches/features/0011-Paper-Fix-quick-craft.patch @@ -0,0 +1,25 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Helvetica Volubi +Date: Sat, 26 Jul 2025 13:40:28 +0800 +Subject: [PATCH] Paper: Fix quick craft + +Co-authored by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> +As a part of : Paper (https://github.com/PaperMC/Paper/pull/11831/files#diff-3991edc9191addaab9f9701589f8fb4a05001c6f3c9ce1f51d22001f8de805ca) +Licensed under: MIT (https://github.com/PaperMC/Paper/blob/main/licenses/MIT.md) + +diff --git a/net/minecraft/world/entity/LivingEntity.java b/net/minecraft/world/entity/LivingEntity.java +index 5369a6597e48ed9f0d8f7f0b9685ce4950df4fe5..919628d93add71d9b30cae29587a0049cce6973d 100644 +--- a/net/minecraft/world/entity/LivingEntity.java ++++ b/net/minecraft/world/entity/LivingEntity.java +@@ -4012,11 +4012,6 @@ public abstract class LivingEntity extends Entity implements Attackable, Waypoin + return null; + } else { + double d = this.getEyeY() - 0.3F; +- // Paper start +- final ItemStack tmp = stack.copy(); +- stack.setCount(0); +- stack = tmp; +- // Paper end + ItemEntity itemEntity = new ItemEntity(this.level(), this.getX(), d, this.getZ(), stack); + itemEntity.setPickUpDelay(40); + if (includeThrower) { diff --git a/lophine-server/minecraft-patches/features/0011-Purpur-Barrels-and-enderchests-6-rows.patch b/lophine-server/minecraft-patches/features/0012-Purpur-Barrels-and-enderchests-6-rows.patch similarity index 100% rename from lophine-server/minecraft-patches/features/0011-Purpur-Barrels-and-enderchests-6-rows.patch rename to lophine-server/minecraft-patches/features/0012-Purpur-Barrels-and-enderchests-6-rows.patch diff --git a/lophine-server/minecraft-patches/features/0012-Spawn-invulnerable-time.patch b/lophine-server/minecraft-patches/features/0013-Spawn-invulnerable-time.patch similarity index 100% rename from lophine-server/minecraft-patches/features/0012-Spawn-invulnerable-time.patch rename to lophine-server/minecraft-patches/features/0013-Spawn-invulnerable-time.patch diff --git a/lophine-server/minecraft-patches/features/0013-Old-Explosion-Damage-Calculator.patch b/lophine-server/minecraft-patches/features/0014-Old-Explosion-Damage-Calculator.patch similarity index 100% rename from lophine-server/minecraft-patches/features/0013-Old-Explosion-Damage-Calculator.patch rename to lophine-server/minecraft-patches/features/0014-Old-Explosion-Damage-Calculator.patch diff --git a/lophine-server/minecraft-patches/features/0014-Old-replaceable-by-mushrooms.patch b/lophine-server/minecraft-patches/features/0015-Old-replaceable-by-mushrooms.patch similarity index 100% rename from lophine-server/minecraft-patches/features/0014-Old-replaceable-by-mushrooms.patch rename to lophine-server/minecraft-patches/features/0015-Old-replaceable-by-mushrooms.patch diff --git a/lophine-server/minecraft-patches/features/0015-Old-zombie-reinforcement.patch b/lophine-server/minecraft-patches/features/0016-Old-zombie-reinforcement.patch similarity index 100% rename from lophine-server/minecraft-patches/features/0015-Old-zombie-reinforcement.patch rename to lophine-server/minecraft-patches/features/0016-Old-zombie-reinforcement.patch diff --git a/lophine-server/minecraft-patches/features/0016-I18n-support.patch b/lophine-server/minecraft-patches/features/0017-I18n-support.patch similarity index 100% rename from lophine-server/minecraft-patches/features/0016-I18n-support.patch rename to lophine-server/minecraft-patches/features/0017-I18n-support.patch